summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa/rsa_x931.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_x931.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_x931.c')
-rw-r--r--lib/libcrypto/rsa/rsa_x931.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/rsa/rsa_x931.c b/lib/libcrypto/rsa/rsa_x931.c
index 5809f62cbd0..8ee309e6c94 100644
--- a/lib/libcrypto/rsa/rsa_x931.c
+++ b/lib/libcrypto/rsa/rsa_x931.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsa_x931.c,v 1.7 2014/07/10 13:58:23 jsing Exp $ */
+/* $OpenBSD: rsa_x931.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2005.
*/
@@ -59,11 +59,11 @@
#include <stdio.h>
#include <string.h>
-#include "cryptlib.h"
#include <openssl/bn.h>
-#include <openssl/rsa.h>
-#include <openssl/rand.h>
+#include <openssl/err.h>
#include <openssl/objects.h>
+#include <openssl/rand.h>
+#include <openssl/rsa.h>
int
RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *from,