From c8f12e218f81f9211920b6fe50a786b617a2aeae Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 2 Feb 1998 14:36:06 +0000 Subject: changed structure of trustdb --- include/i18n.h | 6 +++++- include/mpi.h | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/i18n.h b/include/i18n.h index a75f3c40f..55911b474 100644 --- a/include/i18n.h +++ b/include/i18n.h @@ -21,8 +21,12 @@ #ifndef G10_I18N_H #define G10_I18N_H -#ifdef HAVE_LIBINTL +#ifdef ENABLE_NLS +#ifdef HAVE_LIBINTL_H #include +#else + #include "../intl/libintl.h" +#endif #define _(a) gettext (a) #ifdef gettext_noop #define N_(a) gettext_noop (a) diff --git a/include/mpi.h b/include/mpi.h index 7a43b3018..1354dda4c 100644 --- a/include/mpi.h +++ b/include/mpi.h @@ -78,6 +78,8 @@ typedef struct mpi_struct { void mpi_resize( MPI a, unsigned nlimbs ); MPI mpi_copy( MPI a ); #endif +#define mpi_is_secure(a) ((a) && (a)->secure) +void mpi_set_secure( MPI a ); void mpi_clear( MPI a ); void mpi_set( MPI w, MPI u); void mpi_set_ui( MPI w, ulong u); -- cgit v1.2.3