File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -735,7 +735,7 @@ static char *jpake_secret = NULL;
735
735
{
736
736
if (-- argc < 1 ) goto bad ;
737
737
http_proxy_str = * (++ argv );
738
- }
738
+ }
739
739
else if (strcmp (* argv ,"-verify" ) == 0 )
740
740
{
741
741
verify = SSL_VERIFY_PEER ;
@@ -1730,7 +1730,7 @@ SSL_set_tlsext_status_ids(con, ids);
1730
1730
"xmlns='jabber:client' to='%s' version='1.0'>" , servername ?servername :host );
1731
1731
seen = BIO_read (sbio ,mbuf ,BUFSIZZ );
1732
1732
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\"" ) )
1734
1734
{
1735
1735
if (strstr (mbuf , "/stream:features>" ))
1736
1736
goto shut ;
You can’t perform that action at this time.
0 commit comments