diff options
author | Adam Langley <agl@google.com> | 2014-09-06 04:04:51 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-09-19 02:38:11 +0400 |
commit | bed8ce78f001c600a143966b932f8e587c35e573 (patch) | |
tree | 543a11672b14d1425a80152f24b36243e4b6c42e /include/openssl/bio.h | |
parent | d7c5368a0f67e8f393384170fe230bf9f598f4cb (diff) |
Add misc functions for easier porting.
Android requested that the wpa_supplicant go upstream. This change adds
some dummy functions and reinstates DSA_dup_DH in order to make the diff
smaller and easier for upstream.
Change-Id: I77ac271b8652bae5a0bbe16afde51d9096f3dfb5
Reviewed-on: https://boringssl-review.googlesource.com/1740
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/bio.h')
-rw-r--r-- | include/openssl/bio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index da0a356b..547a36ab 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -235,6 +235,10 @@ OPENSSL_EXPORT long BIO_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp); /* BIO_pending returns the number of bytes pending to be read. */ OPENSSL_EXPORT size_t BIO_pending(const BIO *bio); +/* BIO_ctrl_pending calls |BIO_pending| and exists only for compatibility with + * OpenSSL. */ +OPENSSL_EXPORT size_t BIO_ctrl_pending(const BIO *bio); + /* BIO_wpending returns the number of bytes pending to be written. */ OPENSSL_EXPORT size_t BIO_wpending(const BIO *bio); |