tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r895733 - /tomcat/native/branches/1.1.x/native/src/sslutils.c
Date Mon, 04 Jan 2010 18:10:44 GMT
Author: rjung
Date: Mon Jan  4 18:10:44 2010
New Revision: 895733

URL: http://svn.apache.org/viewvc?rev=895733&view=rev
Log:
Addition to r890719: Axe using STACK directly. The API uses STACK_OF.

r890720 plus this addition is identical to the fix
for BZ48129: Fix build with OpenSSL 1.0.0-beta3,
contributed by Ville Skytt.

Backport of r895731.

Modified:
    tomcat/native/branches/1.1.x/native/src/sslutils.c

Modified: tomcat/native/branches/1.1.x/native/src/sslutils.c
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslutils.c?rev=895733&r1=895732&r2=895733&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/sslutils.c (original)
+++ tomcat/native/branches/1.1.x/native/src/sslutils.c Mon Jan  4 18:10:44 2010
@@ -443,7 +443,7 @@
     /* free a perhaps already configured extra chain */
     extra_certs = SSL_CTX_get_extra_certs(ctx);
     if (extra_certs != NULL) {
-        sk_X509_pop_free((STACK_OF(X509) *)extra_certs, X509_free);
+        sk_X509_pop_free(extra_certs, X509_free);
         SSL_CTX_set_extra_certs(ctx,NULL);
     }
     /* create new extra chain by loading the certs */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message