minor fixes for Windows
authorViktor Szakats <commit@vszakats.net>
Tue, 11 Sep 2018 22:34:00 +0000 (22:34 +0000)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 12 Sep 2018 07:36:05 +0000 (09:36 +0200)
- fix to use secure URL in generated Windows resources
- fix a potentially uninitialized variable

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7189)

crypto/cryptlib.c
util/mkrc.pl

index 3b878cd0c20e1c56ffe9ff2dcc5cdeb2e07e8c45..9e59e03ef6f924add58fba255b3d472e815a6b39 100644 (file)
@@ -198,7 +198,7 @@ int OPENSSL_isservice(void)
 
     if (_OPENSSL_isservice.p == NULL) {
         HANDLE mod = GetModuleHandle(NULL);
-        FARPROC f;
+        FARPROC f = NULL;
 
         if (mod != NULL)
             f = GetProcAddress(mod, "_OPENSSL_isservice");
index c177349c13e4cee9e377df78129ed02a66286505..96f56f34d12a24ce51035825a60e901644304b29 100755 (executable)
@@ -60,7 +60,7 @@ BEGIN
         BLOCK "040904b0"
         BEGIN
             // Required:
-            VALUE "CompanyName", "The OpenSSL Project, http://www.openssl.org/\\0"
+            VALUE "CompanyName", "The OpenSSL Project, https://www.openssl.org/\\0"
             VALUE "FileDescription", "$description\\0"
             VALUE "FileVersion", "$version\\0"
             VALUE "InternalName", "$basename\\0"