mirror of
https://github.com/openssl/openssl.git
synced 2024-12-04 23:43:55 +08:00
Fix warnings.
This commit is contained in:
parent
70ba4ee5d5
commit
10f0c85cfc
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user