]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - engines/e_aep.c
Netware-specific changes,
[thirdparty/openssl.git] / engines / e_aep.c
index 8e10bb77604d148b2361617b2ecd08b552584c58..5083c80ef805c57a2e7357288f312f44ef5f4d99 100644 (file)
@@ -852,7 +852,11 @@ static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR phConnection)
 
        CRYPTO_w_lock(CRYPTO_LOCK_ENGINE);
 
+#ifndef NETWARE_CLIB
        curr_pid = getpid();
+#else
+       curr_pid = GetThreadID();
+#endif
 
        /*Check if this is the first time this is being called from the current
          process*/