diff options
author | ndossche <niels.dossche@ugent.be> | 2023-02-09 11:39:58 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-02-28 14:34:57 +1100 |
commit | 5df5032ab02d7a17e07435de777d730bae190253 (patch) | |
tree | 5059b0c0972a8146d9df5e14af5871dd0a714b8e /providers/prov_running.c | |
parent | 7066c57dce88994778daa10ba2c81490fc5cf0c7 (diff) | |
download | openssl-new-5df5032ab02d7a17e07435de777d730bae190253.tar.gz |
Fix incomplete error check on ASN1_item_i2d()
According to the documentation and my analysis tool
ASN1_item_i2d() can return a negative value on error,
but this is not checked. Fix it by changing the error check condition.
CLA: trivial
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20251)
Diffstat (limited to 'providers/prov_running.c')
0 files changed, 0 insertions, 0 deletions