aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-03 04:05:12 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-03 04:05:12 +0000
commitb3c2b62a14cdc6511b148dc048463674453b52fd (patch)
treed6eae937e0cd1cd217dae34f1ccdcfc7557558d8 /src/common/crypto.c
parentcb07e2ad2762cb2d7a4800b4b140459a0822e531 (diff)
downloadtor-b3c2b62a14cdc6511b148dc048463674453b52fd.tar.gz
tor-b3c2b62a14cdc6511b148dc048463674453b52fd.zip
Make "common" no longer depend on or.h
svn:r1466
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 74f75bde32..a666d4abe2 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2,7 +2,7 @@
/* See LICENSE for licensing information */
/* $Id$ */
-#include "../or/or.h"
+#include "orconfig.h"
#include <string.h>
@@ -22,9 +22,14 @@
#include <stdio.h>
#include <limits.h>
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+
#include "crypto.h"
#include "log.h"
#include "aes.h"
+#include "util.h"
#ifdef MS_WINDOWS
#include <wincrypt.h>