mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Rename test/unittests to tests/ and test/ to bin/
This commit is contained in:
parent
ecfd688117
commit
9a690580c9
92 changed files with 38 additions and 39 deletions
28
bin/test_cert.h
Normal file
28
bin/test_cert.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
/* Copyright (c) 2017 - 2020 LiteSpeed Technologies Inc. See LICENSE. */
|
||||
#ifndef TEST_CERT_H
|
||||
#define TEST_CERT_H
|
||||
|
||||
struct lsquic_hash;
|
||||
struct ssl_ctx_st;
|
||||
struct sockaddr;
|
||||
|
||||
struct server_cert
|
||||
{
|
||||
char *ce_sni;
|
||||
struct ssl_ctx_st *ce_ssl_ctx;
|
||||
struct lsquic_hash_elem ce_hash_el;
|
||||
};
|
||||
|
||||
|
||||
int
|
||||
load_cert (struct lsquic_hash *, const char *optarg);
|
||||
|
||||
struct ssl_ctx_st *
|
||||
lookup_cert (void *cert_lu_ctx, const struct sockaddr * /*unused */,
|
||||
const char *sni);
|
||||
|
||||
void
|
||||
delete_certs (struct lsquic_hash *);
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue