aboutsummaryrefslogtreecommitdiff
path: root/crypto/ct
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-03-20 10:14:13 -0400
committerRich Salz <rsalz@openssl.org>2016-03-20 16:02:22 -0400
commitd57611ea1fa8be1930dfbc3f113674348d11f14c (patch)
treeb637722c0a46629b0510ac5bbe7b6fcee821836c /crypto/ct
parent99cccf3643f96892196578cb599ca91661a7128c (diff)
downloadopenssl-d57611ea1fa8be1930dfbc3f113674348d11f14c.zip
openssl-d57611ea1fa8be1930dfbc3f113674348d11f14c.tar.gz
openssl-d57611ea1fa8be1930dfbc3f113674348d11f14c.tar.bz2
ct_int.h only needed by crypto/ct
Merge ct_int.h into ct_locl.h Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/ct')
-rw-r--r--crypto/ct/ct_locl.h6
-rw-r--r--crypto/ct/ct_x509v3.c7
2 files changed, 6 insertions, 7 deletions
diff --git a/crypto/ct/ct_locl.h b/crypto/ct/ct_locl.h
index 66a6d1c..659120b 100644
--- a/crypto/ct/ct_locl.h
+++ b/crypto/ct/ct_locl.h
@@ -55,10 +55,10 @@
#endif
#include <stddef.h>
-
#include <openssl/ct.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include <openssl/x509v3.h>
#include <openssl/safestack.h>
/*
@@ -214,3 +214,7 @@ __owur int SCT_is_complete(const SCT *sct);
__owur int SCT_signature_is_complete(const SCT *sct);
+/*
+ * Handlers for Certificate Transparency X509v3/OCSP extensions
+ */
+extern const X509V3_EXT_METHOD v3_ct_scts[];
diff --git a/crypto/ct/ct_x509v3.c b/crypto/ct/ct_x509v3.c
index db2c0e4..ac37231 100644
--- a/crypto/ct/ct_x509v3.c
+++ b/crypto/ct/ct_x509v3.c
@@ -60,12 +60,7 @@
# error "CT is disabled"
#endif
-#include <openssl/bio.h>
-#include <openssl/ct.h>
-#include <openssl/obj_mac.h>
-#include <openssl/x509v3.h>
-
-#include "internal/ct_int.h"
+#include "ct_locl.h"
static char *i2s_poison(const X509V3_EXT_METHOD *method, void *val)
{