diff options
author | Matt Caswell <matt@openssl.org> | 2017-08-02 15:29:31 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-21 08:44:44 +0100 |
commit | 888098304b0a77aee2d5ca5951ee5fccfeb6b1c2 (patch) | |
tree | 6f0e8a65eb1d46c68d1f5bdcd9da1d2ffd9a11fe /crypto/kdf | |
parent | 638c2dd0ab504e22af08e4d56b43959a8be2382e (diff) |
More updates following review feedback
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3740)
Diffstat (limited to 'crypto/kdf')
-rw-r--r-- | crypto/kdf/tls1_prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/kdf/tls1_prf.c b/crypto/kdf/tls1_prf.c index ce8425d4d4..339e10c1b7 100644 --- a/crypto/kdf/tls1_prf.c +++ b/crypto/kdf/tls1_prf.c @@ -184,7 +184,7 @@ static int tls1_prf_P_hash(const EVP_MD *md, int ret = 0; chunk = EVP_MD_size(md); - if (!ossl_assert(chunk >= 0)) + if (!ossl_assert(chunk > 0)) goto err; ctx = EVP_MD_CTX_new(); |