summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa
diff options
context:
space:
mode:
authortb <>2024-11-01 18:34:06 +0000
committertb <>2024-11-01 18:34:06 +0000
commit12b149689e9ecef5eabf56c91c4a00f1d0742bd0 (patch)
tree50dbf2120c2d877acc8fd462ded3fb682c9f7c17 /src/lib/libcrypto/rsa
parentd4ca6fa06f50f56e26012c7847abb219e21f3d1a (diff)
downloadopenbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.tar.gz
openbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.tar.bz2
openbsd-12b149689e9ecef5eabf56c91c4a00f1d0742bd0.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.c12
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"