In cases where we ask PEM_def_callback for minimum 0 length, accept 0 length
authorRichard Levitte <levitte@openssl.org>
Fri, 4 May 2018 12:19:44 +0000 (14:19 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 12 May 2018 08:19:51 +0000 (10:19 +0200)
commitc82c3462267afdbbaa53e11da0508ce4e03c02b3
tree68fe4c26a3262a1bb641e9ac74dd6c43eb68f629
parent34e4a964afacb48414e37a5b205ce9a349259e6b
In cases where we ask PEM_def_callback for minimum 0 length, accept 0 length

Fixes #4716

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6173)
CHANGES
crypto/pem/pem_lib.c
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c
crypto/pem/pvkfmt.c