aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-18 18:40:32 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-18 18:40:32 +0000
commit36cadfb0cedaeb30afeadb204b21e19301bb9fa9 (patch)
treecb3f6d245681c6e93ccfe2584157383f3bf11c93
parentfix indent (diff)
downloadw3m-36cadfb0cedaeb30afeadb204b21e19301bb9fa9.tar.gz
w3m-36cadfb0cedaeb30afeadb204b21e19301bb9fa9.zip
[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>
-rw-r--r--ChangeLog7
-rw-r--r--istream.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e5acdaf..cea6649 100644
--- 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
@@ -6592,4 +6597,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.689 2003/01/17 17:29:58 ukai Exp $
+$Id: ChangeLog,v 1.690 2003/01/18 18:40:32 ukai Exp $
diff --git a/istream.c b/istream.c
index b5e8c8d..979b9c6 100644
--- a/istream.c
+++ b/istream.c
@@ -1,4 +1,4 @@
-/* $Id: istream.c,v 1.18 2003/01/10 17:06:23 ukai Exp $ */
+/* $Id: istream.c,v 1.19 2003/01/18 18:40:32 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include "istream.h"
@@ -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)