From 36cadfb0cedaeb30afeadb204b21e19301bb9fa9 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sat, 18 Jan 2003 18:40:32 +0000 Subject: [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 --- istream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'istream.c') 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) -- cgit v1.2.3