forgotten return value; refs #33

This commit is contained in:
Marc Wäckerlin
2014-09-15 06:54:22 +00:00
parent bb2fd695ee
commit 8b704279b0

View File

@@ -852,6 +852,7 @@ namespace openssl {
// _x509 = d2i_X509(0, &d2, len); // _x509 = d2i_X509(0, &d2, len);
// OPENSSL_free(d); // OPENSSL_free(d);
if (!_x509) throw x509_copy_failed(); if (!_x509) throw x509_copy_failed();
return *this;
} }
//! Get a copy of the OpenSSL low level certificate //! Get a copy of the OpenSSL low level certificate
/*! @note you are responsible to free the certificate */ /*! @note you are responsible to free the certificate */