mirror of https://github.com/openssl/openssl.git
QUIC APL: Implement SSL_get0_listener
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23334)
This commit is contained in:
parent
2e582648c5
commit
e3ba554d73
|
|
@ -3098,11 +3098,10 @@ SSL *ossl_quic_get0_listener(SSL *s)
|
|||
{
|
||||
QCTX ctx;
|
||||
|
||||
if (!expect_quic(s, &ctx))
|
||||
if (!expect_quic_any(s, &ctx))
|
||||
return NULL;
|
||||
|
||||
/* TODO(QUIC SERVER): Implement SSL_get0_listener */
|
||||
return NULL;
|
||||
return ctx.ql != NULL ? &ctx.ql->obj.ssl : NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue