summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-07-11 21:21:59 +0000
committerbeck <beck@openbsd.org>2014-07-11 21:21:59 +0000
commitab91d4b06864edd1757bb08f94a38a199dc1e9ca (patch)
tree1058e94a0ec139816758336a325b29451f7a6587
parentMove more files into the examples directory... (diff)
downloadwireguard-openbsd-ab91d4b06864edd1757bb08f94a38a199dc1e9ca.tar.xz
wireguard-openbsd-ab91d4b06864edd1757bb08f94a38a199dc1e9ca.zip
Provide LIBRESSL_VERSION_NUMBER for people who use such things to
detect versions distinct from OPENSSL_BLAH_WOOF.. ok jsing@ tedu@ deraadt@
-rw-r--r--lib/libcrypto/opensslv.h3
-rw-r--r--lib/libssl/src/crypto/opensslv.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/opensslv.h b/lib/libcrypto/opensslv.h
index ad602b054c9..4996768d225 100644
--- a/lib/libcrypto/opensslv.h
+++ b/lib/libcrypto/opensslv.h
@@ -1,7 +1,8 @@
-/* $OpenBSD: opensslv.h,v 1.26 2014/07/11 11:43:49 jsing Exp $ */
+/* $OpenBSD: opensslv.h,v 1.27 2014/07/11 21:21:59 beck Exp $ */
#ifndef HEADER_OPENSSLV_H
#define HEADER_OPENSSLV_H
+#define LIBRESSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_TEXT "LibreSSL 2.0"
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
diff --git a/lib/libssl/src/crypto/opensslv.h b/lib/libssl/src/crypto/opensslv.h
index ad602b054c9..4996768d225 100644
--- a/lib/libssl/src/crypto/opensslv.h
+++ b/lib/libssl/src/crypto/opensslv.h
@@ -1,7 +1,8 @@
-/* $OpenBSD: opensslv.h,v 1.26 2014/07/11 11:43:49 jsing Exp $ */
+/* $OpenBSD: opensslv.h,v 1.27 2014/07/11 21:21:59 beck Exp $ */
#ifndef HEADER_OPENSSLV_H
#define HEADER_OPENSSLV_H
+#define LIBRESSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_TEXT "LibreSSL 2.0"
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT