commit e714d5362ad7c69d227784fce64ddcc7882bc0b5
parent ceaffe2ee1f17abc9450f3dcdf1d8729348a27ef
Author: ukai <ukai>
Date: Sat, 18 Jan 2003 18:40:32 +0000
[w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7
* istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free()
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-19 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7
+ * istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free()
+
2003-01-18 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03652] Re: Debian bug #176981
diff --git a/istream.c b/istream.c
@@ -446,7 +446,7 @@ ssl_check_cert_ident(X509 * x, char *hostname)
}
}
method = X509V3_EXT_get(ex);
- method->ext_free(alt);
+ sk_GENERAL_NAME_free(alt);
if (i < n) /* Found a match */
match_ident = TRUE;
else if (seen_dnsname)