OSSL_DECODER_from_bio: Report an unsupported error when there is none
authorTomas Mraz <tomas@openssl.org>
Tue, 25 May 2021 07:59:06 +0000 (09:59 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 26 May 2021 11:04:38 +0000 (13:04 +0200)
commit4d2d4b4bc1a8515fa5c17906393458a7beef5422
treed4f68a7d98323b17243863f3d73312666e9b724c
parent05814be8d647ec3056866c13e68c4b48c788ec23
OSSL_DECODER_from_bio: Report an unsupported error when there is none

When nothing was decoded and there is no error on the stack report
something.

Fixes #15442

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15441)
crypto/encode_decode/decoder_lib.c