Make sure the RSA OAEP test is skipped under -DRSAref because
[openssl.git] / crypto / rsa / rsa_oaep_test.c
index 5fcc2f7..57e10e9 100644 (file)
@@ -195,6 +195,11 @@ int main()
     int clen = 0;
     int num;
 
+#ifdef RSAref
+    printf("No OAEP support with RSAref - skipping test\n");
+    return 0;
+#endif
+
     plen = sizeof(ptext_ex) - 1;
 
     for (v = 0; v < 3; v++)