[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Rich Salz rsalz at openssl.org
Thu Jun 16 01:35:20 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  75f90688fb2dec0f897cad8be8b92be725c5016b (commit)
      from  5e102f96eb6fcdba1db2dba41132f92fa492aea0 (commit)


- Log -----------------------------------------------------------------
commit 75f90688fb2dec0f897cad8be8b92be725c5016b
Author: Rich Salz <rsalz at openssl.org>
Date:   Tue Jun 14 16:19:37 2016 -0400

    RT4526: Call TerminateProcess, not ExitProcess
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (cherry picked from commit 9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e)

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

Summary of changes:
 apps/speed.c | 2 +-
 ms/uplink.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/speed.c b/apps/speed.c
index 95adcc1..a37c9b5 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -332,7 +332,7 @@ static double Time_F(int s)
         if (thr == NULL) {
             DWORD ret = GetLastError();
             BIO_printf(bio_err, "unable to CreateThread (%d)", ret);
-            ExitProcess(ret);
+            TerminateProcess(GetCurrentProcess(), err);
         }
         CloseHandle(thr);       /* detach the thread */
         while (!schlock)
diff --git a/ms/uplink.c b/ms/uplink.c
index e58ab9d..c5c9cd4 100644
--- a/ms/uplink.c
+++ b/ms/uplink.c
@@ -19,7 +19,7 @@ static TCHAR msg[128];
 static void unimplemented(void)
 {
     OPENSSL_showfatal(sizeof(TCHAR) == sizeof(char) ? "%s\n" : "%S\n", msg);
-    ExitProcess(1);
+    TerminateProcess(GetCurrentProcess(), 1);
 }
 
 void OPENSSL_Uplink(volatile void **table, int index)


More information about the openssl-commits mailing list