src/LLC/x509_cert.cpp
void X509Cert::free_cert()
    {
        if(px509)
            X509_free(px509);

        /* No need to call RSA_free if it is assigned to EVP_PKEY, it will free it automatically. */
        if(pkey)
            EVP_PKEY_free(pkey);
    }
/*  Frees memory associated with the certificate and key. */
Frees memory associated with the certificate and key.
Frees memory associated with the certificate and key .
void X509Cert::free_cert()
    {
        if(px509)
            X509_free(px509);
        if(pkey)
            EVP_PKEY_free(pkey);
    }
void X509Cert :: free_cert ( ) { if ( px509 ) X509_free ( px509 ) ; if ( pkey ) EVP_PKEY_free ( pkey ) ; }
Frees memory associated with the certificate and key.
Frees memory associated with the certificate and key .
/* No need to call RSA_free if it is assigned to EVP_PKEY, it will free it automatically. */