Merge branch 'fakereject'
[exim.git] / src / src / pdkim / crypt_ver.h
index 602d137a37628db0369670604168776c7e56cba7..cd2171c8233fc71f3d32f94c24f5e203cfbcf67e 100644 (file)
@@ -8,21 +8,19 @@
 /* RSA and SHA routine selection for PDKIM */
 
 #include "../exim.h"
+#include "../sha_ver.h"
 
 
 #ifdef USE_GNUTLS
-# define RSA_GNUTLS
-
 # include <gnutls/gnutls.h>
-# if GNUTLS_VERSION_NUMBER >= 0x020a00
-#  define SHA_GNUTLS
 
+# if GNUTLS_VERSION_NUMBER >= 0x30000
+#  define RSA_GNUTLS
 # else
-#  define SHA_POLARSSL
+#  define RSA_GCRYPT
 # endif
 
 #else
 # define RSA_OPENSSL
-# define SHA_OPENSSL
 #endif