mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 01:25:32 +00:00
implement optional TOFU validation
This commit is contained in:
parent
bb5b1dfb53
commit
44196608ce
4 changed files with 26 additions and 12 deletions
|
|
@ -55,7 +55,8 @@ fn main() -> ExitCode {
|
|||
},
|
||||
Priority::DEFAULT,
|
||||
Cancellable::new(),
|
||||
None, // optional `GTlsCertificate`
|
||||
None, // optional auth `GTlsCertificate`
|
||||
None, // optional TOFU `GTlsCertificate` array
|
||||
|result| match result {
|
||||
Ok((response, _connection)) => match response {
|
||||
Response::Success(success) => match success.mime().unwrap().as_str() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue