diff options
author | Matt Caswell <matt@openssl.org> | 2022-12-06 14:35:53 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-12-22 11:05:48 +0100 |
commit | a923d9bbb523ed100d931a822644c42168176fa4 (patch) | |
tree | 46c2e178b4b251b91bc273c66c013fce21aa968a /ssl | |
parent | 0a3eeb3346dd2b1f4e777284f09d40eb4c6bbd81 (diff) |
Fix BIO_f_asn1() to properly report some errors
Some things that may go wrong in asn1_bio_write() are serious errors
that should be reported as -1, rather than 0 (which just means "we wrote
no data").
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 903e96599b53639d6a72f9b05514f93136eaf03b)
Diffstat (limited to 'ssl')
0 files changed, 0 insertions, 0 deletions