[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Wed Jun 15 17:39:09 UTC 2016


The branch master has been updated
       via  9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e (commit)
      from  c8f717fe87632b3a29ad5d82718df28209ba72dd (commit)


- Log -----------------------------------------------------------------
commit 9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e
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>

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

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 3b162e1..f439d0d 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -314,7 +314,7 @@ static double Time_F(int s)
         if (thr == NULL) {
             DWORD err = GetLastError();
             BIO_printf(bio_err, "unable to CreateThread (%lu)", err);
-            ExitProcess(err);
+            TerminateProcess(GetCurrentProcess(), err);
         }
         while (!schlock)
             Sleep(0);           /* scheduler spinlock */
diff --git a/ms/uplink.c b/ms/uplink.c
index 7f7abfb..2096f2c 100644
--- a/ms/uplink.c
+++ b/ms/uplink.c
@@ -28,7 +28,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