Restore the legacy implementation of PEM_read_bio_DHparams()
authorRichard Levitte <levitte@openssl.org>
Wed, 28 Oct 2020 16:35:48 +0000 (17:35 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Nov 2020 10:42:06 +0000 (11:42 +0100)
commit35426b2f9ca961c783ad882f1f2ede0d6fe2c232
treee61e309f50a009911bfa17433f3e2e0b8290144f
parenta5cc6616454701bfcdd1694e109389c764f6f31c
Restore the legacy implementation of PEM_read_bio_DHparams()

It was an overstep to have it got through OSSL_STORE just to extract a
DH pointer from the resulting EVP_PKEY.

This partially reverts 1427d33cee59d6fe54efe1b5a322a1d7c8c03c20

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13248)
crypto/pem/pem_all.c
crypto/pem/pem_pkey.c