diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 08:28:24 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 08:28:24 +0000 |
commit | e8aad34d35a3c2078ef6d39ce1a0a22db7a5d6aa (patch) | |
tree | f0151bab4e5f38f2ffd0fb5e2de47825e9a7aab6 /lib/libcrypto/cversion.c | |
parent | 4068a10d1fb7ba76e13d7cb3cfd8651ce669e54a (diff) |
Hide symbols in crypto.h
ok jsing@
Diffstat (limited to 'lib/libcrypto/cversion.c')
-rw-r--r-- | lib/libcrypto/cversion.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcrypto/cversion.c b/lib/libcrypto/cversion.c index 2d4460d10d8..acb7b705435 100644 --- a/lib/libcrypto/cversion.c +++ b/lib/libcrypto/cversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cversion.c,v 1.17 2018/02/17 06:56:12 jsing Exp $ */ +/* $OpenBSD: cversion.c,v 1.18 2023/07/08 08:28:23 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -78,12 +78,14 @@ SSLeay_version(int t) } return("not available"); } +LCRYPTO_ALIAS(SSLeay_version); unsigned long SSLeay(void) { return (SSLEAY_VERSION_NUMBER); } +LCRYPTO_ALIAS(SSLeay); const char * OpenSSL_version(int t) @@ -104,9 +106,11 @@ OpenSSL_version(int t) } return("not available"); } +LCRYPTO_ALIAS(OpenSSL_version); unsigned long OpenSSL_version_num(void) { return SSLeay(); } +LCRYPTO_ALIAS(OpenSSL_version_num); |