Need Replacement for Deprecated function.

Jeremy Harris jgh at wizmail.org
Wed Dec 1 19:07:51 UTC 2021


Another DH problem:  I have a PEM for which DH_bits() says 512.

https://www.openssl.org/docs/man3.0/man3/DH_bits.html has
EVP_PKEY_get_bits() as a see-also, but that returns 4096.

Is it more likely I've mis-loaded the file (via a BIO),
or is EVP_PKEY_get_bits() something different?  It's doc
talks about the key in the pkey, which is suspiciously
far from the DH params...

-- 
Thanks,
   Jeremy


More information about the openssl-users mailing list