return res;
}
-#if !defined(OPENSSL_NO_DH) && !defined(OPENSSL_NO_DSA)
+#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA)
/*
- * Test combinations of private, public, missing and private + public key
+ * Test combinations of private, public, missing and private + public key
* params to ensure they are all accepted
*/
static int test_EVP_PKEY_ffc_priv_pub(char *keytype)
return ret;
}
-#endif /* !OPENSSL_NO_DH && !OPENSSL_NO_DSA */
+#endif /* !OPENSSL_NO_DH || !OPENSSL_NO_DSA */
static int test_EVP_Enveloped(void)
{
}
/*
- * Test combinations of private, public, missing and private + public key
+ * Test combinations of private, public, missing and private + public key
* params to ensure they are all accepted
*/
static int test_DSA_priv_pub(void)
#ifndef OPENSSL_NO_DH
/*
- * Test combinations of private, public, missing and private + public key
+ * Test combinations of private, public, missing and private + public key
* params to ensure they are all accepted
*/
static int test_DH_priv_pub(void)