Author: schultz Date: Tue Jan 22 18:29:24 2013 New Revision: 1437082 URL: http://svn.apache.org/viewvc?rev=1437082&view=rev Log: Back-ported r1437081 to add clearOptions function to allow access to OpenSSL's SSL_CTX_clear_options function.
Modified: tomcat/native/branches/1.1.x/ (props changed) tomcat/native/branches/1.1.x/native/src/sslcontext.c Propchange: tomcat/native/branches/1.1.x/ ------------------------------------------------------------------------------ Merged /tomcat/native/trunk:r1437081 Modified: tomcat/native/branches/1.1.x/native/src/sslcontext.c URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslcontext.c?rev=1437082&r1=1437081&r2=1437082&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/native/src/sslcontext.c (original) +++ tomcat/native/branches/1.1.x/native/src/sslcontext.c Tue Jan 22 18:29:24 2013 @@ -240,6 +240,16 @@ TCN_IMPLEMENT_CALL(void, SSLContext, set SSL_CTX_set_options(c->ctx, opt); } +TCN_IMPLEMENT_CALL(void, SSLContext, clearOptions)(TCN_STDARGS, jlong ctx, + jint opt) +{ + tcn_ssl_ctxt_t *c = J2P(ctx, tcn_ssl_ctxt_t *); + + UNREFERENCED_STDARGS; + TCN_ASSERT(ctx != 0); + SSL_CTX_clear_options(c->ctx, opt); +} + TCN_IMPLEMENT_CALL(void, SSLContext, setQuietShutdown)(TCN_STDARGS, jlong ctx, jboolean mode) { @@ -693,6 +703,14 @@ TCN_IMPLEMENT_CALL(void, SSLContext, set UNREFERENCED(opt); } +TCN_IMPLEMENT_CALL(void, SSLContext, clearOptions)(TCN_STDARGS, jlong ctx, + jint opt) +{ + UNREFERENCED_STDARGS; + UNREFERENCED(ctx); + UNREFERENCED(opt); +} + TCN_IMPLEMENT_CALL(void, SSLContext, setQuietShutdown)(TCN_STDARGS, jlong ctx, jboolean mode) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org