Home
last modified time | relevance | path

Searched refs:num_tickets (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/doc/man3/
DSSL_CTX_set_num_tickets.pod16 int SSL_set_num_tickets(SSL *s, size_t num_tickets);
18 int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
27 the B<num_tickets> argument. Typically these functions should be called before
32 SSL_set_num_tickets() or SSL_CTX_set_num_tickets(). If B<num_tickets> is set to
/third_party/openssl/ssl/
Dssl_conf.c656 int num_tickets = atoi(value); in cmd_NumTickets() local
658 if (num_tickets >= 0) { in cmd_NumTickets()
660 rv = SSL_CTX_set_num_tickets(cctx->ctx, num_tickets); in cmd_NumTickets()
662 rv = SSL_set_num_tickets(cctx->ssl, num_tickets); in cmd_NumTickets()
Dssl_lib.c707 s->num_tickets = ctx->num_tickets; in SSL_new()
3400 ret->num_tickets = 2; in SSL_CTX_new_ex()
4755 int SSL_set_num_tickets(SSL *s, size_t num_tickets) in SSL_set_num_tickets() argument
4757 s->num_tickets = num_tickets; in SSL_set_num_tickets()
4764 return s->num_tickets; in SSL_get_num_tickets()
4767 int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets) in SSL_CTX_set_num_tickets() argument
4769 ctx->num_tickets = num_tickets; in SSL_CTX_set_num_tickets()
4776 return ctx->num_tickets; in SSL_CTX_get_num_tickets()
Dssl_local.h1176 size_t num_tickets; member
1782 size_t num_tickets; member
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1696 pub fn set_num_tickets(&mut self, num_tickets: usize) -> Result<(), ErrorStack> { in set_num_tickets()
1697 unsafe { cvt(ffi::SSL_CTX_set_num_tickets(self.as_ptr(), num_tickets)).map(|_| ()) } in set_num_tickets()
1900 pub fn num_tickets(&self) -> usize { in num_tickets() method
3317 pub fn set_num_tickets(&mut self, num_tickets: usize) -> Result<(), ErrorStack> { in set_num_tickets()
3318 unsafe { cvt(ffi::SSL_set_num_tickets(self.as_ptr(), num_tickets)).map(|_| ()) } in set_num_tickets()
3327 pub fn num_tickets(&self) -> usize { in num_tickets() method
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dssl.rs903 pub fn SSL_CTX_set_num_tickets(ctx: *mut SSL_CTX, num_tickets: size_t) -> c_int; in SSL_CTX_set_num_tickets()
906 pub fn SSL_set_num_tickets(s: *mut SSL, num_tickets: size_t) -> c_int; in SSL_set_num_tickets()
/third_party/python/Lib/test/
Dtest_ssl.py1813 self.assertEqual(ctx.num_tickets, 2)
1814 ctx.num_tickets = 1
1815 self.assertEqual(ctx.num_tickets, 1)
1816 ctx.num_tickets = 0
1817 self.assertEqual(ctx.num_tickets, 0)
1819 ctx.num_tickets = -1
1821 ctx.num_tickets = None
1824 self.assertEqual(ctx.num_tickets, 2)
1826 ctx.num_tickets = 1
/third_party/openssl/doc/man1/
Dopenssl-s_server.pod.in138 [B<-num_tickets>]
616 is negotiated. See B<-num_tickets>.
618 =item B<-num_tickets>
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md36 …tBuilder::set_num_tickets`, `SslContextRef::num_tickets`, `SslRef::set_num_tickets`, and `SslRef::
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
Dmod.rs1487 assert_eq!(3, ctx.num_tickets()); in set_num_tickets()
1492 assert_eq!(5, ssl.num_tickets()); in set_num_tickets()
/third_party/openssl/ohos_lite/include/openssl/
Dssl.h2133 int SSL_set_num_tickets(SSL *s, size_t num_tickets);
2135 int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
/third_party/openssl/ssl/statem/
Dstatem_srvr.c514 if (s->num_tickets > s->sent_tickets) in ossl_statem_server13_write_transition()
532 } else if (s->hit || s->num_tickets <= s->sent_tickets) { in ossl_statem_server13_write_transition()
/third_party/openssl/include/openssl/
Dssl.h.in2220 int SSL_set_num_tickets(SSL *s, size_t num_tickets);
2222 int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
/third_party/python/Misc/NEWS.d/
D3.8.0b1.rst503 Add SSLContext.num_tickets to control the number of TLSv1.3 session tickets.
/third_party/python/Doc/library/
Dssl.rst1991 .. attribute:: SSLContext.num_tickets