aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/kdf/tls1_prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/kdf/tls1_prf.c')
-rw-r--r--crypto/kdf/tls1_prf.c2
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();