]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ec/ecdh_ossl.c
Remove unused parameters from internal functions
[thirdparty/openssl.git] / crypto / ec / ecdh_ossl.c
index beb3fc20b8d1b79cfe015aaed2f7eaf1ca0a29a4..15a179fbc67a48d8ec06f1b36cf44a1d6e08f36a 100644 (file)
@@ -118,7 +118,7 @@ int ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
     group = EC_KEY_get0_group(ecdh);
 
     if (EC_KEY_get_flags(ecdh) & EC_FLAG_COFACTOR_ECDH) {
-        if (!EC_GROUP_get_cofactor(group, x, ctx) ||
+        if (!EC_GROUP_get_cofactor(group, x, NULL) ||
             !BN_mul(x, x, priv_key, ctx)) {
             ECerr(EC_F_OSSL_ECDH_COMPUTE_KEY, ERR_R_MALLOC_FAILURE);
             goto err;