diff options
-rw-r--r-- | deps/openssl/openssl/ssl/ssl_quic.c | 4 | ||||
-rw-r--r-- | deps/openssl/openssl/ssl/statem/statem_quic.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/deps/openssl/openssl/ssl/ssl_quic.c b/deps/openssl/openssl/ssl/ssl_quic.c index bcf4657e912..2571bc2c53b 100644 --- a/deps/openssl/openssl/ssl/ssl_quic.c +++ b/deps/openssl/openssl/ssl/ssl_quic.c @@ -7,6 +7,8 @@ * https://www.openssl.org/source/license.html */ +#ifndef OPENSSL_NO_QUIC + #include "ssl_local.h" #include "internal/cryptlib.h" #include "internal/refcount.h" @@ -330,3 +332,5 @@ int SSL_is_quic(SSL* ssl) { return SSL_IS_QUIC(ssl); } + +#endif // OPENSSL_NO_QUIC diff --git a/deps/openssl/openssl/ssl/statem/statem_quic.c b/deps/openssl/openssl/ssl/statem/statem_quic.c index a2ba29337c0..25cb1ae8d87 100644 --- a/deps/openssl/openssl/ssl/statem/statem_quic.c +++ b/deps/openssl/openssl/ssl/statem/statem_quic.c @@ -7,6 +7,8 @@ * https://www.openssl.org/source/license.html */ +#ifndef OPENSSL_NO_QUIC + #include "../ssl_local.h" #include "statem_local.h" #include "internal/cryptlib.h" @@ -108,3 +110,5 @@ int quic_get_message(SSL *s, int *mt, size_t *len) return 1; } + +#endif // OPENSSL_NO_QUIC |