summaryrefslogtreecommitdiffstats
path: root/android_compat_hacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'android_compat_hacks.c')
-rw-r--r--android_compat_hacks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/android_compat_hacks.c b/android_compat_hacks.c
index cf4863d..8eac801 100644
--- a/android_compat_hacks.c
+++ b/android_compat_hacks.c
@@ -53,6 +53,11 @@ BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn) {
return BN_bin2bn(data, sizeof(data), NULL);
}
+void ERR_remove_state(unsigned long pid) {
+ assert(pid == 0);
+ ERR_remove_thread_state(NULL);
+}
+
int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) {
return 0;
}