libcrypto: Eliminate as much use of EVP_PKEY_size() as possible
authorRichard Levitte <levitte@openssl.org>
Thu, 9 Jan 2020 20:38:47 +0000 (21:38 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 19 Jan 2020 01:47:46 +0000 (02:47 +0100)
commit9767a3dca781563a3dcc20094610d8ed0cb6061e
treef15daf496eaf7ecc28a7e61d5e56f74a7329504d
parent0a054d2a0b1ccab07587185245455093454fe353
libcrypto: Eliminate as much use of EVP_PKEY_size() as possible

Some uses were going against documented recommendations.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10798)
crypto/asn1/a_sign.c
crypto/rsa/rsa_ameth.c
crypto/rsa/rsa_pmeth.c