]> git.ipfire.org Git - thirdparty/openssl.git/commit - fuzz/server.c
Fix 'no-deprecated'
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Dec 2020 12:17:33 +0000 (13:17 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Dec 2020 16:02:12 +0000 (17:02 +0100)
commit6ed4022cd1e4b066ddc6131ca659d8a260944a76
treeeb1d3a9b53ce8f9f2821a6ce0f2b5b0916dc07db
parenta5f2782ceca7af2480c86562e8952b2980251e4e
Fix 'no-deprecated'

Some of the handling of no-deprecated stuff wasn't quite complete, or
even plain wrong.

This restores i2d_PublicKey() to be able to handle EVP_PKEYs with
legacy internal keys.

This also refactors the DSA key tests in test/evp_extra_test.c to use
EVP functionality entirely.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13706)
crypto/asn1/i2d_evp.c
fuzz/server.c
test/evp_extra_test.c