summaryrefslogtreecommitdiff
path: root/ms
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-06-16 15:59:42 +0100
committerMatt Caswell <matt@openssl.org>2016-06-16 17:37:37 +0100
commitf219a1b0485309b6814f00985f7bbb45e72ee374 (patch)
tree62345828f89286e04ffe234cf303249116a497a7 /ms
parentb02b57431718b74ddaf24cc3db004f145311abac (diff)
downloadopenssl-new-f219a1b0485309b6814f00985f7bbb45e72ee374.tar.gz
Revert "RT4526: Call TerminateProcess, not ExitProcess"
This reverts commit 9c1a9ccf65d0ea1912675d3a622fa8e51b524b9e. TerminateProcess is asynchronous, so the code as written in the above commit is not correct. It is also probably not needed in the speed case. Reverting in order to figure out the correct solution. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ms')
-rw-r--r--ms/uplink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/uplink.c b/ms/uplink.c
index 2096f2cacf..7f7abfbe57 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);
- TerminateProcess(GetCurrentProcess(), 1);
+ ExitProcess(1);
}
void OPENSSL_Uplink(volatile void **table, int index)