summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/ecparam.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-18 16:21:03 +0000
committerjsing <jsing@openbsd.org>2014-05-18 16:21:03 +0000
commit1658ff46cce652e39cc1887d7f62d2339c9dc584 (patch)
treefae4ce9357d6ab923ad8a1944e082d2c940e5ecd /lib/libssl/src/apps/ecparam.c
parentPlug memory leaks upon error in OCSP_url_svcloc_new(). (diff)
downloadwireguard-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/ecparam.c')
-rw-r--r--lib/libssl/src/apps/ecparam.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libssl/src/apps/ecparam.c b/lib/libssl/src/apps/ecparam.c
index 84ecba72f54..9d517eaf437 100644
--- a/lib/libssl/src/apps/ecparam.c
+++ b/lib/libssl/src/apps/ecparam.c
@@ -70,20 +70,23 @@
*/
#include <openssl/opensslconf.h>
+
#ifndef OPENSSL_NO_EC
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
-#include <time.h>
#include <string.h>
+#include <time.h>
+
#include "apps.h"
+
#include <openssl/bio.h>
-#include <openssl/err.h>
#include <openssl/bn.h>
#include <openssl/ec.h>
-#include <openssl/x509.h>
+#include <openssl/err.h>
#include <openssl/pem.h>
-
+#include <openssl/x509.h>
/* -inform arg - input format - default PEM (DER or PEM)
* -outform arg - output format - default PEM