Allow B64_EOF to follow a base64 padding character. This restores previous
authorjsing <jsing@openbsd.org>
Wed, 6 Aug 2014 16:01:44 +0000 (16:01 +0000)
committerjsing <jsing@openbsd.org>
Wed, 6 Aug 2014 16:01:44 +0000 (16:01 +0000)
commit436bca0b9f78e590823fb4bab1104516f6e4604d
tree550b3d06886b6dc1d159b1a870578d2af6930df5
parentf14aac2f8532b784416778820d91653f2485811f
Allow B64_EOF to follow a base64 padding character. This restores previous
behaviour that allows a PEM block to be fed through the base64 decoder.

Reported by Dmitry Eremin-Solenikov on tech@

ok deraadt@ tedu@
lib/libcrypto/evp/encode.c
lib/libssl/src/crypto/evp/encode.c