diff options
author | Adam Langley <agl@google.com> | 2015-01-08 02:06:31 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-01-08 03:22:22 +0300 |
commit | 7cc3f992ae6e68c09a19e7d6ac1518a4aeee6b72 (patch) | |
tree | eb6b43b5c9f6002a88d90d52514af44c6fbf879f /include/openssl/err.h | |
parent | aac2f6a6a00921499ed85787aace287724fbc07e (diff) |
Add declarations for Android compatibility funcs.
Some parts of Android can't be updated yet so this change adds
declarations (only) for some functions that will be stubbed in
Android-specific code. (That Android-specific code will live in the
Android repo, not the BoringSSL repo.)
Trying to use these functions outside of Android will result in a link
error.
Change-Id: Iaa9b956e6408d21cd8fc34d90d9c15657e429877
Reviewed-on: https://boringssl-review.googlesource.com/2760
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/err.h')
-rw-r--r-- | include/openssl/err.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h index ca1f6c48..071c5ba3 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h @@ -525,6 +525,15 @@ struct ERR_FNS_st { OPENSSL_EXPORT void ERR_load_BIO_strings(void); +/* Android compatibility section. + * + * These functions are declared, temporarily, for Android because + * wpa_supplicant will take a little time to sync with upstream. Outside of + * Android they'll have no definition. */ + +OPENSSL_EXPORT void ERR_remove_state(unsigned long pid); + + #if defined(__cplusplus) } /* extern C */ #endif |