summaryrefslogtreecommitdiff
path: root/cipher/ecc-gost.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-10-24 12:20:55 +0300
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2013-10-24 12:22:32 +0300
commit9ce54e5b512418ddf45ce18f2cbd48cdced779f5 (patch)
treef24b87b554cb1c8925d09de3a3be2fa0a4e7d5f9 /cipher/ecc-gost.c
parent54df6fcd806f8c150cffe6cc09925bb8b638bb5b (diff)
downloadlibgcrypt-9ce54e5b512418ddf45ce18f2cbd48cdced779f5.tar.gz
ecc-gost: Add missing include
* ecc-gost.c: Include "pubkey-internal.h". -- Patch fixes compiler warning: ecc-gost.c: In function '_gcry_ecc_gost_sign': ecc-gost.c:95:11: warning: implicit declaration of function '_gcry_dsa_gen_k' [-Wimplicit-function-declaration] k = _gcry_dsa_gen_k (skey->E.n, GCRY_STRONG_RANDOM); ^ Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/ecc-gost.c')
-rw-r--r--cipher/ecc-gost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/ecc-gost.c b/cipher/ecc-gost.c
index 1ebfd392..a40459c0 100644
--- a/cipher/ecc-gost.c
+++ b/cipher/ecc-gost.c
@@ -30,6 +30,7 @@
#include "context.h"
#include "ec-context.h"
#include "ecc-common.h"
+#include "pubkey-internal.h"
/* Compute an GOST R 34.10-01/-12 signature.