From a03a041ebfa060bcc1ed14c95fb031799b98628c Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Sat, 8 Jul 2023 12:26:46 +0000 Subject: Hide symbols in rsa ok tb@ --- lib/libcrypto/rsa/rsa_none.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libcrypto/rsa/rsa_none.c') diff --git a/lib/libcrypto/rsa/rsa_none.c b/lib/libcrypto/rsa/rsa_none.c index 13d3449a9f4..9c53dcf5955 100644 --- a/lib/libcrypto/rsa/rsa_none.c +++ b/lib/libcrypto/rsa/rsa_none.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa_none.c,v 1.11 2017/01/29 17:49:23 beck Exp $ */ +/* $OpenBSD: rsa_none.c,v 1.12 2023/07/08 12:26:45 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -80,6 +80,7 @@ RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *from, memcpy(to, from, flen); return 1; } +LCRYPTO_ALIAS(RSA_padding_add_none); int RSA_padding_check_none(unsigned char *to, int tlen, const unsigned char *from, @@ -94,3 +95,4 @@ RSA_padding_check_none(unsigned char *to, int tlen, const unsigned char *from, memcpy(to + tlen - flen, from, flen); return tlen; } +LCRYPTO_ALIAS(RSA_padding_check_none); -- cgit v1.2.3