You need to write a function named verify_callback. Look at apps/s_cb.c for an example. > -----Original Message----- > From: Marcus Carey [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 11:35 AM > To: [EMAIL PROTECTED] > Subject: Error calling Verify Callback > > #include <ssl.h> > SSL_CTX_set_verify(ctx,SSL_VERIFY_PEER,verify_callback); > > When I compile my program with the above function I get the following > error: > > > serv.cpp: In function `int main(...)': > serv.cpp:103: `verify_callback' undeclared (first use this function) > serv.cpp:103: (Each undeclared identifier is reported only once > serv.cpp:103: for each function it appears in.) > > > How do I use the SSL_CTX_set_verify in my programs? > > Thanks! > > Marcus ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]