Le 02/11/2015 18:11, Emmanuel Bourg a écrit :

>   src/ssl.c: In function 'Java_org_apache_tomcat_jni_SSL_setVerify':
>   src/ssl.c:1557:16: error: 'ctx' undeclared (first use in this function)
>        TCN_ASSERT(ctx != 0);

I applied this patch to fix the error, is this correct?

--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -1554,7 +1554,7 @@
     verify = SSL_VERIFY_NONE;

     UNREFERENCED(o);
-    TCN_ASSERT(ctx != 0);
+    TCN_ASSERT(c->ctx != 0);
     c->verify_mode = level;

     if (c->verify_mode == SSL_CVERIFY_UNSET)


Emmanuel Bourg


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

Reply via email to