summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1/i2d_pu.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/asn1/i2d_pu.c')
-rw-r--r--lib/libcrypto/asn1/i2d_pu.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libcrypto/asn1/i2d_pu.c b/lib/libcrypto/asn1/i2d_pu.c
index 0f0369f3a52..6e485ea3254 100644
--- a/lib/libcrypto/asn1/i2d_pu.c
+++ b/lib/libcrypto/asn1/i2d_pu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2d_pu.c,v 1.9 2014/07/10 22:45:56 jsing Exp $ */
+/* $OpenBSD: i2d_pu.c,v 1.10 2014/07/11 08:44:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -60,19 +60,20 @@
#include <openssl/opensslconf.h>
-#include "cryptlib.h"
#include <openssl/bn.h>
+#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
-#ifndef OPENSSL_NO_RSA
-#include <openssl/rsa.h>
-#endif
+
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
#endif
#ifndef OPENSSL_NO_EC
#include <openssl/ec.h>
#endif
+#ifndef OPENSSL_NO_RSA
+#include <openssl/rsa.h>
+#endif
int
i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)