blob: 252d370acaf527dd06d778e2fb6d47a9a6ed9252 [file] [log] [blame]
Alexander Afanasyevc169a812014-05-20 20:37:29 -04001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
Davide Pesavento88a0d812017-08-19 21:31:42 -04002/*
Davide Pesaventoe80d1162018-09-08 19:23:09 -04003 * Copyright (c) 2013-2018 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
Davide Pesavento88a0d812017-08-19 21:31:42 -040025// suppress deprecation warnings on macOS >= 10.7
26#if defined(__APPLE__) && defined(__clang__)
27#pragma clang diagnostic push
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070028#pragma clang diagnostic ignored "-Wdeprecated-declarations"
Davide Pesavento88a0d812017-08-19 21:31:42 -040029#endif
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070030
Yingdi Yu38317e52015-07-22 13:58:02 -070031#include <openssl/bio.h>
Alexander Afanasyev574aa862017-01-10 19:53:28 -080032#include <openssl/crypto.h>
Yingdi Yu38317e52015-07-22 13:58:02 -070033#include <openssl/ec.h>
Yingdi Yu0b537b92015-08-27 14:39:34 -070034#include <openssl/err.h>
Alexander Afanasyev574aa862017-01-10 19:53:28 -080035#include <openssl/evp.h>
Alexander Afanasyev574aa862017-01-10 19:53:28 -080036#include <openssl/pem.h>
37#include <openssl/rand.h>
38#include <openssl/rsa.h>
39#include <openssl/x509.h>
Alexander Afanasyevb1db7c62014-04-03 14:57:25 -070040
Davide Pesavento88a0d812017-08-19 21:31:42 -040041#if defined(__APPLE__) && defined(__clang__)
42#pragma clang diagnostic pop
43#endif
44
Yingdi Yu38317e52015-07-22 13:58:02 -070045#endif // NDN_SECURITY_DETAIL_OPENSSL_HPP