summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa/rsa_none.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2023-07-08 12:26:46 +0000
committerBob Beck <beck@cvs.openbsd.org>2023-07-08 12:26:46 +0000
commita03a041ebfa060bcc1ed14c95fb031799b98628c (patch)
tree611979dec3bd5b718af152c3faa5dd4d2fbbb903 /lib/libcrypto/rsa/rsa_none.c
parenteb2e905842857137bbfde445198b5d5466c7659a (diff)
Hide symbols in rsa
ok tb@
Diffstat (limited to 'lib/libcrypto/rsa/rsa_none.c')
-rw-r--r--lib/libcrypto/rsa/rsa_none.c4
1 files changed, 3 insertions, 1 deletions
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);