Commit 8979944f90 for openssl.org

commit 8979944f905927508fadd7f16abac8f1f2925513
Author: Milan Broz <gmazyland@gmail.com>
Date:   Fri Mar 27 10:39:18 2026 +0100

    Make ssl dir const in get_windows_default_path

    Signed-off-by: Milan Broz <gmazyland@gmail.com>

    Reviewed-by: Neil Horman <nhorman@openssl.org>
    Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    MergeDate: Tue Mar 31 00:22:24 2026
    (Merged from https://github.com/openssl/openssl/pull/30616)

diff --git a/crypto/x509/x509_def.c b/crypto/x509/x509_def.c
index 5a6ecaf476..797f687d13 100644
--- a/crypto/x509/x509_def.c
+++ b/crypto/x509/x509_def.c
@@ -30,7 +30,7 @@ static char *x509_cert_fileptr = NULL;

 static void get_windows_default_path(char *pathname, const char *suffix)
 {
-    char *ossldir;
+    const char *ossldir;

     ossldir = ossl_get_openssldir();