blob: cde9efcefb4050c0a7ee0c4528d74236eea6b31b [file] [log] [blame]
Alexander Afanasyevc169a812014-05-20 20:37:29 -04001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -07002/**
Alexander Afanasyev574aa862017-01-10 19:53:28 -08003 * Copyright (c) 2013-2017 Regents of the University of California.
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07004 *
5 * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
Alexander Afanasyevdfa52c42014-04-24 21:10:11 -07006 *
Alexander Afanasyevc169a812014-05-20 20:37:29 -04007 * ndn-cxx library is free software: you can redistribute it and/or modify it under the
8 * terms of the GNU Lesser General Public License as published by the Free Software
9 * Foundation, either version 3 of the License, or (at your option) any later version.
10 *
11 * ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14 *
15 * You should have received copies of the GNU General Public License and GNU Lesser
16 * General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
17 * <http://www.gnu.org/licenses/>.
18 *
19 * See AUTHORS.md for complete list of ndn-cxx authors and contributors.
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070020 */
21
Yingdi Yu38317e52015-07-22 13:58:02 -070022#ifndef NDN_SECURITY_DETAIL_OPENSSL_HPP
23#define NDN_SECURITY_DETAIL_OPENSSL_HPP
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070024
25// suppress deprecation warnings in OSX >= 10.7
26
27#if defined(__APPLE__)
28
29#ifdef __clang__
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070030#pragma clang diagnostic ignored "-Wdeprecated-declarations"
31#endif // __clang__
32
Yingdi Yu38317e52015-07-22 13:58:02 -070033#endif // __APPLE__
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070034
Yingdi Yu38317e52015-07-22 13:58:02 -070035#include <openssl/bio.h>
Alexander Afanasyev574aa862017-01-10 19:53:28 -080036#include <openssl/crypto.h>
Yingdi Yu38317e52015-07-22 13:58:02 -070037#include <openssl/ec.h>
Yingdi Yu0b537b92015-08-27 14:39:34 -070038#include <openssl/err.h>
Alexander Afanasyev574aa862017-01-10 19:53:28 -080039#include <openssl/evp.h>
40#include <openssl/hmac.h>
41#include <openssl/pem.h>
42#include <openssl/rand.h>
43#include <openssl/rsa.h>
44#include <openssl/x509.h>
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070045
Yingdi Yu38317e52015-07-22 13:58:02 -070046#endif // NDN_SECURITY_DETAIL_OPENSSL_HPP