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/rsa/rsa_lib.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/rsa/rsa_lib.c')
-rw-r--r-- | lib/libcrypto/rsa/rsa_lib.c | 8 |
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 |