BUILD: quic: fix build error when using the compatibility layer
Commit f783dd959b
("MINOR: quic: Enable early data at SSL session level
(aws-lc)") introduced a build error when using the openssl compat layer
because it references unknown function SSL_set_quic_early_data_context()
in qc_set_quic_early_data_context() that is not used in this case.
No backport is needed.
This commit is contained in:
parent
e41638af33
commit
59e9b6c204
|
@ -735,6 +735,8 @@ static int qc_ssl_sess_init(struct quic_conn *qc, SSL_CTX *ssl_ctx, SSL **ssl)
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifndef USE_QUIC_OPENSSL_COMPAT
|
||||
|
||||
/* Enable early data for <ssl> QUIC TLS session.
|
||||
* Return 1 if succeeded, 0 if not.
|
||||
*/
|
||||
|
@ -768,6 +770,7 @@ static int qc_set_quic_early_data_enabled(struct quic_conn *qc, SSL *ssl)
|
|||
|
||||
return 1;
|
||||
}
|
||||
#endif // USE_QUIC_OPENSSL_COMPAT
|
||||
|
||||
/* Allocate the ssl_sock_ctx from connection <qc>. This creates the tasklet
|
||||
* used to process <qc> received packets. The allocated context is stored in
|
||||
|
|
Loading…
Reference in New Issue