From 6ec6cfc7671b9c867903a18a25c32c87d2d1b7be Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 21 Sep 2006 16:19:10 +0000 Subject: [PATCH] Updated file. --- engines/ccgost/gost_lcl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/ccgost/gost_lcl.h b/engines/ccgost/gost_lcl.h index 4f2b6fa41e..b40b88463c 100644 --- a/engines/ccgost/gost_lcl.h +++ b/engines/ccgost/gost_lcl.h @@ -189,9 +189,9 @@ int store_bignum(BIGNUM *bn, unsigned char *buf,int len); /* Read bignum, which can have few MSB all-zeros from buffer*/ BIGNUM *getbnfrombuf(const unsigned char *buf,size_t len); /* Pack GOST R 34.10 signature according to CryptoCom rules */ -int pack_sign_cc(DSA_SIG *s,int order,unsigned char *sig, unsigned int *siglen); +int pack_sign_cc(DSA_SIG *s,int order,unsigned char *sig, size_t *siglen); /* Pack GOST R 34.10 signature according to CryptoPro rules */ -int pack_sign_cp(DSA_SIG *s,int order,unsigned char *sig, unsigned int *siglen); +int pack_sign_cp(DSA_SIG *s,int order,unsigned char *sig, size_t *siglen); /* Unpack GOST R 34.10 signature according to CryptoCom rules */ DSA_SIG *unpack_cc_signature(const unsigned char *sig,size_t siglen) ; /* Unpack GOST R 34.10 signature according to CryptoPro rules */ -- 2.25.1