[openssl-dev] Is X509_free(NULL) ok?

Salz, Rich rsalz at akamai.com
Mon Jan 1 16:25:48 UTC 2018


Yes you can do so.  It is documented in most of the manpages, and in 1.1.0 and later it should be in all of them.

On 1/1/18, 11:19 AM, "Ray Satiro via openssl-dev" <openssl-dev at openssl.org> wrote:

    I'm trying to figure out whether it's supported to call X509_free(NULL)
    in 1.0.2 and beyond. It's not documented what action occurs when the
    pointer is null. Also generally speaking is it supported to call openssl
    free functions with null pointers?
    
    
    -- 
    openssl-dev mailing list
    To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
    



More information about the openssl-dev mailing list