New Configure option no-<cipher> (rsa, idea, rc5, ...).
diff --git a/crypto/rsa/rsa_oaep_test.c b/crypto/rsa/rsa_oaep_test.c index 4005aa5..4dd078d 100644 --- a/crypto/rsa/rsa_oaep_test.c +++ b/crypto/rsa/rsa_oaep_test.c
@@ -3,8 +3,15 @@ #include <stdio.h> #include <string.h> #include <openssl/e_os.h> -#include <openssl/rsa.h> #include <openssl/err.h> +#ifdef NO_RSA +int main(int argc, char *argv[]) +{ + printf("No RSA support\n"); + return(0); +} +#else +#include <openssl/rsa.h> #define SetKey \ key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \ @@ -291,3 +298,4 @@ } return err; } +#endif