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>

PR-URL: #36520
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
  • 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.