summaryrefslogtreecommitdiff
path: root/des.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2003-02-05 23:30:44 +0100
committerNiels Möller <nisse@lysator.liu.se>2003-02-05 23:30:44 +0100
commitf89eac7382f637cd885b20d7532f05d9afa6df6e (patch)
treedcc86dbf4e86b3f5a5a840391bf7e5b6ecbe02ef /des.h
parent5b5a61309a82625e2dbb28f9ae39f7448f2d1f2b (diff)
downloadnettle-f89eac7382f637cd885b20d7532f05d9afa6df6e.tar.gz
(des_set_key): Name mangling, linker symbols should use a
"nettle_" prefix, and this one collided with openssl. Perhaps all symbols should be mangled in a similar way, but that's for later. Rev: src/nettle/des.h:1.7
Diffstat (limited to 'des.h')
-rw-r--r--des.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/des.h b/des.h
index 9903f034..9f674736 100644
--- a/des.h
+++ b/des.h
@@ -35,6 +35,14 @@
#ifndef NETTLE_DES_H_INCLUDED
#define NETTLE_DES_H_INCLUDED
+/* Namespace mangling.
+ *
+ * FIXME: In the long run, all nettle symbols should probably have the
+ * prefix nettle_, with the appropriate header file defining
+ * shorthands. */
+
+#define des_set_key nettle_des_set_key
+
#include <inttypes.h>
#define DES_KEY_SIZE 8