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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>	if (ptr!= NULL) free(ptr);
  
That shouldn’t be necessary for OpenSSL.  If you find places where it is, please open an issue.
  
➢ BTW, "can handle" should explicitly say what happens.  Perhaps use the C 
    library text, which says:
    
    	If ptr is NULL, no operation is performed.
  
That is the wording we use.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux