Commit 88486427 authored by Niels Möller's avatar Niels Möller
Browse files

* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.

* rsa-encrypt.c: Likewise.

Rev: src/nettle/rsa-decrypt.c:1.3
Rev: src/nettle/rsa-encrypt.c:1.4
parent 394839ae
......@@ -23,6 +23,12 @@
* MA 02111-1307, USA.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include "rsa.h"
#include "bignum.h"
......@@ -73,3 +79,5 @@ rsa_decrypt(const struct rsa_private_key *key,
return 1;
}
#endif /* WITH_PUBLIC_KEY */
......@@ -23,6 +23,12 @@
* MA 02111-1307, USA.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#if WITH_PUBLIC_KEY
#include "rsa.h"
#include "bignum.h"
......@@ -75,3 +81,5 @@ rsa_encrypt(const struct rsa_public_key *key,
return 1;
}
#endif /* WITH_PUBLIC_KEY */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment