summaryrefslogtreecommitdiff
path: root/src/lib/digester.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-13 12:23:37 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-13 12:23:37 +0100
commit283205f4bff717d0f70b5a4464df4ebd3581a51b (patch)
tree5dec6c2d09dda8c5202e1428a6d82a83781936ac /src/lib/digester.h
parenta306df9145d16046e51e8b7ff5222e341e98fdbd (diff)
Use nettle rather then openssl for MD5 digesting.
Diffstat (limited to 'src/lib/digester.h')
-rw-r--r--src/lib/digester.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/digester.h b/src/lib/digester.h
index 92eb5faa3..bec1f6416 100644
--- a/src/lib/digester.h
+++ b/src/lib/digester.h
@@ -18,7 +18,7 @@
*/
-#include <openssl/md5.h>
+#include <nettle/md5.h>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <string>
@@ -41,6 +41,6 @@ public:
std::string get () const;
private:
- mutable MD5_CTX _context;
+ mutable md5_ctx _context;
mutable boost::optional<std::string> _digest;
};