Skip to content

Commit 854eb9c

Browse files
committed
Support xmpp double quote support
This issue was earlier raised in 2010 (see https://bugzilla.redhat.com/show_bug.cgi?id=608239) and 2012 (see RT openssl#2860)
1 parent c10fbd5 commit 854eb9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/s_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ static char *jpake_secret = NULL;
735735
{
736736
if (--argc < 1) goto bad;
737737
http_proxy_str=*(++argv);
738-
}
738+
}
739739
else if (strcmp(*argv,"-verify") == 0)
740740
{
741741
verify=SSL_VERIFY_PEER;
@@ -1730,7 +1730,7 @@ SSL_set_tlsext_status_ids(con, ids);
17301730
"xmlns='jabber:client' to='%s' version='1.0'>", servername?servername:host);
17311731
seen = BIO_read(sbio,mbuf,BUFSIZZ);
17321732
mbuf[seen] = 0;
1733-
while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'"))
1733+
while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'") && !strstr(mbuf, "<starttls xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\""))
17341734
{
17351735
if (strstr(mbuf, "/stream:features>"))
17361736
goto shut;

0 commit comments

Comments
 (0)