Re: 003_ftp.patch, cert ref count

2014-04-12 Thread Jérémie Courrèges-Anglas
Mike Small writes: > Was looking at > http://ftp.openbsd.org/pub/OpenBSD/patches/5.5/common/003_ftp.patch.sig > this last chunk... > > + if (ssl_verify) { > + X509 *cert; > + > + cert = SSL_get_peer_certificate(ssl); > +

003_ftp.patch, cert ref count

2014-04-11 Thread Mike Small
Was looking at http://ftp.openbsd.org/pub/OpenBSD/patches/5.5/common/003_ftp.patch.sig this last chunk... + if (ssl_verify) { + X509 *cert; + + cert = SSL_get_peer_certificate(ssl); + if (cert == NULL) { +