summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cversion.c')
-rw-r--r--src/lib/libcrypto/cversion.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cversion.c b/src/lib/libcrypto/cversion.c
index 7ffa80ec26..b8b1a22a8a 100644
--- a/src/lib/libcrypto/cversion.c
+++ b/src/lib/libcrypto/cversion.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cversion.c,v 1.15 2014/07/11 11:42:28 jsing Exp $ */ 1/* $OpenBSD: cversion.c,v 1.16 2018/02/14 16:32:06 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -84,3 +84,15 @@ SSLeay(void)
84{ 84{
85 return (SSLEAY_VERSION_NUMBER); 85 return (SSLEAY_VERSION_NUMBER);
86} 86}
87
88const char *
89OpenSSL_version(int t)
90{
91 return SSLeay_version(t);
92}
93
94unsigned long
95OpenSSL_version_num(void)
96{
97 return SSLeay();
98}