Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /** |
| 3 | * Copyright (C) 2014 Regents of the University of California. |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NDN_SECURITY_OPENSSL_HPP |
| 8 | #define NDN_SECURITY_OPENSSL_HPP |
| 9 | |
| 10 | // suppress deprecation warnings in OSX >= 10.7 |
| 11 | |
| 12 | #if defined(__APPLE__) |
| 13 | |
| 14 | #ifdef __clang__ |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 15 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 16 | #endif // __clang__ |
| 17 | |
| 18 | #ifdef __GNUC__ |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 19 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" |
| 20 | #endif // __GNUC__ |
| 21 | |
| 22 | #endif |
| 23 | |
| 24 | |
| 25 | #include <openssl/ssl.h> |
| 26 | #include <openssl/sha.h> |
| 27 | #include <openssl/rsa.h> |
| 28 | |
| 29 | |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 30 | #endif // NDN_SECURITY_OPENSSL_HPP |