More updates following review feedback
[openssl.git] / crypto / kdf / tls1_prf.c
index ce8425d4d4fb7dcbde14fa4353dd813680144409..339e10c1b7c9e5cfb33cabf6078d769ffe7fb5f0 100644 (file)
@@ -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();