diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-03-31 19:54:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-03-31 19:54:51 +0000 |
commit | 70b2186e240dc39fd75e3a89ca931f8ba4117e80 (patch) | |
tree | 9c95f31c94919548636ba4f4a1f3240fd6617be5 /engines | |
parent | 64ecdaeca93d88012c4ef8d96b0f006b8e8a784f (diff) |
Stop warnings.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/ccgost/gost_ameth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/ccgost/gost_ameth.c b/engines/ccgost/gost_ameth.c index 7b3ba5048b..16a99ac2b2 100644 --- a/engines/ccgost/gost_ameth.c +++ b/engines/ccgost/gost_ameth.c @@ -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); |