EVP: Enforce that EVP_PKEY_set_alias_type() only works with legacy keys
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Sep 2020 18:46:08 +0000 (20:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 25 Sep 2020 09:07:42 +0000 (11:07 +0200)
commit14711fffbf2726f94d6a05d8f9cbae7fe7a4bc09
tree1553192f5f2653412d3b6601db8fded306d2a15d
parent294e380220c5ab83c05f9c501120a6296f88abdc
EVP: Enforce that EVP_PKEY_set_alias_type() only works with legacy keys

This also deprecates the function, as it is not necessary any more,
and should fall out of use.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12920)
CHANGES.md
crypto/evp/p_lib.c
doc/man3/EVP_PKEY_set1_RSA.pod
include/openssl/evp.h
util/libcrypto.num