summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cms
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cms')
-rw-r--r--src/lib/libcrypto/cms/cms.h6
-rw-r--r--src/lib/libcrypto/cms/cms_cd.c4
-rw-r--r--src/lib/libcrypto/cms/cms_err.c7
3 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/libcrypto/cms/cms.h b/src/lib/libcrypto/cms/cms.h
index bacba68792..0e4aa6f9fc 100644
--- a/src/lib/libcrypto/cms/cms.h
+++ b/src/lib/libcrypto/cms/cms.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms.h,v 1.4 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: cms.h,v 1.5 2014/07/10 22:45:56 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 */
@@ -51,10 +51,11 @@
51 * ==================================================================== 51 * ====================================================================
52 */ 52 */
53 53
54
55#ifndef HEADER_CMS_H 54#ifndef HEADER_CMS_H
56#define HEADER_CMS_H 55#define HEADER_CMS_H
57 56
57#include <openssl/opensslconf.h>
58
58#include <openssl/x509.h> 59#include <openssl/x509.h>
59 60
60#ifdef OPENSSL_NO_CMS 61#ifdef OPENSSL_NO_CMS
@@ -65,7 +66,6 @@
65extern "C" { 66extern "C" {
66#endif 67#endif
67 68
68
69typedef struct CMS_ContentInfo_st CMS_ContentInfo; 69typedef struct CMS_ContentInfo_st CMS_ContentInfo;
70typedef struct CMS_SignerInfo_st CMS_SignerInfo; 70typedef struct CMS_SignerInfo_st CMS_SignerInfo;
71typedef struct CMS_CertificateChoices CMS_CertificateChoices; 71typedef struct CMS_CertificateChoices CMS_CertificateChoices;
diff --git a/src/lib/libcrypto/cms/cms_cd.c b/src/lib/libcrypto/cms/cms_cd.c
index 59c7224c05..2a67c5df30 100644
--- a/src/lib/libcrypto/cms/cms_cd.c
+++ b/src/lib/libcrypto/cms/cms_cd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_cd.c,v 1.3 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: cms_cd.c,v 1.4 2014/07/10 22:45:56 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 */
@@ -51,6 +51,8 @@
51 * ==================================================================== 51 * ====================================================================
52 */ 52 */
53 53
54#include <openssl/opensslconf.h>
55
54#include "cryptlib.h" 56#include "cryptlib.h"
55#include <openssl/asn1t.h> 57#include <openssl/asn1t.h>
56#include <openssl/pem.h> 58#include <openssl/pem.h>
diff --git a/src/lib/libcrypto/cms/cms_err.c b/src/lib/libcrypto/cms/cms_err.c
index 9d3fd8803f..4eb9188fd2 100644
--- a/src/lib/libcrypto/cms/cms_err.c
+++ b/src/lib/libcrypto/cms/cms_err.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_err.c,v 1.3 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: cms_err.c,v 1.4 2014/07/10 22:45:56 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1999-2009 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1999-2009 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -59,8 +59,11 @@
59 */ 59 */
60 60
61#include <stdio.h> 61#include <stdio.h>
62#include <openssl/err.h> 62
63#include <openssl/opensslconf.h>
64
63#include <openssl/cms.h> 65#include <openssl/cms.h>
66#include <openssl/err.h>
64 67
65/* BEGIN ERROR CODES */ 68/* BEGIN ERROR CODES */
66#ifndef OPENSSL_NO_ERR 69#ifndef OPENSSL_NO_ERR