Blame SOURCES/openssl-1.0.0d-xmpp-starttls.patch

a5ef24
diff -ru openssl-1.0.0d.old/apps/s_client.c openssl-1.0.0d/apps/s_client.c
a5ef24
--- openssl-1.0.0d.old/apps/s_client.c	2011-07-17 21:05:19.934181169 +0200
a5ef24
+++ openssl-1.0.0d/apps/s_client.c	2011-07-17 21:11:42.747824990 +0200
a5ef24
@@ -1186,7 +1186,7 @@
a5ef24
 		    "xmlns='jabber:client' to='%s' version='1.0'>", host);
a5ef24
 		seen = BIO_read(sbio,mbuf,BUFSIZZ);
a5ef24
 		mbuf[seen] = 0;
a5ef24
-		while (!strstr(mbuf, "
a5ef24
+		while (!strcasestr(mbuf, "
a5ef24
 			{
a5ef24
 			if (strstr(mbuf, "/stream:features>"))
a5ef24
 				goto shut;