Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-05-20 02:30:20 +0300
committerAdam Langley <agl@google.com>2015-05-20 20:44:44 +0300
commitb3a262c9f10691b83b33568340590b8ba90950cc (patch)
tree5899a9286910cddb3d5a3a733ae3678adc20c415 /include/openssl/crypto.h
parentf0320d3c73f69a9a1d2701fa7ae911b03c97f085 (diff)
Fix |SSLeay|.
SSLeay is a compatibility function for OpenSSL, but I got it wrong. It doesn't return a string, it returns a number. This doesn't end up making any difference, but it fixes a warning when building OpenSSH. Change-Id: I327ab4f70313c93c18f81d8804ba4acdc3bc1a4a Reviewed-on: https://boringssl-review.googlesource.com/4811 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/crypto.h')
-rw-r--r--include/openssl/crypto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index 5c974f81..3af1547d 100644
--- a/include/openssl/crypto.h
+++ b/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)