summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-07-11 08:44:50 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-07-11 08:44:50 +0000
commit7262eba487248ace93831592b64babbfd9ffdf77 (patch)
tree5c2e5b7e9e56e7b42163be504755f904bad6cb48 /lib/libcrypto/rsa/rsa_lib.c
parent26e4c72fed0e35eecec27a1b3b1d1daa1559dc14 (diff)
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/rsa/rsa_lib.c')
-rw-r--r--lib/libcrypto/rsa/rsa_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/rsa/rsa_lib.c b/lib/libcrypto/rsa/rsa_lib.c
index d7a51c7b05c..157c347f880 100644
--- a/lib/libcrypto/rsa/rsa_lib.c
+++ b/lib/libcrypto/rsa/rsa_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsa_lib.c,v 1.27 2014/07/10 22:45:57 jsing Exp $ */
+/* $OpenBSD: rsa_lib.c,v 1.28 2014/07/11 08:44:49 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -60,12 +60,12 @@
#include <openssl/opensslconf.h>
+#include <openssl/bn.h>
#include <openssl/crypto.h>
-#include "cryptlib.h"
#include <openssl/lhash.h>
-#include <openssl/bn.h>
-#include <openssl/rsa.h>
#include <openssl/rand.h>
+#include <openssl/rsa.h>
+
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif