Skip to content

Commit

Permalink
deps: re-enable OPENSSL_NO_QUIC guards
Browse files Browse the repository at this point in the history
PR-URL: #34033
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
  • Loading branch information
jasnell committed Jun 24, 2020
1 parent 2a5922e commit f5343d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/openssl/openssl/ssl/ssl_quic.c
Expand Up @@ -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"
Expand Down Expand Up @@ -330,3 +332,5 @@ int SSL_is_quic(SSL* ssl)
{
return SSL_IS_QUIC(ssl);
}

#endif // OPENSSL_NO_QUIC
4 changes: 4 additions & 0 deletions deps/openssl/openssl/ssl/statem/statem_quic.c
Expand Up @@ -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"
Expand Down Expand Up @@ -108,3 +110,5 @@ int quic_get_message(SSL *s, int *mt, size_t *len)

return 1;
}

#endif // OPENSSL_NO_QUIC

0 comments on commit f5343d1

Please sign in to comment.