add zero strenght arguments to BN and RAND RNG calls
[openssl.git] / crypto / ec / ecx_backend.c
index 3a1314626bd3b7428b9a2a199ae954e60d8fc73b..14278592cda1c37458e26dadd8e750875c57cb01 100644 (file)
@@ -187,7 +187,7 @@ ECX_KEY *ossl_ecx_key_op(const X509_ALGOR *palg,
         }
         if (op == KEY_OP_KEYGEN) {
             if (id != EVP_PKEY_NONE) {
-                if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id)) <= 0)
+                if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0)
                     goto err;
                 if (id == EVP_PKEY_X25519) {
                     privkey[0] &= 248;