X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=rsa.c;h=7da095b1c8dde3e210368ffe9afda0369be9413e;hb=79d3367860d989851c6842fce70601420439ab5c;hp=ceb81e1eada3ecaf24d7669a848a0f183659929a;hpb=c981a80699901eb3d513a4cc9355574a69016037;p=onak.git
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 */