]> the.earth.li Git - onak.git/blobdiff - sigcheck.c
Fix compilation with later versions of Nettle
[onak.git] / sigcheck.c
index ff806046b3d9866b657bb8afc3fd39cb6e54ee36..9a29dfc4b5451b439b82f0c56e9e08437b458b26 100644 (file)
 #include <nettle/rsa.h>
 #include "rsa.h"
 
-#ifndef nettle_get_secp_256r1
+#ifndef HAVE_NETTLE_GET_SECP_256R1
 #define nettle_get_secp_256r1() &nettle_secp_256r1
 #endif
-#ifndef nettle_get_secp_384r1
+#ifndef HAVE_NETTLE_GET_SECP_384R1
 #define nettle_get_secp_384r1() &nettle_secp_384r1
 #endif
-#ifndef nettle_get_secp_521r1
+#ifndef HAVE_NETTLE_GET_SECP_521R1
 #define nettle_get_secp_521r1() &nettle_secp_521r1
 #endif