Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /** |
Alexander Afanasyev | dfa52c4 | 2014-04-24 21:10:11 -0700 | [diff] [blame] | 3 | * Copyright (c) 2013-2014, Regents of the University of California. |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). |
| 7 | * See AUTHORS.md for complete list of ndn-cxx authors and contributors. |
| 8 | * |
| 9 | * This file licensed under New BSD License. See COPYING for detailed information about |
| 10 | * ndn-cxx library copyright, permissions, and redistribution restrictions. |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 11 | */ |
| 12 | |
| 13 | #ifndef NDN_SECURITY_OPENSSL_HPP |
| 14 | #define NDN_SECURITY_OPENSSL_HPP |
| 15 | |
| 16 | // suppress deprecation warnings in OSX >= 10.7 |
| 17 | |
| 18 | #if defined(__APPLE__) |
| 19 | |
| 20 | #ifdef __clang__ |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 21 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 22 | #endif // __clang__ |
| 23 | |
| 24 | #ifdef __GNUC__ |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 25 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" |
| 26 | #endif // __GNUC__ |
| 27 | |
| 28 | #endif |
| 29 | |
| 30 | |
| 31 | #include <openssl/ssl.h> |
| 32 | #include <openssl/sha.h> |
| 33 | #include <openssl/rsa.h> |
| 34 | |
| 35 | |
Alexander Afanasyev | b1db7c6 | 2014-04-03 14:57:25 -0700 | [diff] [blame] | 36 | #endif // NDN_SECURITY_OPENSSL_HPP |