Pārlūkot izejas kodu

dh: fix renamed macro

Steffen Jaeckel 11 gadi atpakaļ
vecāks
revīzija
65fd19c1fb
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      src/headers/tomcrypt_pk.h
  2. 1 1
      src/pk/dh/dh.c
  3. 1 1
      testprof/dh_test.c

+ 1 - 1
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;

+ 1 - 1
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

+ 1 - 1
testprof/dh_test.c

@@ -1,6 +1,6 @@
 #include <tomcrypt_test.h>
 
-#ifdef MDH
+#ifdef LTC_MDH
 
 #ifdef DH4096
 #define KEYSIZE 4096