diff options
author | Andy Polyakov <appro@openssl.org> | 2008-12-30 13:30:57 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-12-30 13:30:57 +0000 |
commit | f17c45611e4c96df01e5664ad7ed52ec621dda41 (patch) | |
tree | 8ca72d003b9ed8ab3fc1fd12418c943a47a55ec8 /engines | |
parent | 1ff7b6492bdab064695ba76fe624001ee6e6b625 (diff) |
Backport http://cvs.openssl.org/chngview?cn=17710 from HEAD.
PR: 1230
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_aep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/e_aep.c b/engines/e_aep.c index ffdc354cdc..e24e4b424e 100644 --- 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); -#ifndef NETWARE_CLIB - curr_pid = getpid(); -#else +#ifdef NETWARE_CLIB 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 |