diff options
| author | tb <> | 2024-11-01 18:53:35 +0000 |
|---|---|---|
| committer | tb <> | 2024-11-01 18:53:35 +0000 |
| commit | 013a5fe68c85e0fe1231dc7b3a022c955674aae9 (patch) | |
| tree | c1fb0643dfd6047673e01b75ba6fe4641510bdb7 /src | |
| parent | 9ea4c33bfc3a3fe86f3d82531aeb6664450b499a (diff) | |
| download | openbsd-013a5fe68c85e0fe1231dc7b3a022c955674aae9.tar.gz openbsd-013a5fe68c85e0fe1231dc7b3a022c955674aae9.tar.bz2 openbsd-013a5fe68c85e0fe1231dc7b3a022c955674aae9.zip | |
More include sweeping in cms.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/cms/cms_asn1.c | 13 | ||||
| -rw-r--r-- | src/lib/libcrypto/cms/cms_ess.c | 15 | ||||
| -rw-r--r-- | src/lib/libcrypto/cms/cms_lib.c | 15 |
3 files changed, 26 insertions, 17 deletions
diff --git a/src/lib/libcrypto/cms/cms_asn1.c b/src/lib/libcrypto/cms/cms_asn1.c index 8f2e122369..2c95eddf03 100644 --- a/src/lib/libcrypto/cms/cms_asn1.c +++ b/src/lib/libcrypto/cms/cms_asn1.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cms_asn1.c,v 1.24 2024/07/09 06:12:45 beck Exp $ */ | 1 | /* $OpenBSD: cms_asn1.c,v 1.25 2024/11/01 18:53:35 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 4 | * project. | 4 | * project. |
| @@ -52,12 +52,17 @@ | |||
| 52 | * ==================================================================== | 52 | * ==================================================================== |
| 53 | */ | 53 | */ |
| 54 | 54 | ||
| 55 | #include <stddef.h> | ||
| 56 | #include <stdlib.h> | ||
| 57 | |||
| 58 | #include <openssl/asn1.h> | ||
| 55 | #include <openssl/asn1t.h> | 59 | #include <openssl/asn1t.h> |
| 56 | #include <openssl/pem.h> | ||
| 57 | #include <openssl/x509v3.h> | ||
| 58 | #include <openssl/cms.h> | 60 | #include <openssl/cms.h> |
| 59 | #include "cms_local.h" | 61 | #include <openssl/evp.h> |
| 62 | #include <openssl/x509.h> | ||
| 63 | #include <openssl/x509v3.h> | ||
| 60 | 64 | ||
| 65 | #include "cms_local.h" | ||
| 61 | 66 | ||
| 62 | static const ASN1_TEMPLATE CMS_IssuerAndSerialNumber_seq_tt[] = { | 67 | static const ASN1_TEMPLATE CMS_IssuerAndSerialNumber_seq_tt[] = { |
| 63 | { | 68 | { |
diff --git a/src/lib/libcrypto/cms/cms_ess.c b/src/lib/libcrypto/cms/cms_ess.c index cced998545..f01dcf73ed 100644 --- a/src/lib/libcrypto/cms/cms_ess.c +++ b/src/lib/libcrypto/cms/cms_ess.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cms_ess.c,v 1.25 2024/03/30 01:53:05 joshua Exp $ */ | 1 | /* $OpenBSD: cms_ess.c,v 1.26 2024/11/01 18:53:35 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 4 | * project. | 4 | * project. |
| @@ -52,17 +52,18 @@ | |||
| 52 | * ==================================================================== | 52 | * ==================================================================== |
| 53 | */ | 53 | */ |
| 54 | 54 | ||
| 55 | #include <stdlib.h> | ||
| 55 | #include <string.h> | 56 | #include <string.h> |
| 56 | 57 | ||
| 57 | #include <openssl/asn1t.h> | 58 | #include <openssl/asn1.h> |
| 58 | #include <openssl/pem.h> | ||
| 59 | #include <openssl/rand.h> | ||
| 60 | #include <openssl/x509v3.h> | ||
| 61 | #include <openssl/err.h> | ||
| 62 | #include <openssl/cms.h> | 59 | #include <openssl/cms.h> |
| 60 | #include <openssl/err.h> | ||
| 61 | #include <openssl/evp.h> | ||
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/x509.h> | ||
| 64 | #include <openssl/x509v3.h> | ||
| 63 | 65 | ||
| 64 | #include "cms_local.h" | 66 | #include "cms_local.h" |
| 65 | #include "x509_local.h" | ||
| 66 | 67 | ||
| 67 | CMS_ReceiptRequest * | 68 | CMS_ReceiptRequest * |
| 68 | d2i_CMS_ReceiptRequest(CMS_ReceiptRequest **a, const unsigned char **in, long len) | 69 | d2i_CMS_ReceiptRequest(CMS_ReceiptRequest **a, const unsigned char **in, long len) |
diff --git a/src/lib/libcrypto/cms/cms_lib.c b/src/lib/libcrypto/cms/cms_lib.c index 37eb3e294c..2d7a8d9f21 100644 --- a/src/lib/libcrypto/cms/cms_lib.c +++ b/src/lib/libcrypto/cms/cms_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cms_lib.c,v 1.25 2024/03/30 01:53:05 joshua Exp $ */ | 1 | /* $OpenBSD: cms_lib.c,v 1.26 2024/11/01 18:53:35 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 4 | * project. | 4 | * project. |
| @@ -52,13 +52,16 @@ | |||
| 52 | * ==================================================================== | 52 | * ==================================================================== |
| 53 | */ | 53 | */ |
| 54 | 54 | ||
| 55 | #include <openssl/asn1t.h> | 55 | #include <stddef.h> |
| 56 | #include <openssl/x509v3.h> | 56 | |
| 57 | #include <openssl/err.h> | ||
| 58 | #include <openssl/pem.h> | ||
| 59 | #include <openssl/bio.h> | ||
| 60 | #include <openssl/asn1.h> | 57 | #include <openssl/asn1.h> |
| 58 | #include <openssl/bio.h> | ||
| 61 | #include <openssl/cms.h> | 59 | #include <openssl/cms.h> |
| 60 | #include <openssl/err.h> | ||
| 61 | #include <openssl/evp.h> | ||
| 62 | #include <openssl/objects.h> | ||
| 63 | #include <openssl/x509.h> | ||
| 64 | #include <openssl/x509v3.h> | ||
| 62 | 65 | ||
| 63 | #include "cms_local.h" | 66 | #include "cms_local.h" |
| 64 | #include "x509_local.h" | 67 | #include "x509_local.h" |
