summaryrefslogtreecommitdiff
path: root/nettle-meta-ciphers.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2018-03-17 17:25:03 +0100
committerNiels Möller <nisse@lysator.liu.se>2018-03-17 17:25:03 +0100
commit8bf4747d9cca7fd2cdd6ca8e14bce7cb334b2a7a (patch)
tree033f2fa114c78e37c591c1c2e29a2151d08bb127 /nettle-meta-ciphers.c
parent8c210b4e53b8566faea7ff0a175ad323236dd5d2 (diff)
downloadnettle-rename-data-symbols.tar.gz
Add leading underscore to data symbols.rename-data-symbols
Diffstat (limited to 'nettle-meta-ciphers.c')
-rw-r--r--nettle-meta-ciphers.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nettle-meta-ciphers.c b/nettle-meta-ciphers.c
index ef905d8e..49cb47a7 100644
--- a/nettle-meta-ciphers.c
+++ b/nettle-meta-ciphers.c
@@ -36,9 +36,7 @@
#include <stddef.h>
#include "nettle-meta.h"
-#undef nettle_ciphers
-
-const struct nettle_cipher * const nettle_ciphers[] = {
+const struct nettle_cipher * const _nettle_ciphers[] = {
&nettle_aes128,
&nettle_aes192,
&nettle_aes256,
@@ -62,5 +60,5 @@ const struct nettle_cipher * const nettle_ciphers[] = {
const struct nettle_cipher * const *
nettle_get_ciphers (void)
{
- return nettle_ciphers;
+ return _nettle_ciphers;
}