diff options
| author | jsing <> | 2019-11-04 15:18:45 +0000 |
|---|---|---|
| committer | jsing <> | 2019-11-04 15:18:45 +0000 |
| commit | c55581ae1fa4871bb28fa65dd71e381243edc5d3 (patch) | |
| tree | 9e21c917cc6adc0e63d926a52f37ebfce29a458d /src | |
| parent | 96ca5431d7a077073b68bc4028037880a2aaaa18 (diff) | |
| download | openbsd-c55581ae1fa4871bb28fa65dd71e381243edc5d3.tar.gz openbsd-c55581ae1fa4871bb28fa65dd71e381243edc5d3.tar.bz2 openbsd-c55581ae1fa4871bb28fa65dd71e381243edc5d3.zip | |
Currently we need to include pem.h before cms.h...
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/cms.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/cms.c b/src/usr.bin/openssl/cms.c index 1658675e92..b726389487 100644 --- a/src/usr.bin/openssl/cms.c +++ b/src/usr.bin/openssl/cms.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cms.c,v 1.9 2019/11/04 14:49:59 jsing Exp $ */ | 1 | /* $OpenBSD: cms.c,v 1.10 2019/11/04 15:18:45 jsing 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. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -60,13 +60,14 @@ | |||
| 60 | 60 | ||
| 61 | #ifndef OPENSSL_NO_CMS | 61 | #ifndef OPENSSL_NO_CMS |
| 62 | 62 | ||
| 63 | #include <openssl/cms.h> | ||
| 64 | #include <openssl/crypto.h> | 63 | #include <openssl/crypto.h> |
| 65 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
| 66 | #include <openssl/pem.h> | 65 | #include <openssl/pem.h> |
| 67 | #include <openssl/x509_vfy.h> | 66 | #include <openssl/x509_vfy.h> |
| 68 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
| 69 | 68 | ||
| 69 | #include <openssl/cms.h> | ||
| 70 | |||
| 70 | static int save_certs(char *signerfile, STACK_OF(X509) * signers); | 71 | static int save_certs(char *signerfile, STACK_OF(X509) * signers); |
| 71 | static int cms_cb(int ok, X509_STORE_CTX * ctx); | 72 | static int cms_cb(int ok, X509_STORE_CTX * ctx); |
| 72 | static void receipt_request_print(BIO * out, CMS_ContentInfo * cms); | 73 | static void receipt_request_print(BIO * out, CMS_ContentInfo * cms); |
