diff options
author | Damien Miller <djm@mindrot.org> | 2018-09-13 12:13:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-09-13 12:13:50 +1000 |
commit | 48f54b9d12c1c79fba333bc86d455d8f4cda8cfc (patch) | |
tree | 216db3d44f6d07262ce4757e65705fcc9fb6b5fa /auth-pam.c | |
parent | 86112951d63d48839f035b5795be62635a463f99 (diff) |
adapt -portable to OpenSSL 1.1x API
Polyfill missing API with replacement functions extracted from LibreSSL
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c index 8c0138362..1dec53e92 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -128,6 +128,10 @@ extern u_int utmp_len; | |||
128 | typedef pthread_t sp_pthread_t; | 128 | typedef pthread_t sp_pthread_t; |
129 | #else | 129 | #else |
130 | typedef pid_t sp_pthread_t; | 130 | typedef pid_t sp_pthread_t; |
131 | #define pthread_exit fake_pthread_exit | ||
132 | #define pthread_create fake_pthread_create | ||
133 | #define pthread_cancel fake_pthread_cancel | ||
134 | #define pthread_join fake_pthread_join | ||
131 | #endif | 135 | #endif |
132 | 136 | ||
133 | struct pam_ctxt { | 137 | struct pam_ctxt { |