summaryrefslogtreecommitdiffstats
path: root/engines/ccgost
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2007-11-16 03:03:01 +0000
committerBen Laurie <ben@openssl.org>2007-11-16 03:03:01 +0000
commit10f0c85cfc26ffafd426d9797275191829efd599 (patch)
tree61f98a637a273a788090fdc0d37f10bcaa30168d /engines/ccgost
parent70ba4ee5d5b70b64f7c4632cb74bb408f000ea64 (diff)
Fix warnings.
Diffstat (limited to 'engines/ccgost')
-rw-r--r--engines/ccgost/gost_pmeth.c2
-rw-r--r--engines/ccgost/gost_sign.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/ccgost/gost_pmeth.c b/engines/ccgost/gost_pmeth.c
index 4f96a7508b..8a38e39aae 100644
--- a/engines/ccgost/gost_pmeth.c
+++ b/engines/ccgost/gost_pmeth.c
@@ -368,7 +368,7 @@ static int pkey_gost_encrypt_init(EVP_PKEY_CTX *ctx)
return 1;
}
/* --------------- Derive init ------------------------------------*/
-int pkey_gost_derive_init(EVP_PKEY_CTX *ctx)
+static int pkey_gost_derive_init(EVP_PKEY_CTX *ctx)
{
return 1;
}
diff --git a/engines/ccgost/gost_sign.c b/engines/ccgost/gost_sign.c
index 126757e271..4755aee8fa 100644
--- a/engines/ccgost/gost_sign.c
+++ b/engines/ccgost/gost_sign.c
@@ -100,7 +100,7 @@ DSA_SIG *gost_do_sign(const unsigned char *dgst,int dlen, DSA *dsa)
* Packs signature according to Cryptocom rules
* and frees up DSA_SIG structure
*/
-
+/*
int pack_sign_cc(DSA_SIG *s,int order,unsigned char *sig, size_t *siglen)
{
*siglen = 2*order;
@@ -111,6 +111,7 @@ int pack_sign_cc(DSA_SIG *s,int order,unsigned char *sig, size_t *siglen)
DSA_SIG_free(s);
return 1;
}
+*/
/*
* Packs signature according to Cryptopro rules
* and frees up DSA_SIG structure
@@ -246,7 +247,7 @@ int gost_sign_keygen(DSA *dsa)
}
/* Unpack signature according to cryptocom rules */
-
+/*
DSA_SIG *unpack_cc_signature(const unsigned char *sig,size_t siglen)
{
DSA_SIG *s;
@@ -260,7 +261,7 @@ DSA_SIG *unpack_cc_signature(const unsigned char *sig,size_t siglen)
s->s = getbnfrombuf(sig + siglen/2, siglen/2);
return s;
}
-
+*/
/* Unpack signature according to cryptopro rules */
DSA_SIG *unpack_cp_signature(const unsigned char *sig,size_t siglen)
{