Hi
Has anyone seen this error before.
I'm compiling on nt4 with ms visual C++ 5/6

The method that i call:

int X509CTX_verify_callback(int ok, X509_STORE_CTX *ctx)
{;}


The Call:

   SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER|
             SSL_VERIFY_FAIL_IF_NO_PEER_CERT, X509CTX_verify_callback);


The Error:

SSLClient.cpp
G:\Program Files\PhoneCard\SSLClient.cpp(599)
: error C2664: 'SSL_CTX_set_verify'
: cannot convert parameter 3
from 'int (int,struct x509_store_ctx_st *)' to 'int (__cdecl *)(int,struct
x509_store_ctx_st *)'

Thanx
robert

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to