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
@@ -128,6 +128,10 @@ extern u_int utmp_len; typedef pthread_t sp_pthread_t; #else typedef pid_t sp_pthread_t; +#define pthread_exit fake_pthread_exit +#define pthread_create fake_pthread_create +#define pthread_cancel fake_pthread_cancel +#define pthread_join fake_pthread_join #endif struct pam_ctxt { |