mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
QUIC Front End I/O API: Wire up SSL_CTX ctrls and remove unneeded functions
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
This commit is contained in:
parent
9bbc5b54b0
commit
8a1a6d6d9e
@ -40,8 +40,6 @@ int ossl_quic_renegotiate_check(SSL *ssl, int initok);
|
||||
|
||||
typedef struct quic_conn_st QUIC_CONNECTION;
|
||||
|
||||
__owur QUIC_CONNECTION *ossl_quic_conn_from_ssl(SSL *ssl);
|
||||
|
||||
int ossl_quic_do_handshake(QUIC_CONNECTION *qc);
|
||||
void ossl_quic_set_connect_state(QUIC_CONNECTION *qc);
|
||||
void ossl_quic_set_accept_state(QUIC_CONNECTION *qc);
|
||||
|
@ -1159,23 +1159,18 @@ long ossl_quic_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
|
||||
{
|
||||
switch (cmd) {
|
||||
default:
|
||||
return 0;
|
||||
return ssl3_ctx_ctrl(ctx, cmd, larg, parg);
|
||||
}
|
||||
}
|
||||
|
||||
long ossl_quic_callback_ctrl(SSL *s, int cmd, void (*fp) (void))
|
||||
{
|
||||
return 0;
|
||||
return ssl3_callback_ctrl(s, cmd, fp);
|
||||
}
|
||||
|
||||
long ossl_quic_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
QUIC_CONNECTION *ossl_quic_conn_from_ssl(SSL *ssl)
|
||||
{
|
||||
return QUIC_CONNECTION_FROM_SSL(ssl);
|
||||
return ssl3_ctx_callback_ctrl(ctx, cmd, fp);
|
||||
}
|
||||
|
||||
int ossl_quic_renegotiate_check(SSL *ssl, int initok)
|
||||
|
Loading…
Reference in New Issue
Block a user