提交 70b2186e 编写于 作者: D Dr. Stephen Henson

Stop warnings.

上级 64ecdaec
......@@ -551,7 +551,7 @@ int do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout,
const char *sig_name, const char *md_name,
const char *file,BIO *bmd)
{
ssize_t len;
size_t len;
int i;
for (;;)
......
......@@ -807,18 +807,18 @@ static int mac_ctrl_gost(EVP_PKEY *pkey, int op, long arg1, void *arg2)
return -2;
}
int gost94_param_encode(const EVP_PKEY *pkey, unsigned char **pder)
static int gost94_param_encode(const EVP_PKEY *pkey, unsigned char **pder)
{
int nid=gost94_nid_by_params(EVP_PKEY_get0((EVP_PKEY *)pkey));
return i2d_ASN1_OBJECT(OBJ_nid2obj(nid),pder);
}
int gost2001_param_encode(const EVP_PKEY *pkey, unsigned char **pder)
static int gost2001_param_encode(const EVP_PKEY *pkey, unsigned char **pder)
{
int nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(EVP_PKEY_get0((EVP_PKEY *)pkey)));
return i2d_ASN1_OBJECT(OBJ_nid2obj(nid),pder);
}
int gost94_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen)
static int gost94_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen)
{
ASN1_OBJECT *obj=NULL;
DSA *dsa = EVP_PKEY_get0(pkey);
......@@ -837,7 +837,7 @@ int gost94_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen)
return 1;
}
int gost2001_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) {
static int gost2001_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) {
ASN1_OBJECT *obj=NULL;
int nid;
EC_KEY *ec = EVP_PKEY_get0(pkey);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册