about summary refs log tree commit diff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-04T15·07+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-04T15·37+0100
commita6ca68a70c3bc0b2e6abad70346c99642a896f9f (patch)
tree13479db1389cbfa852b822517b7ac82c5630039c /src/libutil/hash.cc
parent85aeedb9bce365a8eef09a88f0e47c8fd4b21128 (diff)
Require OpenSSL
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r--src/libutil/hash.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index 1d973e7c8f14..8a83ed67fe38 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -3,16 +3,8 @@
 #include <iostream>
 #include <cstring>
 
-#ifdef HAVE_OPENSSL
 #include <openssl/md5.h>
 #include <openssl/sha.h>
-#else
-extern "C" {
-#include "md5.h"
-#include "sha1.h"
-#include "sha256.h"
-}
-#endif
 
 #include "hash.hh"
 #include "archive.hh"