[openssl-users] Openssl 1.1 RSA_get0_key() documentation

Ken Goldman kgoldman at us.ibm.com
Thu Jul 27 22:22:41 UTC 2017


The __current__ code for this function returns values if the **BIGNUM is 
not NULL.  Thus, it appears safe to pass in NULL for values not needed.

However, the documentation is silent on this behavior.

If this behavior is guaranteed, it would be nice if it was documented.

If not, a comment in the code to than effect would be useful.



More information about the openssl-users mailing list