httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Crypt::SSLeay win32 fix
Date Wed, 19 Dec 2001 03:36:32 GMT
Crypt::SSLeay crashes with win32 perl 5.6.1, patch below fixes and should
work fine with older perls too..

--- SSLeay.xs~	Wed Oct 31 15:29:59 2001
+++ SSLeay.xs	Tue Dec 18 19:30:08 2001
@@ -371,7 +371,7 @@
 	   str = X509_NAME_oneline(X509_get_subject_name(cert));
 #endif
 	   RETVAL = newSVpv(str, 0);
-	   free(str);
+	   OPENSSL_free(str);
 	OUTPUT:
 	   RETVAL
 
@@ -387,6 +387,6 @@
 	   str = X509_NAME_oneline(X509_get_issuer_name(cert));
 #endif
 	   RETVAL = newSVpv(str, 0);
-	   free(str);
+	   OPENSSL_free(str);
 	OUTPUT:
 	   RETVAL


Mime
View raw message