X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=rsa.c;h=7da095b1c8dde3e210368ffe9afda0369be9413e;hp=ceb81e1eada3ecaf24d7669a848a0f183659929a;hb=87f06d235831df073b739db1778bde95d3b57559;hpb=42f7eb9a05e8013f0bc4209cb16fbfd99050378e
diff --git a/rsa.c b/rsa.c
index ceb81e1..7da095b 100644
--- a/rsa.c
+++ b/rsa.c
@@ -16,8 +16,11 @@
* this program. If not, see .
*/
+#include "build-config.h"
+
#include
+#ifdef HAVE_NETTLE
#include
#include
#include
@@ -77,3 +80,4 @@ int rsa_sha384_verify_digest(const struct rsa_public_key *key,
return rsa_pkcs1_verify(key, sizeof(buf), buf, s);
}
+#endif /* HAVE_NETTLE */