Browse Source

build issue when openssl is not available

David Rose 13 years ago
parent
commit
3a6c7cc376
1 changed files with 4 additions and 2 deletions
  1. 4 2
      panda/src/express/hashVal.cxx

+ 4 - 2
panda/src/express/hashVal.cxx

@@ -14,10 +14,12 @@
 
 
 #include "hashVal.h"
 #include "hashVal.h"
 #include "virtualFileSystem.h"
 #include "virtualFileSystem.h"
-#include "openSSLWrapper.h"  // must be included before any other openssl.
-#include "openssl/md5.h"
 #include <ctype.h>
 #include <ctype.h>
 
 
+#ifdef HAVE_OPENSSL
+#include "openSSLWrapper.h"  // must be included before any other openssl.
+#include "openssl/md5.h"
+#endif  // HAVE_OPENSSL
 
 
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////