openssl/crypto
Richard Levitte a860031621 Make EVP_PKEY_asn1_add0() stricter about its input
It turns out that the strictness that was implemented in
EVP_PKEY_asn1_new() (see Github openssl/openssl#6880) was badly placed
for some usages, and that it's better to do this check only when the
method is getting registered.

Fixes #7758

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7847)
2018-12-07 11:57:04 +01:00
..
aes Following the license change, modify the boilerplates in crypto/aes/ 2018-12-06 14:23:25 +01:00
aria Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
asn1 Make EVP_PKEY_asn1_add0() stricter about its input 2018-12-07 11:57:04 +01:00
async Following the license change, modify the boilerplates in crypto/async/ 2018-12-06 14:25:47 +01:00
bf Following the license change, modify the boilerplates in crypto/bf/ 2018-12-06 14:27:41 +01:00
bio Following the license change, modify the boilerplates in crypto/bio/ 2018-12-06 14:28:52 +01:00
blake2 Following the license change, modify the boilerplates in crypto/blake2/ 2018-12-06 14:30:07 +01:00
bn Following the license change, modify the boilerplates in crypto/bn/ 2018-12-06 14:31:21 +01:00
buffer Following the license change, modify the boilerplates in crypto/buffer/ 2018-12-06 14:32:34 +01:00
camellia Following the license change, modify the boilerplates in crypto/camellia/ 2018-12-06 14:34:55 +01:00
cast Following the license change, modify the boilerplates in crypto/cast/ 2018-12-06 14:36:10 +01:00
chacha Following the license change, modify the boilerplates in crypto/chacha/ 2018-12-06 14:37:22 +01:00
cmac Following the license change, modify the boilerplates in crypto/cmac/ 2018-12-06 14:39:25 +01:00
cms Following the license change, modify the boilerplates in crypto/cms/ 2018-12-06 14:40:53 +01:00
comp Following the license change, modify the boilerplates in crypto/comp/ 2018-12-06 14:42:18 +01:00
conf Following the license change, modify the boilerplates in crypto/conf/ 2018-12-06 14:43:29 +01:00
ct Following the license change, modify the boilerplates in crypto/ct/ 2018-12-06 14:44:27 +01:00
des Following the license change, modify the boilerplates in crypto/des/ 2018-12-06 14:46:14 +01:00
dh Following the license change, modify the boilerplates in crypto/dh/ 2018-12-06 14:47:24 +01:00
dsa Following the license change, modify the boilerplates in crypto/dsa/ 2018-12-06 14:48:43 +01:00
dso Following the license change, modify the boilerplates in crypto/dso/ 2018-12-06 14:50:38 +01:00
ec curve25519.c: improve formula alignment 2018-12-06 19:38:13 +01:00
engine Following the license change, modify the boilerplates in crypto/engine/ 2018-12-06 14:52:53 +01:00
err Following the license change, modify the boilerplates in crypto/err/ 2018-12-06 14:53:53 +01:00
evp Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
gmac Following the license change, modify the boilerplates in crypto/gmac/ 2018-12-06 15:00:48 +01:00
hmac Following the license change, modify the boilerplates in crypto/hmac/ 2018-12-06 15:01:38 +01:00
idea Following the license change, modify the boilerplates in crypto/idea/ 2018-12-06 14:56:39 +01:00
include/internal Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
kdf Following the license change, modify the boilerplates in crypto/kdf/ 2018-12-06 14:58:41 +01:00
kmac Following the license change, modify the boilerplates in crypto/kmac/ 2018-12-06 15:00:00 +01:00
lhash Following the license change, modify the boilerplates in crypto/lhash/ 2018-12-06 15:02:41 +01:00
md2 Following the license change, modify the boilerplates in crypto/mdN/ 2018-12-06 15:04:11 +01:00
md4 Following the license change, modify the boilerplates in crypto/mdN/ 2018-12-06 15:04:11 +01:00
md5 Following the license change, modify the boilerplates in crypto/mdN/ 2018-12-06 15:04:11 +01:00
mdc2 Following the license change, modify the boilerplates in crypto/mdc2/ 2018-12-06 15:04:57 +01:00
modes Following the license change, modify the boilerplates in crypto/modes/ 2018-12-06 15:06:37 +01:00
objects Following the license change, modify the boilerplates in crypto/objects/ 2018-12-06 15:07:30 +01:00
ocsp Following the license change, modify the boilerplates in crypto/ocsp/ 2018-12-06 15:08:20 +01:00
pem Following the license change, modify the boilerplates in crypto/pem/ 2018-12-06 15:09:09 +01:00
perlasm Following the license change, modify the boilerplates in crypto/perlasm/ 2018-12-06 15:10:05 +01:00
pkcs7 Following the license change, modify the boilerplates in crypto/pkcs7/ 2018-12-06 15:12:24 +01:00
pkcs12 Following the license change, modify the boilerplates in crypto/pkcs12/ 2018-12-06 15:11:42 +01:00
poly1305 Following the license change, modify the boilerplates in crypto/poly1305/ 2018-12-06 15:13:16 +01:00
rand Following the license change, modify the boilerplates in crypto/rand/ 2018-12-06 15:14:05 +01:00
rc2 Following the license change, modify the boilerplates in crypto/rcN/ 2018-12-06 15:14:57 +01:00
rc4 Following the license change, modify the boilerplates in crypto/rcN/ 2018-12-06 15:14:57 +01:00
rc5 Following the license change, modify the boilerplates in crypto/rcN/ 2018-12-06 15:14:57 +01:00
ripemd Following the license change, modify the boilerplates in crypto/ripemd/ 2018-12-06 15:15:42 +01:00
rsa Following the license change, modify the boilerplates in crypto/rsa/ 2018-12-06 15:20:59 +01:00
seed Following the license change, modify the boilerplates in crypto/seed/ 2018-12-06 15:22:15 +01:00
sha Following the license change, modify the boilerplates in crypto/sha/ 2018-12-06 15:23:03 +01:00
siphash Following the license change, modify the boilerplates in crypto/siphash/ 2018-12-06 15:24:02 +01:00
sm2 Following the license change, modify the boilerplates in crypto/smN/ 2018-12-06 15:24:52 +01:00
sm3 Following the license change, modify the boilerplates in crypto/smN/ 2018-12-06 15:24:52 +01:00
sm4 Following the license change, modify the boilerplates in crypto/smN/ 2018-12-06 15:24:52 +01:00
srp Following the license change, modify the boilerplates in crypto/srp/ 2018-12-06 15:25:51 +01:00
stack Following the license change, modify the boilerplates in crypto/stack/ 2018-12-06 15:26:59 +01:00
store Following the license change, modify the boilerplates in crypto/store/ 2018-12-06 15:27:43 +01:00
ts Following the license change, modify the boilerplates in crypto/ts/ 2018-12-06 15:28:35 +01:00
txt_db Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ui Following the license change, modify the boilerplates in crypto/ui/ 2018-12-06 15:31:37 +01:00
whrlpool Following the license change, modify the boilerplates in crypto/whrlpool/ 2018-12-06 15:29:22 +01:00
x509 Following the license change, modify the boilerplates in crypto/x509/ 2018-12-06 15:30:09 +01:00
x509v3 Following the license change, modify the boilerplates in crypto/x509v3/ 2018-12-06 15:30:52 +01:00
alphacpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
arm64cpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
arm_arch.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
armcap.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
armv4cpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
build.info KMAC implementation using EVP_MAC 2018-11-14 07:01:09 +10:00
c64xpluscpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
cpt_err.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
cryptlib.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ctype.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
cversion.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
dllmain.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ebcdic.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ex_data.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
getenv.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ia64cpuid.S Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
init.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_nyi.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_unix.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_vms.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_win32.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_win.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
LPdir_wince.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
mem_clr.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
mem_dbg.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
mem_sec.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
mem.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
mips_arch.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_dir.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_fips.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_fopen.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_init.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_str.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
o_time.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
pariscid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ppc_arch.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ppccap.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
ppccpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
s390x_arch.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
s390xcap.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
s390xcpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
sparc_arch.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
sparccpuid.S Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
sparcv9cap.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
threads_none.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
threads_pthread.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
threads_win.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
uid.c Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
vms_rms.h Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
x86_64cpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00
x86cpuid.pl Following the license change, modify the boilerplates in crypto/ 2018-12-06 15:32:17 +01:00