blob: e278ca58df52f09616fb42be630a0d59bac8f00d [file] [log] [blame]
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
2/**
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07003 * 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 Afanasyevb1db7c62014-04-03 14:57:25 -070011 */
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 Afanasyevb1db7c62014-04-03 14:57:25 -070021#pragma clang diagnostic ignored "-Wdeprecated-declarations"
22#endif // __clang__
23
24#ifdef __GNUC__
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070025#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 Afanasyevb1db7c62014-04-03 14:57:25 -070036#endif // NDN_SECURITY_OPENSSL_HPP