[openssl] master update

Richard Levitte levitte at openssl.org
Thu Jul 16 07:20:03 UTC 2020


The branch master has been updated
       via  ecca5b6e2ea5f364e4281193fd1526fbaf3f8248 (commit)
      from  81ed433cf835bf7b47aa926735196b6948f65e95 (commit)


- Log -----------------------------------------------------------------
commit ecca5b6e2ea5f364e4281193fd1526fbaf3f8248
Author: Pauli <paul.dale at oracle.com>
Date:   Wed Jul 15 09:16:30 2020 +1000

    capabilities: make capability selection case insensitive.
    
    Everything else to do with algorithm selection and properties is case
    insensitive.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/12450)

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

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

diff --git a/providers/common/capabilities.c b/providers/common/capabilities.c
index a60620d8a2..353da1ee32 100644
--- a/providers/common/capabilities.c
+++ b/providers/common/capabilities.c
@@ -17,6 +17,7 @@
 #include "internal/nelem.h"
 #include "internal/tlsgroups.h"
 #include "prov/providercommon.h"
+#include "e_os.h"
 
 typedef struct tls_group_constants_st {
     unsigned int group_id;   /* Group ID */
@@ -177,7 +178,7 @@ static int tls_group_capability(OSSL_CALLBACK *cb, void *arg)
 int provider_get_capabilities(void *provctx, const char *capability,
                               OSSL_CALLBACK *cb, void *arg)
 {
-    if (strcmp(capability, "TLS-GROUP") == 0)
+    if (strcasecmp(capability, "TLS-GROUP") == 0)
         return tls_group_capability(cb, arg);
 
     /* We don't support this capability */


More information about the openssl-commits mailing list