2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

logserver option to disable certificate verification on server side and server authentication on client side

This commit is contained in:
Laszlo Orban
2020-01-23 09:53:27 +01:00
committed by Todd C. Miller
parent 9935a7e2ff
commit 24c9438486
8 changed files with 115 additions and 50 deletions

View File

@@ -409,6 +409,10 @@ struct _ServerHello
* true if server uses tls protocol
*/
protobuf_c_boolean tls;
/*
* true if server auth has to be performed
*/
protobuf_c_boolean tls_server_auth;
/*
* true if client auth is required with signed cert
*/
@@ -416,7 +420,7 @@ struct _ServerHello
};
#define SERVER_HELLO__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&server_hello__descriptor) \
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0, 0 }
, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0, 0, 0 }
/* ClientMessage methods */