diff options
author | tb <> | 2022-01-07 09:55:32 +0000 |
---|---|---|
committer | tb <> | 2022-01-07 09:55:32 +0000 |
commit | 79f266d95b1179bddc9e06127734346144314625 (patch) | |
tree | 9afc0fd9f58b3648023e49cee129daba751aee74 /src/lib/libcrypto/rsa/rsa_eay.c | |
parent | e34065049e662885183a2bfa41208d2873c1d205 (diff) | |
download | openbsd-79f266d95b1179bddc9e06127734346144314625.tar.gz openbsd-79f266d95b1179bddc9e06127734346144314625.tar.bz2 openbsd-79f266d95b1179bddc9e06127734346144314625.zip |
Prepare to make RSA and RSA_METHOD opaque by including rsa_locl.h
where it will be needed in the upcoming bump.
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_eay.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_eay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_eay.c b/src/lib/libcrypto/rsa/rsa_eay.c index e9fc67349b..a45cad0d0a 100644 --- a/src/lib/libcrypto/rsa/rsa_eay.c +++ b/src/lib/libcrypto/rsa/rsa_eay.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_eay.c,v 1.52 2021/12/26 15:16:50 tb Exp $ */ | 1 | /* $OpenBSD: rsa_eay.c,v 1.53 2022/01/07 09:55:32 tb 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 | * |
@@ -119,6 +119,7 @@ | |||
119 | #include <openssl/rsa.h> | 119 | #include <openssl/rsa.h> |
120 | 120 | ||
121 | #include "bn_lcl.h" | 121 | #include "bn_lcl.h" |
122 | #include "rsa_locl.h" | ||
122 | 123 | ||
123 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, | 124 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, |
124 | unsigned char *to, RSA *rsa, int padding); | 125 | unsigned char *to, RSA *rsa, int padding); |