0.9.6 function parameter is int fn(void), so fixed cast.
authorScott Cantor <cantor.2@osu.edu>
Mon, 20 Jun 2005 23:46:50 +0000 (23:46 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 20 Jun 2005 23:46:50 +0000 (23:46 +0000)
shib/ShibHTTPHook.cpp

index a978831..f515957 100644 (file)
@@ -136,7 +136,7 @@ static bool ssl_ctx_callback(void* ssl_ctx, void* userptr)
         // that's handed to the callback.
         SSL_CTX_set_cert_verify_callback(
             reinterpret_cast<SSL_CTX*>(ssl_ctx),
-            reinterpret_cast<int (*)(X509_STORE_CTX*,void*)>(verify_callback),
+            reinterpret_cast<int (*)()>(verify_callback),
             NULL
             );
         SSL_CTX_set_verify_depth(reinterpret_cast<SSL_CTX*>(ssl_ctx),reinterpret_cast<int>(userptr));