diff options
author | 2014-05-18 16:21:03 +0000 | |
---|---|---|
committer | 2014-05-18 16:21:03 +0000 | |
commit | 1658ff46cce652e39cc1887d7f62d2339c9dc584 (patch) | |
tree | fae4ce9357d6ab923ad8a1944e082d2c940e5ecd /lib/libssl/src/apps/dsa.c | |
parent | Plug memory leaks upon error in OCSP_url_svcloc_new(). (diff) | |
download | wireguard-openbsd-1658ff46cce652e39cc1887d7f62d2339c9dc584.tar.xz wireguard-openbsd-1658ff46cce652e39cc1887d7f62d2339c9dc584.zip |
Group and sort includes.
Currently "apps.h" needs to be included before any of the openssl headers
and there are several cases where the code depends on headers that are
included by something included by apps.h...
More untangling saved for later on.
Diffstat (limited to 'lib/libssl/src/apps/dsa.c')
-rw-r--r-- | lib/libssl/src/apps/dsa.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/libssl/src/apps/dsa.c b/lib/libssl/src/apps/dsa.c index 81040193c73..4026ba5d229 100644 --- a/lib/libssl/src/apps/dsa.c +++ b/lib/libssl/src/apps/dsa.c @@ -56,21 +56,24 @@ * [including the GNU Public Licence.] */ -#include <openssl/opensslconf.h>/* for OPENSSL_NO_DSA */ +#include <openssl/opensslconf.h> /* for OPENSSL_NO_DSA */ + #ifndef OPENSSL_NO_DSA + #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <time.h> +#include <string.h> + #include "apps.h" + #include <openssl/bio.h> -#include <openssl/err.h> +#include <openssl/bn.h> #include <openssl/dsa.h> +#include <openssl/err.h> #include <openssl/evp.h> -#include <openssl/x509.h> #include <openssl/pem.h> -#include <openssl/bn.h> - +#include <openssl/x509.h> /* -inform arg - input format - default PEM (one of DER, NET or PEM) * -outform arg - output format - default PEM |