In certain cases, no encoding has been set up for the b64 filter. In
authorRichard Levitte <levitte@openssl.org>
Thu, 11 Oct 2001 19:43:45 +0000 (19:43 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 11 Oct 2001 19:43:45 +0000 (19:43 +0000)
commit46ff8e0d0ab42ddbc83a78c87e4fee0e8ab726be
tree8f3db7a8429f37888dfa2e321aaa2d7e1391f1e1
parent3f9077278a778539644b6c60dee73f23e50ddb3f
In certain cases, no encoding has been set up for the b64 filter.  In
such cases, a flush should *not* attempt to finalise the encoding, as
the EVP_ENCODE_CTX structure will only be filled with garbage.  For
the same reason, do the same check when a wpending is performed.
crypto/evp/bio_b64.c