In certain cases, no encoding has been set up for the b64 filter. In
authorRichard Levitte <levitte@openssl.org>
Thu, 11 Oct 2001 19:38:40 +0000 (19:38 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 11 Oct 2001 19:38:40 +0000 (19:38 +0000)
commit67d0738aba4988a239d57f6cd7aa36cf27df1f92
tree9f9e138bb13bf27d6d1e292287826f9a6f15da3a
parentb8a61e736299a93cf3c4b69ce1c94406fff0be5a
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