Author: rjung
Date: Mon Jan 4 18:09:04 2010
New Revision: 895731
URL: http://svn.apache.org/viewvc?rev=895731&view=rev
Log:
Addition to r890720: 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.
Modified:
tomcat/native/trunk/native/src/sslutils.c
Modified: tomcat/native/trunk/native/src/sslutils.c
URL:
http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/sslutils.c?rev=895731&r1=895730&r2=895731&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/sslutils.c (original)
+++ tomcat/native/trunk/native/src/sslutils.c Mon Jan 4 18:09:04 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: [email protected]
For additional commands, e-mail: [email protected]