On Mon, Aug 03, 2009, Josselin Jacquard wrote: > Hi all, i'm using openssl on top of a pgp authentication. > > I've got a null pointer exception with ctx->current_cert (the other testers > of my project don't have this null pointer) and I don't understand why this > pointer is null. > > I've change ctx->current_cert to ctx->cert to make it work. Is it secure ? >
Depends on what you want to use it for. The ctx->cert field is the certificate being verified while ctx->current_cert is the certificate passed to the verify callback indicating an error of some sort occurred. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
