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:50 +0000 (17:43 +0200)
commita5ae257ed2d046105cff99d72d2d1335091a3515
tree7e8855cf9c3aec6502d5cb2367b7c80d73724e7b
parent7d66cb360c448361654a8ffff73e790c474ba302
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)

(cherry picked from commit 80b94a5adb461f94629d36db351a051b0a890856)
crypto/pem/pvkfmt.c