]> git.ipfire.org Git - thirdparty/openssl.git/commit
Replace misleading error message when loading PEM
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 11 May 2020 15:15:40 +0000 (17:15 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 12 May 2020 17:23:49 +0000 (19:23 +0200)
commitf523ca66612e6712f287aa4b4ed722a5f2d4d960
treeb201f042ea7d0839a26078dd81f0f58afb7d246e
parent914db66d2337d560b042ac710817c69b89045d52
Replace misleading error message when loading PEM

The error message "short header" when the end line
of PEM data cannot be identified is misleading.
Replace it with already existing "bad end line" error.

Fixes #8815

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/11793)
crypto/pem/pem_lib.c