diff options
author | 2014-07-11 08:44:47 +0000 | |
---|---|---|
committer | 2014-07-11 08:44:47 +0000 | |
commit | b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90 (patch) | |
tree | 732b2a0b08456ceb9bb211abdcc82bbe057fff19 /lib/libcrypto/x509/x509_ext.c | |
parent | Add a small note about LibReSSL at the start of this. (diff) | |
download | wireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.tar.xz wireguard-openbsd-b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90.zip |
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.
ok beck@ miod@
Diffstat (limited to 'lib/libcrypto/x509/x509_ext.c')
-rw-r--r-- | lib/libcrypto/x509/x509_ext.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libcrypto/x509/x509_ext.c b/lib/libcrypto/x509/x509_ext.c index 9d4f1d1122a..a5b5430ad41 100644 --- a/lib/libcrypto/x509/x509_ext.c +++ b/lib/libcrypto/x509/x509_ext.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_ext.c,v 1.7 2014/06/12 15:49:31 deraadt Exp $ */ +/* $OpenBSD: x509_ext.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -57,15 +57,14 @@ */ #include <stdio.h> -#include <openssl/stack.h> -#include "cryptlib.h" + #include <openssl/asn1.h> -#include <openssl/objects.h> #include <openssl/evp.h> +#include <openssl/objects.h> +#include <openssl/stack.h> #include <openssl/x509.h> #include <openssl/x509v3.h> - int X509_CRL_get_ext_count(X509_CRL *x) { |