The branch master has been updated
       via  86e6cbd643117fee45cb76d1ed2a785576ce76ea (commit)
      from  f2da4a4917eae1bf66290e1bd8ccd3db69d3fe63 (commit)


- Log -----------------------------------------------------------------
commit 86e6cbd643117fee45cb76d1ed2a785576ce76ea
Author: Richard Levitte <[email protected]>
Date:   Sun Jul 2 11:54:40 2017 +0200

    STORE 'file' scheme loader: DNS name in URI is case insensitive
    
    ...  so compare accordingly with "//localhost"
    
    Reviewed-by: Bernd Edlinger <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/3827)

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

Summary of changes:
 crypto/store/loader_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/store/loader_file.c b/crypto/store/loader_file.c
index 2b0f213..ebcad03 100644
--- a/crypto/store/loader_file.c
+++ b/crypto/store/loader_file.c
@@ -677,7 +677,7 @@ static OSSL_STORE_LOADER_CTX *file_open(const 
OSSL_STORE_LOADER *loader,
     const char *path = NULL;
 
     if (strncasecmp(uri, "file:", 5) == 0) {
-        if (strncmp(&uri[5], "//localhost/", 12) == 0) {
+        if (strncasecmp(&uri[5], "//localhost/", 12) == 0) {
             path = &uri[16];
         } else if (strncmp(&uri[5], "///", 3) == 0) {
             path = &uri[7];
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to