1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

messages: Use ssh_publickey_state_e instead of char

Use the enum type instead of char in the ssh_auth_request struct

Fixes T194

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Anderson Toshiyuki Sasaki
2019-11-05 14:05:32 +01:00
committed by Andreas Schneider
parent 3f64fb3b3b
commit 39f6ba2dc9

View File

@@ -28,7 +28,7 @@ struct ssh_auth_request {
int method; int method;
char *password; char *password;
struct ssh_key_struct *pubkey; struct ssh_key_struct *pubkey;
char signature_state; enum ssh_publickey_state_e signature_state;
char kbdint_response; char kbdint_response;
}; };