summaryrefslogtreecommitdiffstats
path: root/src/include/openssl/crypto.h
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-03-24 18:25:20 -0700
committerAdam Langley <agl@google.com>2015-03-24 18:28:00 -0700
commitf40f42df67fffec64967b000e4fdad4b435611a5 (patch)
tree086deea6861fc4705bb472a41a0f3aa62c4c38da /src/include/openssl/crypto.h
parentb051df5cb1e83aa9ffdfe28406b6d9e33321912a (diff)
downloadexternal_boringssl-f40f42df67fffec64967b000e4fdad4b435611a5.zip
external_boringssl-f40f42df67fffec64967b000e4fdad4b435611a5.tar.gz
external_boringssl-f40f42df67fffec64967b000e4fdad4b435611a5.tar.bz2
Changes to work with OpenSSH and wpa_supplicant.
Change-Id: I19ed78acc67bd0ad8b905ce0ac628b39da8bb161
Diffstat (limited to 'src/include/openssl/crypto.h')
-rw-r--r--src/include/openssl/crypto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/openssl/crypto.h b/src/include/openssl/crypto.h
index 112431e..e58d5f0 100644
--- a/src/include/openssl/crypto.h
+++ b/src/include/openssl/crypto.h
@@ -32,6 +32,17 @@ extern "C" {
* nothing and a static initializer is used instead. */
OPENSSL_EXPORT void CRYPTO_library_init(void);
+#define OPENSSL_VERSION_TEXT "BoringSSL"
+
+#define SSLEAY_VERSION 0
+
+/* SSLeay_version is a compatibility function that returns the string
+ * "BoringSSL". */
+OPENSSL_EXPORT const char *SSLeay_version(int unused);
+
+/* SSLeay is a compatibility function that returns the string "BoringSSL". */
+OPENSSL_EXPORT const char *SSLeay(void);
+
#if defined(__cplusplus)
} /* extern C */