summaryrefslogtreecommitdiffstats
path: root/ssl/tls_srp.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2022-07-27 12:15:07 +0200
committerHugo Landau <hlandau@openssl.org>2022-08-01 08:14:23 +0100
commit83ab43da0c9f67c5069605552b1332ca5fadecf1 (patch)
tree750114cf1a5a764b5d0c8406710fd9fd39ff6235 /ssl/tls_srp.c
parent4000827fdbf3f6d70949186fdd2bc57638500885 (diff)
Check that IV length is not less than zero
As EVP_CIPHER_CTX_get_iv_length indicates failure with -1, this error should be processed. Also the result of this function shouldn't be assigned to an unsigned variable. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18891)
Diffstat (limited to 'ssl/tls_srp.c')
0 files changed, 0 insertions, 0 deletions