Hi,

Thanks for replying.

> >What would be the way to obtain the fingerprint of the peer to which my
> >program connects? I looked in the sources of fetchmail but there a
> >call-back is used and I would like to implement it without a callback
> >function.
> X509 *  SSL_get_peer_certificate(const SSL *s);
> or
> STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s);

Ok, but how to get that fingerprint from there?


Folkert van Heusden

-- 
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to