summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-09-14 18:23:31 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-09-14 18:23:31 +0000
commitdb744f8950be3d63feb8393a34d1fc96db9c11e8 (patch)
treef00482f2d2586a141c5841691e545cc3dff4b1a6 /crypto
parente059b19ddb50a52c940035a0f50e39f747591e9e (diff)
Fix a typo in the preprocessor logic in eng_list.c that had left RSA, DSA,
and DH all conditional upon OPENSSL_NO_RSA.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/engine/eng_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c
index ce45b14df3..ec806984ab 100644
--- a/crypto/engine/eng_list.c
+++ b/crypto/engine/eng_list.c
@@ -591,10 +591,10 @@ int ENGINE_cpy(ENGINE *dest, const ENGINE *src)
#ifndef OPENSSL_NO_RSA
ENGINE_set_RSA(dest, ENGINE_get_RSA(src)) &&
#endif
-#ifndef OPENSSL_NO_RSA
+#ifndef OPENSSL_NO_DSA
ENGINE_set_DSA(dest, ENGINE_get_DSA(src)) &&
#endif
-#ifndef OPENSSL_NO_RSA
+#ifndef OPENSSL_NO_DH
ENGINE_set_DH(dest, ENGINE_get_DH(src)) &&
#endif
ENGINE_set_RAND(dest, ENGINE_get_RAND(src)) &&