From 3a6c7cc3761444a21fa6ca3a3d6bbc3e44d69149 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 31 Aug 2012 22:19:11 +0000 Subject: [PATCH] build issue when openssl is not available --- panda/src/express/hashVal.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/panda/src/express/hashVal.cxx b/panda/src/express/hashVal.cxx index 8927b23243..1560decd75 100644 --- a/panda/src/express/hashVal.cxx +++ b/panda/src/express/hashVal.cxx @@ -14,10 +14,12 @@ #include "hashVal.h" #include "virtualFileSystem.h" -#include "openSSLWrapper.h" // must be included before any other openssl. -#include "openssl/md5.h" #include +#ifdef HAVE_OPENSSL +#include "openSSLWrapper.h" // must be included before any other openssl. +#include "openssl/md5.h" +#endif // HAVE_OPENSSL ////////////////////////////////////////////////////////////////////