[openssl-dev] Upgrading OpenSSL

Leon Brits leonb at parsec.co.za
Tue Aug 29 08:02:23 UTC 2017


Hi all,

I need to correct my WTF comment - RTFM !!!! RSA_size return bytes. Sorry

LJB
 
> evp = PEM_read_PrivateKey(fp, NULL, NULL, NULL); #ifdef TEST RSA *rsa =
> EVP_PKEY_get1_RSA(evp); printf("\nRSA modulus: %d\n\n", RSA_size(rsa));
> #endif
> 
> The output is: "RSA modulus: 512" (WTF!)



More information about the openssl-dev mailing list