diff options
| author | tb <> | 2024-11-01 18:34:06 +0000 |
|---|---|---|
| committer | tb <> | 2024-11-01 18:34:06 +0000 |
| commit | f9a68fe280d96dbf02f5338a1e3437222592c77b (patch) | |
| tree | 50dbf2120c2d877acc8fd462ded3fb682c9f7c17 /src/lib/libcrypto/rsa | |
| parent | 3c39eac68c33a021cedf9c599a597c309d96cee4 (diff) | |
| download | openbsd-f9a68fe280d96dbf02f5338a1e3437222592c77b.tar.gz openbsd-f9a68fe280d96dbf02f5338a1e3437222592c77b.tar.bz2 openbsd-f9a68fe280d96dbf02f5338a1e3437222592c77b.zip | |
Only include cryptlib.h where it's needed
Clean up the other includes while there.
Diffstat (limited to 'src/lib/libcrypto/rsa')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa_ameth.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_ameth.c b/src/lib/libcrypto/rsa/rsa_ameth.c index eb5d599bf0..a42f04d42c 100644 --- a/src/lib/libcrypto/rsa/rsa_ameth.c +++ b/src/lib/libcrypto/rsa/rsa_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa_ameth.c,v 1.60 2024/08/29 16:58:19 tb Exp $ */ | 1 | /* $OpenBSD: rsa_ameth.c,v 1.61 2024/11/01 18:34:06 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -57,19 +57,25 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <stdint.h> | ||
| 61 | #include <stdlib.h> | ||
| 60 | 62 | ||
| 61 | #include <openssl/opensslconf.h> | 63 | #include <openssl/opensslconf.h> |
| 62 | 64 | ||
| 63 | #include <openssl/asn1t.h> | 65 | #include <openssl/asn1.h> |
| 66 | #include <openssl/bio.h> | ||
| 64 | #include <openssl/bn.h> | 67 | #include <openssl/bn.h> |
| 65 | #include <openssl/cms.h> | 68 | #include <openssl/cms.h> |
| 66 | #include <openssl/err.h> | 69 | #include <openssl/err.h> |
| 70 | #include <openssl/evp.h> | ||
| 71 | #include <openssl/objects.h> | ||
| 72 | #include <openssl/pkcs7.h> | ||
| 67 | #include <openssl/rsa.h> | 73 | #include <openssl/rsa.h> |
| 74 | #include <openssl/sha.h> | ||
| 68 | #include <openssl/x509.h> | 75 | #include <openssl/x509.h> |
| 69 | 76 | ||
| 70 | #include "asn1_local.h" | 77 | #include "asn1_local.h" |
| 71 | #include "bn_local.h" | 78 | #include "bn_local.h" |
| 72 | #include "cryptlib.h" | ||
| 73 | #include "evp_local.h" | 79 | #include "evp_local.h" |
| 74 | #include "rsa_local.h" | 80 | #include "rsa_local.h" |
| 75 | #include "x509_local.h" | 81 | #include "x509_local.h" |
