Fix memory leak in i2b_PVK in error handling.
authorbcook <bcook@openbsd.org>
Sun, 5 Aug 2018 11:19:25 +0000 (11:19 +0000)
committerbcook <bcook@openbsd.org>
Sun, 5 Aug 2018 11:19:25 +0000 (11:19 +0000)
commit2819ceea818a3723e4852bd9d2f4d4ff3fc9a1cb
tree44a35a1c5bba72422f94bc851febf6c1ab03e19e
parentac71ae59d64e63b69220dcede5c9c108bfa950ef
Fix memory leak in i2b_PVK in error handling.
Simplify parameter checks since this is only called from one place.
Found by Coverity, CID 183502.

ok beck@
lib/libcrypto/pem/pvkfmt.c