summaryrefslogtreecommitdiffstats
path: root/src/include/openssl/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/openssl/crypto.h')
-rw-r--r--src/include/openssl/crypto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/openssl/crypto.h b/src/include/openssl/crypto.h
index 5c974f8..3af1547 100644
--- a/src/include/openssl/crypto.h
+++ b/src/include/openssl/crypto.h
@@ -46,8 +46,9 @@ OPENSSL_EXPORT void CRYPTO_library_init(void);
* "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);
+/* SSLeay is a compatibility function that returns OPENSSL_VERSION_NUMBER from
+ * base.h. */
+OPENSSL_EXPORT unsigned long SSLeay(void);
#if defined(__cplusplus)