diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-11 08:44:50 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-11 08:44:50 +0000 |
commit | 7262eba487248ace93831592b64babbfd9ffdf77 (patch) | |
tree | 5c2e5b7e9e56e7b42163be504755f904bad6cb48 /lib/libcrypto/evp/e_rc2.c | |
parent | 26e4c72fed0e35eecec27a1b3b1d1daa1559dc14 (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/evp/e_rc2.c')
-rw-r--r-- | lib/libcrypto/evp/e_rc2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/evp/e_rc2.c b/lib/libcrypto/evp/e_rc2.c index c164ab10f76..456a22eeeb6 100644 --- a/lib/libcrypto/evp/e_rc2.c +++ b/lib/libcrypto/evp/e_rc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_rc2.c,v 1.9 2014/07/10 22:45:57 jsing Exp $ */ +/* $OpenBSD: e_rc2.c,v 1.10 2014/07/11 08:44:48 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -60,15 +60,15 @@ #include <openssl/opensslconf.h> -#include "cryptlib.h" - #ifndef OPENSSL_NO_RC2 +#include <openssl/err.h> #include <openssl/evp.h> #include <openssl/objects.h> -#include "evp_locl.h" #include <openssl/rc2.h> +#include "evp_locl.h" + static int rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); static int rc2_meth_to_magic(EVP_CIPHER_CTX *ctx); |