aboutsummaryrefslogtreecommitdiff
path: root/gost_lcl.h
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2016-11-19 21:54:18 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2016-11-19 21:54:18 +0300
commita72a02c4dd5778eea83db6e9e17d89f0d2b278dd (patch)
tree893d894733ba75378224123b7fea4aa7e89ac0ba /gost_lcl.h
parent3a01994fee987180f1e2826fa6f0c17d78c04cc9 (diff)
downloadgost-engine-a72a02c4dd5778eea83db6e9e17d89f0d2b278dd.zip
gost-engine-a72a02c4dd5778eea83db6e9e17d89f0d2b278dd.tar.gz
gost-engine-a72a02c4dd5778eea83db6e9e17d89f0d2b278dd.tar.bz2
Build with -Werror
Diffstat (limited to 'gost_lcl.h')
-rw-r--r--gost_lcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gost_lcl.h b/gost_lcl.h
index 9dac7d4..faa454b 100644
--- a/gost_lcl.h
+++ b/gost_lcl.h
@@ -245,7 +245,7 @@ BIGNUM *hashsum2bn(const unsigned char *dgst, int len);
* Store bignum in byte array of given length, prepending by zeros if
* nesseccary
*/
-int store_bignum(BIGNUM *bn, unsigned char *buf, int len);
+int store_bignum(const BIGNUM *bn, unsigned char *buf, int len);
/* Pack GOST R 34.10 signature according to CryptoPro rules */
int pack_sign_cp(DSA_SIG *s, int order, unsigned char *sig, size_t *siglen);
/* from ameth.c */