src: Renaming class to spell out them (Adl, Nhl, Npl, Npt, Npte)

Refs: #1534

Change-Id: If4a205e8ad2419505cc796027a5c863471ef5439
diff --git a/nsync/openssl.h b/nsync/openssl.h
new file mode 100644
index 0000000..a8707a9
--- /dev/null
+++ b/nsync/openssl.h
@@ -0,0 +1,21 @@
+#ifndef NSYNC_OPENSSL_H
+#define NSYNC_OPENSSL_H
+
+// suppress deprecation warnings in OSX >= 10.7
+
+#if defined(__APPLE__)
+
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+#endif // __clang__
+
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif // __GNUC__
+
+#endif
+
+
+#include <openssl/evp.h>
+
+#endif // NSYNC_OPENSSL_H
diff --git a/nsync/sync-digest.h b/nsync/sync-digest.h
index ecc8522..da45758 100644
--- a/nsync/sync-digest.h
+++ b/nsync/sync-digest.h
@@ -17,16 +17,16 @@
  *
  * Author: Zhenkai Zhu <zhenkai@cs.ucla.edu>
  *         Chaoyi Bian <bcy@pku.edu.cn>
- *	   Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+ *         Alexander Afanasyev <alexander.afanasyev@ucla.edu>
  */
 
 #ifndef SYNC_DIGEST_H
 #define SYNC_DIGEST_H
 
 #include <boost/exception/all.hpp>
-#include <openssl/evp.h>
 #include <boost/cstdint.hpp>
 #include <vector>
+#include "openssl.h"
 
 namespace Sync {
 
@@ -47,7 +47,7 @@
    */
   bool
   empty () const;
-  
+
   /**
    * @brief Reset digest to the initial state
    */
@@ -84,7 +84,7 @@
   bool
   operator != (const Digest &digest) const
   { return ! (*this == digest); }
-  
+
 
   /**
    * @brief Add existing digest to digest calculation
@@ -116,11 +116,11 @@
    */
   bool
   isZero () const;
-  
+
 private:
   Digest &
   operator = (Digest &digest) { (void)digest; return *this; }
-  
+
   /**
    * @brief Add size bytes of buffer to the hash
    */
@@ -132,7 +132,7 @@
 
   friend std::istream &
   operator >> (std::istream &is, Digest &digest);
-  
+
 private:
   EVP_MD_CTX *m_context;
   std::vector<uint8_t> m_buffer;