From 65fd19c1fb8252b1ede3873cd9200f60e3194f1c Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 25 Feb 2014 09:59:21 +0100 Subject: [PATCH] dh: fix renamed macro --- src/headers/tomcrypt_pk.h | 2 +- src/pk/dh/dh.c | 2 +- testprof/dh_test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/headers/tomcrypt_pk.h b/src/headers/tomcrypt_pk.h index 1311886..e1a9152 100644 --- a/src/headers/tomcrypt_pk.h +++ b/src/headers/tomcrypt_pk.h @@ -164,7 +164,7 @@ int katja_import(const unsigned char *in, unsigned long inlen, katja_key *key); #endif /* ---- DH Routines ---- */ -#ifdef MDH +#ifdef LTC_MDH typedef struct Dh_key { int idx, type; diff --git a/src/pk/dh/dh.c b/src/pk/dh/dh.c index 7ad003d..6781fd4 100644 --- a/src/pk/dh/dh.c +++ b/src/pk/dh/dh.c @@ -15,7 +15,7 @@ DH crypto, Tom St Denis */ -#ifdef MDH +#ifdef LTC_MDH /* size of a packet header in bytes */ #define PACKET_SIZE 4 diff --git a/testprof/dh_test.c b/testprof/dh_test.c index 8801c4f..ee3736f 100644 --- a/testprof/dh_test.c +++ b/testprof/dh_test.c @@ -1,6 +1,6 @@ #include -#ifdef MDH +#ifdef LTC_MDH #ifdef DH4096 #define KEYSIZE 4096