提交 77c538bd 编写于 作者: J jp9000

obs-outputs: Disabled OpenSSL deprecated warnings on apple

Apple wants to get people to move over to their own crypto APIs instead
of using OpenSSL, so disable the warning in the files where OpenSSL is
used for the time being.
上级 867c5847
......@@ -25,6 +25,11 @@
#include "http.h"
#ifdef CRYPTO
#ifdef __APPLE__
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#ifdef USE_POLARSSL
#include <polarssl/sha2.h>
#ifndef SHA256_DIGEST_LENGTH
......
......@@ -33,6 +33,11 @@
#include "log.h"
#ifdef CRYPTO
#ifdef __APPLE__
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#ifdef USE_POLARSSL
#include <polarssl/havege.h>
#include <polarssl/md5.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册