diff options
author | Rich Salz <rsalz@openssl.org> | 2016-03-20 10:14:13 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-20 16:02:22 -0400 |
commit | d57611ea1fa8be1930dfbc3f113674348d11f14c (patch) | |
tree | b637722c0a46629b0510ac5bbe7b6fcee821836c /crypto/ct | |
parent | 99cccf3643f96892196578cb599ca91661a7128c (diff) |
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.h | 6 | ||||
-rw-r--r-- | crypto/ct/ct_x509v3.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/crypto/ct/ct_locl.h b/crypto/ct/ct_locl.h index 66a6d1cfcd..659120b8c2 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 db2c0e4875..ac37231a7b 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) { |