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 <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>

PR-URL: #36520
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
  • Loading branch information
jasnell authored and targos committed Dec 21, 2020
1 parent 309e297 commit 5b49807
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
Original file line number Diff line number Diff line change
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 @@ -293,3 +295,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
Original file line number Diff line number Diff line change
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 @@ -116,3 +118,5 @@ int quic_get_message(SSL *s, int *mt, size_t *len)

return 1;
}

#endif // OPENSSL_NO_QUIC

0 comments on commit 5b49807

Please sign in to comment.