2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
10 SSL_X509Cert::SSL_X509Cert ()
16 SSL_X509Cert::SSL_X509Cert (::X509* ssl_cert)
23 SSL_X509Cert::SSL_X509Cert (const SSL_X509Cert& cert)
29 SSL_X509Cert::~SSL_X509Cert ()
34 SSL_X509Cert& SSL_X509Cert::operator= (::X509* ssl_cert)
36 if (this->ssl_cert_ != 0)
37 ::X509_free (this->ssl_cert_);
41 #if OPENSSL_VERSION_NUMBER >= 0x10100000L
42 ::X509_up_ref(ssl_cert);
44 CRYPTO_add (&(ssl_cert->references),
49 this->ssl_cert_ = ssl_cert;
54 SSL_X509Cert& SSL_X509Cert::operator= (const SSL_X509Cert& ssl_cert)
56 return (*this = &(const_cast<SSL_X509Cert&> (ssl_cert)));
60 ::X509* SSL_X509Cert::operator & ()
62 return this->ssl_cert_;
68 ACE_END_VERSIONED_NAMESPACE_DECL