diff options
author | Matt Caswell <matt@openssl.org> | 2022-12-06 14:51:54 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-12-22 11:05:49 +0100 |
commit | e979d9aaf5f06fd7aa0935ed9758a2048c3b287c (patch) | |
tree | 1428ec9177399c58ad2da23f265e55eb1482cff4 /test/evp_extra_test.c | |
parent | a923d9bbb523ed100d931a822644c42168176fa4 (diff) |
Ensure ossl_cms_EncryptedContent_init_bio() reports an error on no OID
If the cipher being used in ossl_cms_EncryptedContent_init_bio() has no
associated OID then we should report an error rather than continuing on
regardless. Continuing on still ends up failing - but later on and with a
more cryptic error message.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19919)
(cherry picked from commit cc122995d1fa12fb8f93562e0aca4a62cd83fc5b)
Diffstat (limited to 'test/evp_extra_test.c')
0 files changed, 0 insertions, 0 deletions