diff options
author | Werner Koch <wk@gnupg.org> | 2014-11-24 12:28:33 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-11-24 12:29:21 +0100 |
commit | d53ea84bed37b973f7ce59262c50b33700cd8311 (patch) | |
tree | 1caac1ee4d2a568001239e51d48a52b3d0259792 | |
parent | 1b4210c204a5ef5e631187509e011b8468a134ef (diff) | |
download | libgcrypt-d53ea84bed37b973f7ce59262c50b33700cd8311.tar.gz |
Remove duplicated prototypes.
* src/gcrypt-int.h (_gcry_mpi_ec_new, _gcry_mpi_ec_set_mpi)
(gcry_mpi_ec_set_point): Remove.
--
Thos used gpg_error_t instead of gpg_err_code_t and the picky AIX
compiler takes this as a severe error.
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | src/gcrypt-int.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h index 918937b8..29d4fd3b 100644 --- a/src/gcrypt-int.h +++ b/src/gcrypt-int.h @@ -416,15 +416,10 @@ gcry_mpi_point_t _gcry_mpi_point_set (gcry_mpi_point_t point, gcry_mpi_point_t _gcry_mpi_point_snatch_set (gcry_mpi_point_t point, gcry_mpi_t x, gcry_mpi_t y, gcry_mpi_t z); -gpg_error_t _gcry_mpi_ec_new (gcry_ctx_t *r_ctx, - gcry_sexp_t keyparam, const char *curvename); + gcry_mpi_t _gcry_mpi_ec_get_mpi (const char *name, gcry_ctx_t ctx, int copy); gcry_mpi_point_t _gcry_mpi_ec_get_point (const char *name, gcry_ctx_t ctx, int copy); -gpg_error_t _gcry_mpi_ec_set_mpi (const char *name, gcry_mpi_t newvalue, - gcry_ctx_t ctx); -gpg_error_t _gcry_mpi_ec_set_point (const char *name, gcry_mpi_point_t newvalue, - gcry_ctx_t ctx); int _gcry_mpi_ec_get_affine (gcry_mpi_t x, gcry_mpi_t y, gcry_mpi_point_t point, mpi_ec_t ctx); void _gcry_mpi_ec_dup (gcry_mpi_point_t w, gcry_mpi_point_t u, gcry_ctx_t ctx); |