Fix a typo in the preprocessor logic in eng_list.c that had left RSA, DSA,

and DH all conditional upon OPENSSL_NO_RSA.
This commit is contained in:
Geoff Thorpe 2001-09-14 18:23:31 +00:00
parent e059b19ddb
commit db744f8950

View File

@ -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)) &&