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]>
  • 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
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 @@ -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
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 @@ -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.