From: Peter van Dijk Date: Tue, 15 Oct 2013 14:10:07 +0000 (+0200) Subject: don't rely on included polarssl header files when using system polarssl. Spotted... X-Git-Tag: rec-3.6.0-rc1~404 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90839871d7a9cecd3259552eca8fe7e5ee37872d;p=pdns don't rely on included polarssl header files when using system polarssl. Spotted by Oden Eriksson of Mandriva, thanks! --- diff --git a/pdns/sha.hh b/pdns/sha.hh index 3d5b47b53..055d6f745 100644 --- a/pdns/sha.hh +++ b/pdns/sha.hh @@ -3,15 +3,9 @@ #include #include -#ifdef HAVE_LIBPOLARSSLSSL #include #include #include -#else -#include "ext/polarssl-1.1.2/include/polarssl/sha1.h" -#include "ext/polarssl-1.1.2/include/polarssl/sha2.h" -#include "ext/polarssl-1.1.2/include/polarssl/sha4.h" -#endif class SHA1Summer {