From 233f207c178642c5a1bc7184d0f4165f63b554cf Mon Sep 17 00:00:00 2001 From: Patrick Pelletier Date: Sun, 25 Sep 2011 17:24:52 -0700 Subject: [PATCH] Use "GMP_DESC" instead of "GPM_DESC" This seemed to be the only place in the code that was using this particular transposition. And, indeed, when compiling with "GMP_DESC", it looks like it is necessary to disable Diffie-Hellman. (Otherwise, the test fails for me.) --- src/headers/tomcrypt_custom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/headers/tomcrypt_custom.h b/src/headers/tomcrypt_custom.h index 362403b..97de5de 100644 --- a/src/headers/tomcrypt_custom.h +++ b/src/headers/tomcrypt_custom.h @@ -306,8 +306,8 @@ /* #define LTC_RSA_BLINDING */ /* Include Diffie-Hellman support */ -#ifndef GPM_DESC -/* is_prime fails for GPM */ +#ifndef GMP_DESC +/* is_prime fails for GMP */ #define MDH /* Supported Key Sizes */ #define DH768