summaryrefslogtreecommitdiff
path: root/src/mpi.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-10-02 13:44:46 +0200
committerWerner Koch <wk@gnupg.org>2013-10-02 13:44:46 +0200
commit52783d483293d48cd468143ae6ae2cccbfe17200 (patch)
tree9f4f68099fa6d15213c8be92a9f5d35ad253f7aa /src/mpi.h
parent0d39997932617ba20656f8bcc230ba744b76c87e (diff)
downloadlibgcrypt-52783d483293d48cd468143ae6ae2cccbfe17200.tar.gz
Fix missing prototype warning in visibility.c
* src/ec-context.h (_gcry_mpi_ec_new): Move prototype to mpi.h.
Diffstat (limited to 'src/mpi.h')
-rw-r--r--src/mpi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mpi.h b/src/mpi.h
index 780d5eb7..15fb5423 100644
--- a/src/mpi.h
+++ b/src/mpi.h
@@ -342,6 +342,10 @@ gpg_err_code_t _gcry_mpi_ec_set_point (const char *name,
gcry_mpi_point_t newvalue,
gcry_ctx_t ctx);
+/*-- ecc-curves.c --*/
+gpg_err_code_t _gcry_mpi_ec_new (gcry_ctx_t *r_ctx,
+ gcry_sexp_t keyparam, const char *curvename);
+
#endif /*G10_MPI_H*/