From: Niels Möller Date: Wed, 5 Feb 2003 22:30:44 +0000 (+0100) Subject: (des_set_key): Name mangling, linker symbols should use a X-Git-Tag: nettle_1.7_release_20030311~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89eac7382f637cd885b20d7532f05d9afa6df6e;p=thirdparty%2Fnettle.git (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 --- 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 #define DES_KEY_SIZE 8