summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/cms')
-rw-r--r--lib/libcrypto/cms/cms_cd.c11
-rw-r--r--lib/libcrypto/cms/cms_dd.c8
-rw-r--r--lib/libcrypto/cms/cms_enc.c10
-rw-r--r--lib/libcrypto/cms/cms_env.c12
-rw-r--r--lib/libcrypto/cms/cms_ess.c8
-rw-r--r--lib/libcrypto/cms/cms_pwri.c14
-rw-r--r--lib/libcrypto/cms/cms_sd.c10
-rw-r--r--lib/libcrypto/cms/cms_smime.c8
8 files changed, 41 insertions, 40 deletions
diff --git a/lib/libcrypto/cms/cms_cd.c b/lib/libcrypto/cms/cms_cd.c
index 2a67c5df308..bcf1506916e 100644
--- a/lib/libcrypto/cms/cms_cd.c
+++ b/lib/libcrypto/cms/cms_cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_cd.c,v 1.4 2014/07/10 22:45:56 jsing Exp $ */
+/* $OpenBSD: cms_cd.c,v 1.5 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -53,16 +53,17 @@
#include <openssl/opensslconf.h>
-#include "cryptlib.h"
#include <openssl/asn1t.h>
+#include <openssl/bio.h>
+#include <openssl/cms.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
-#include <openssl/err.h>
-#include <openssl/cms.h>
-#include <openssl/bio.h>
+
#ifndef OPENSSL_NO_COMP
#include <openssl/comp.h>
#endif
+
#include "cms_lcl.h"
DECLARE_ASN1_ITEM(CMS_CompressedData)
diff --git a/lib/libcrypto/cms/cms_dd.c b/lib/libcrypto/cms/cms_dd.c
index 7b1fff889a0..eee25f5f07e 100644
--- a/lib/libcrypto/cms/cms_dd.c
+++ b/lib/libcrypto/cms/cms_dd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_dd.c,v 1.3 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_dd.c,v 1.4 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,12 +51,12 @@
* ====================================================================
*/
-#include "cryptlib.h"
#include <openssl/asn1t.h>
+#include <openssl/cms.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
-#include <openssl/err.h>
-#include <openssl/cms.h>
+
#include "cms_lcl.h"
DECLARE_ASN1_ITEM(CMS_DigestedData)
diff --git a/lib/libcrypto/cms/cms_enc.c b/lib/libcrypto/cms/cms_enc.c
index faa1b14d4bc..efe19a3131e 100644
--- a/lib/libcrypto/cms/cms_enc.c
+++ b/lib/libcrypto/cms/cms_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_enc.c,v 1.4 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_enc.c,v 1.5 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,13 +51,13 @@
* ====================================================================
*/
-#include "cryptlib.h"
#include <openssl/asn1t.h>
-#include <openssl/pem.h>
-#include <openssl/x509v3.h>
-#include <openssl/err.h>
#include <openssl/cms.h>
+#include <openssl/err.h>
+#include <openssl/pem.h>
#include <openssl/rand.h>
+#include <openssl/x509v3.h>
+
#include "cms_lcl.h"
/* CMS EncryptedData Utilities */
diff --git a/lib/libcrypto/cms/cms_env.c b/lib/libcrypto/cms/cms_env.c
index 2dd4e2fabab..66ec1a93432 100644
--- a/lib/libcrypto/cms/cms_env.c
+++ b/lib/libcrypto/cms/cms_env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_env.c,v 1.5 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_env.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,14 +51,14 @@
* ====================================================================
*/
-#include "cryptlib.h"
+#include <openssl/aes.h>
#include <openssl/asn1t.h>
-#include <openssl/pem.h>
-#include <openssl/x509v3.h>
-#include <openssl/err.h>
#include <openssl/cms.h>
+#include <openssl/err.h>
+#include <openssl/pem.h>
#include <openssl/rand.h>
-#include <openssl/aes.h>
+#include <openssl/x509v3.h>
+
#include "cms_lcl.h"
#include "asn1_locl.h"
diff --git a/lib/libcrypto/cms/cms_ess.c b/lib/libcrypto/cms/cms_ess.c
index f972ff3ee33..e3b7e7da4c8 100644
--- a/lib/libcrypto/cms/cms_ess.c
+++ b/lib/libcrypto/cms/cms_ess.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_ess.c,v 1.5 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_ess.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,13 +51,13 @@
* ====================================================================
*/
-#include "cryptlib.h"
#include <openssl/asn1t.h>
+#include <openssl/cms.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/x509v3.h>
-#include <openssl/err.h>
-#include <openssl/cms.h>
+
#include "cms_lcl.h"
DECLARE_ASN1_ITEM(CMS_ReceiptRequest)
diff --git a/lib/libcrypto/cms/cms_pwri.c b/lib/libcrypto/cms/cms_pwri.c
index 04d0cb833f2..ea3fbf87dd4 100644
--- a/lib/libcrypto/cms/cms_pwri.c
+++ b/lib/libcrypto/cms/cms_pwri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_pwri.c,v 1.5 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_pwri.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,16 +51,16 @@
* ====================================================================
*/
-#include "cryptlib.h"
+#include <openssl/aes.h>
#include <openssl/asn1t.h>
-#include <openssl/pem.h>
-#include <openssl/x509v3.h>
-#include <openssl/err.h>
#include <openssl/cms.h>
+#include <openssl/err.h>
+#include <openssl/pem.h>
#include <openssl/rand.h>
-#include <openssl/aes.h>
-#include "cms_lcl.h"
+#include <openssl/x509v3.h>
+
#include "asn1_locl.h"
+#include "cms_lcl.h"
int
CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass,
diff --git a/lib/libcrypto/cms/cms_sd.c b/lib/libcrypto/cms/cms_sd.c
index 0993502a1da..63c3f69bae2 100644
--- a/lib/libcrypto/cms/cms_sd.c
+++ b/lib/libcrypto/cms/cms_sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_sd.c,v 1.5 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_sd.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,14 +51,14 @@
* ====================================================================
*/
-#include "cryptlib.h"
#include <openssl/asn1t.h>
+#include <openssl/cms.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
-#include <openssl/err.h>
-#include <openssl/cms.h>
-#include "cms_lcl.h"
+
#include "asn1_locl.h"
+#include "cms_lcl.h"
/* CMS SignedData Utilities */
diff --git a/lib/libcrypto/cms/cms_smime.c b/lib/libcrypto/cms/cms_smime.c
index 049ef69d382..4f80561e5d8 100644
--- a/lib/libcrypto/cms/cms_smime.c
+++ b/lib/libcrypto/cms/cms_smime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_smime.c,v 1.10 2014/06/12 15:49:28 deraadt Exp $ */
+/* $OpenBSD: cms_smime.c,v 1.11 2014/07/11 08:44:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -51,12 +51,12 @@
* ====================================================================
*/
-#include "cryptlib.h"
#include <openssl/asn1t.h>
+#include <openssl/cms.h>
+#include <openssl/err.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
-#include <openssl/err.h>
-#include <openssl/cms.h>
+
#include "cms_lcl.h"
static int