cURL / Mailing Lists / curl-library / Single Mail

curl-library

calling ENGINE_cleanup in Curl_ossl_cleanup

From: David Byron <dbyron_at_dbyron.com>
Date: Tue, 15 Dec 2009 11:04:36 -0800

This patch makes Curl_ossl_cleanup call ENGINE_cleanup when available.

-DB

Index: configure.ac
===================================================================
RCS file: /cvsroot/curl/curl/configure.ac,v
retrieving revision 1.444
diff -u -r1.444 configure.ac
--- configure.ac 12 Dec 2009 22:39:29 -0000 1.444
+++ configure.ac 15 Dec 2009 18:56:51 -0000
@@ -1397,6 +1397,7 @@
     AC_CHECK_FUNCS( RAND_status \
                     RAND_screen \
                     RAND_egd \
+ ENGINE_cleanup \
                     CRYPTO_cleanup_all_ex_data \
                     SSL_get_shutdown )

Index: lib/ssluse.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/ssluse.c,v
retrieving revision 1.248
diff -u -r1.248 ssluse.c
--- lib/ssluse.c 10 Dec 2009 20:19:56 -0000 1.248
+++ lib/ssluse.c 15 Dec 2009 18:56:53 -0000
@@ -709,7 +709,7 @@
   /* EVP_cleanup() removes all ciphers and digests from the table. */
   EVP_cleanup();

-#ifdef HAVE_ENGINE_cleanup
+#ifdef HAVE_ENGINE_CLEANUP
   ENGINE_cleanup();
 #endif

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-15