summaryrefslogtreecommitdiff
path: root/test/rsa_test.c
diff options
context:
space:
mode:
authorPaul Yang <yang.yang@baishancloud.com>2017-08-15 11:44:56 +0800
committerRich Salz <rsalz@openssl.org>2017-08-15 09:24:59 -0400
commitb158049cbdff7efa9afd93eb55bb7df95c0f385f (patch)
tree8eddd32703122563ec3ed47b8113b4a9d5cf1be4 /test/rsa_test.c
parent140dab3d3a099feb38d5987adb471c61a8eabb4b (diff)
downloadopenssl-new-b158049cbdff7efa9afd93eb55bb7df95c0f385f.tar.gz
Use new setup_tests in code of rsa_test
Although this piece of code will not be compiled at current stage, but there seems a plan to re-open the 'no-rsa' option in the future so this should be fixed. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4161)
Diffstat (limited to 'test/rsa_test.c')
-rw-r--r--test/rsa_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rsa_test.c b/test/rsa_test.c
index 88464dafea..55339f9053 100644
--- a/test/rsa_test.c
+++ b/test/rsa_test.c
@@ -22,9 +22,10 @@
#include "testutil.h"
#ifdef OPENSSL_NO_RSA
-void setup_tests(void)
+int setup_tests(void)
{
/* No tests */
+ return 1;
}
#else
# include <openssl/rsa.h>