提交 930b0c4b 编写于 作者: N Nils Larsch

make local function static

上级 3d153f79
......@@ -394,7 +394,7 @@ static int ec_missing_parameters(const EVP_PKEY *pkey)
return 0;
}
int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
static int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
{
EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec));
if (group == NULL)
......@@ -405,7 +405,7 @@ int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
return 1;
}
int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b)
static int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b)
{
const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec),
*group_b = EC_KEY_get0_group(b->pkey.ec);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册