[or-cvs] r11885: Remove a bunch of redundant includes in crypto.c (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Thu Oct 11 21:40:32 UTC 2007


Author: nickm
Date: 2007-10-11 17:40:32 -0400 (Thu, 11 Oct 2007)
New Revision: 11885

Modified:
   tor/trunk/
   tor/trunk/src/common/crypto.c
Log:
 r15702 at catbus:  nickm | 2007-10-11 17:29:20 -0400
 Remove a bunch of redundant includes in crypto.c



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r15702] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/common/crypto.c
===================================================================
--- tor/trunk/src/common/crypto.c	2007-10-11 21:37:41 UTC (rev 11884)
+++ tor/trunk/src/common/crypto.c	2007-10-11 21:40:32 UTC (rev 11885)
@@ -22,8 +22,6 @@
 #include <wincrypt.h>
 #endif
 
-#include <string.h>
-
 #include <openssl/err.h>
 #include <openssl/rsa.h>
 #include <openssl/pem.h>
@@ -32,15 +30,8 @@
 #include <openssl/opensslv.h>
 #include <openssl/bn.h>
 #include <openssl/dh.h>
-#include <openssl/rsa.h>
-#include <openssl/dh.h>
 #include <openssl/conf.h>
 
-#include <stdlib.h>
-#include <assert.h>
-#include <stdio.h>
-#include <limits.h>
-
 #ifdef HAVE_CTYPE_H
 #include <ctype.h>
 #endif



More information about the tor-commits mailing list