projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e102f9
)
RT4526: Call TerminateProcess, not ExitProcess
author
Rich Salz
<rsalz@openssl.org>
Tue, 14 Jun 2016 20:19:37 +0000
(16:19 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 15 Jun 2016 17:42:17 +0000
(13:42 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit
9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e
)
apps/speed.c
patch
|
blob
|
history
ms/uplink.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index 95adcc19cc15f13dc0f8dd73c4f47fd791bf6b5f..a37c9b547d5363056da505ca14852276c6d226f2 100644
(file)
--- 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 e58ab9d8f58e14f799ffb69fdedd364d95c642a5..c5c9cd4f71b2db6742a731b07bf4d4697ec06070 100644
(file)
--- 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)