> > > >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? > X509_digest().
Hmmm, that's quiet different then how fetchmail does it. Got it working: thank you all! 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 [email protected] Automated List Manager [EMAIL PROTECTED]
