Confusion between algorithms resolved.
authorRichard Levitte <levitte@openssl.org>
Fri, 1 Jun 2001 15:30:13 +0000 (15:30 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 1 Jun 2001 15:30:13 +0000 (15:30 +0000)
crypto/engine/engine_lib.c
crypto/engine/hw_ubsec.c

index 05e9d39..594e4dd 100644 (file)
@@ -136,7 +136,7 @@ static void engine_def_check(void)
 #ifndef OPENSSL_NO_RSA
                engine_def_check_util(&engine_def_rsa, e);
 #endif
-#ifndef OPENSSL_NO_RSA
+#ifndef OPENSSL_NO_DSA
                engine_def_check_util(&engine_def_dsa, e);
 #endif
 #ifndef OPENSSL_NO_DH
index ca14d36..f8f1d41 100644 (file)
@@ -782,7 +782,7 @@ err:
        }
 #endif
 
-#ifndef OPENSSL_NO_DSA
+#ifndef OPENSSL_NO_DH
 static int ubsec_dh_compute_key (unsigned char *key,const BIGNUM *pub_key,DH *dh)
        {
        return 0;