diff options
author | Werner Koch <wk@gnupg.org> | 2002-02-07 19:16:55 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-02-07 19:16:55 +0000 |
commit | ce23648851bb5dc8deb1d43a34ec8fbb3e2c5929 (patch) | |
tree | 3a1ad6c68b1499f3962aa4d466b99a2e15ddab42 | |
parent | 473fb120af0f05e32772a44fc827e064b6ff50b6 (diff) | |
download | libgcrypt-ce23648851bb5dc8deb1d43a34ec8fbb3e2c5929.tar.gz |
issue #warning only for gcc.
Ready to release 1.1.6
-rw-r--r-- | mpi/mpicoder.c | 6 | ||||
-rw-r--r-- | src/gcrypt.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mpi/mpicoder.c b/mpi/mpicoder.c index 753505b3..c026c930 100644 --- a/mpi/mpicoder.c +++ b/mpi/mpicoder.c @@ -188,7 +188,9 @@ mpi_print( FILE *fp, MPI a, int mode ) return n; } +#if __GNUC__ >= 2 #warning We should move this function to elsewhere +#endif void _gcry_log_mpidump( const char *text, MPI a ) { @@ -339,7 +341,9 @@ gcry_mpi_scan( struct gcry_mpi **ret_mpi, enum gcry_mpi_format format, /* TODO: add a way to allocate the MPI in secure memory * Hmmm: maybe it is better to retrieve this information from * the provided buffer. */ - #warning secure memory is not used here. +#if __GNUC__ >= 2 +#warning secure memory is not used here. +#endif if( format == GCRYMPI_FMT_STD ) { const byte *s = buffer; diff --git a/src/gcrypt.h b/src/gcrypt.h index 5c8a8675..176f09df 100644 --- a/src/gcrypt.h +++ b/src/gcrypt.h @@ -35,7 +35,7 @@ extern "C" { * header matches the installed library. * Note: Do not edit the next line as configure may fix the string here. */ -#define GCRYPT_VERSION "1.1.5a-cvs" +#define GCRYPT_VERSION "1.1.6" #ifndef HAVE_BYTE_TYPEDEF |