Need Replacement for Deprecated function.

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

Another DH problem:  I have a PEM for which DH_bits() says 512. 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...


More information about the openssl-users mailing list