projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update ordinals
[oweals/openssl.git]
/
engines
/
e_aep.c
diff --git
a/engines/e_aep.c
b/engines/e_aep.c
index a91a39f0183ba3f3b9ce0d56b01d3df8ab8a5c77..742b4f9b186dea01a64567568781fa4dec93aecb 100644
(file)
--- a/
engines/e_aep.c
+++ b/
engines/e_aep.c
@@
-867,10
+867,12
@@
static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR phConnection)
CRYPTO_w_lock(CRYPTO_LOCK_ENGINE);
CRYPTO_w_lock(CRYPTO_LOCK_ENGINE);
-#ifndef NETWARE_CLIB
- curr_pid = getpid();
-#else
+#ifdef NETWARE_CLIB
curr_pid = GetThreadID();
curr_pid = GetThreadID();
+#elif defined(_WIN32)
+ curr_pid = _getpid();
+#else
+ curr_pid = getpid();
#endif
/*Check if this is the first time this is being called from the current
#endif
/*Check if this is the first time this is being called from the current