summaryrefslogtreecommitdiff
path: root/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-04-30 14:09:33 +0000
committerWerner Koch <wk@gnupg.org>2007-04-30 14:09:33 +0000
commit9222b6f51074fa33a962db3ef25414f01e23677e (patch)
tree2df53738a9bcb47bbb9fedcca7c768537a9b0580 /mpi/mpiutil.c
parent48caaefe40af7ba14d6f63f2b31daa1da7a953bd (diff)
downloadlibgcrypt-9222b6f51074fa33a962db3ef25414f01e23677e.tar.gz
./
* README.apichanges: Move to doc/. * Makefile.am (EXTRA_DIST): Removed that file. doc/ * HACKING: New. Two items by Marcus. * README.apichanges: Move from .. to here. * Makefile.am (EXTRA_DIST): Add new files. mpi/ * config.links: Create a file mod-source-info.h. * Makefile.am (DISTCLEANFILES): Add that file. * mpiutil.c (_gcry_mpi_get_hw_config): New. src/ * global.c (gcry_control): New. * gcrypt.h.in (GCRYCTL_DUMP_CONFIG): New. tests/ * version.c: New. * Makefile.am (TESTS): Add version.
Diffstat (limited to 'mpi/mpiutil.c')
-rw-r--r--mpi/mpiutil.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index 51ea711f..ee690261 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -27,6 +27,15 @@
#include "g10lib.h"
#include "mpi-internal.h"
#include "memory.h"
+#include "mod-source-info.h"
+
+
+const char *
+_gcry_mpi_get_hw_config (void)
+{
+ return mod_source_info + 1;
+}
+
/****************
* Note: It was a bad idea to use the number of limbs to allocate