[openssl] master update

Matt Caswell matt at openssl.org
Thu Sep 12 09:23:07 UTC 2019


The branch master has been updated
       via  252a3665e4c24a387e86ff4e07159f8e846adebc (commit)
      from  8d0f8c818117132a38005a046f0daacd1219e217 (commit)


- Log -----------------------------------------------------------------
commit 252a3665e4c24a387e86ff4e07159f8e846adebc
Author: Matt Caswell <matt at openssl.org>
Date:   Wed Sep 11 10:17:00 2019 +0100

    Fix no-engine
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9863)

-----------------------------------------------------------------------

Summary of changes:
 providers/common/provider_util.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/providers/common/provider_util.c b/providers/common/provider_util.c
index babbfffd3d..92cfb749c0 100644
--- a/providers/common/provider_util.c
+++ b/providers/common/provider_util.c
@@ -44,7 +44,8 @@ static int load_common(const OSSL_PARAM params[], const char **propquery,
 
     *engine = NULL;
     /* TODO legacy stuff, to be removed */
-#ifndef FIPS_MODE /* Inside the FIPS module, we don't support legacy ciphers */
+    /* Inside the FIPS module, we don't support legacy ciphers */
+#if !defined(FIPS_MODE) && !defined(OPENSSL_NO_ENGINE)
     p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE);
     if (p != NULL) {
         if (p->data_type != OSSL_PARAM_UTF8_STRING)


More information about the openssl-commits mailing list