diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2019-12-25 06:27:56 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2019-12-24 23:46:09 -0700 |
commit | 73fbc3704a0ee312fe6d56a6bd92f10e0f05d92c (patch) | |
tree | 94e379fe134c0d4bc0a32973c301b4c36b856533 | |
parent | 50c9be0b338497dba7368886121e7a84bb060e50 (diff) | |
download | rabbitmq-c-73fbc3704a0ee312fe6d56a6bd92f10e0f05d92c.tar.gz |
win32: disable secure CRT warnings in OpenSSL code
These warnings have been disabled in other parts of the code and are
generally harmless. Recent refactoring in the amqp_openssl.c file have
caused these warnings to appear.
Fixes: #588
-rw-r--r-- | librabbitmq/amqp_openssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c index b6aaa70..52d351d 100644 --- a/librabbitmq/amqp_openssl.c +++ b/librabbitmq/amqp_openssl.c @@ -28,6 +28,10 @@ #include "config.h" #endif +#ifdef _MSC_VER +#define _CRT_SECURE_NO_WARNINGS +#endif + #include "amqp_openssl_bio.h" #include "amqp_openssl_hostname_validation.h" #include "amqp_private.h" |