i2b_PVK_bio: don't set PEM_R_BIO_WRITE_FAILURE in case of success
authorChristian Hohnstaedt <christian@hohnstaedt.de>
Sun, 22 Mar 2020 08:41:30 +0000 (09:41 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 27 Apr 2020 15:43:19 +0000 (17:43 +0200)
commit80b94a5adb461f94629d36db351a051b0a890856
treec70b5ef1e38c7a2a1900e06f191c0eddc8333c2e
parent7ffce852372799b6cd856b711db21332f0048314
i2b_PVK_bio: don't set PEM_R_BIO_WRITE_FAILURE in case of success

but in case of an error

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11380)
crypto/pem/pvkfmt.c