From 6ee159d9d2713e81333424fe076c389c3039495c Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Tue, 5 Nov 2019 14:05:32 +0100 Subject: [PATCH] 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 Reviewed-by: Andreas Schneider (cherry picked from commit 39f6ba2dc93e2108bf829359bc2b2573b388d78b) --- include/libssh/messages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh/messages.h b/include/libssh/messages.h index fd40b9f7..04d041d4 100644 --- a/include/libssh/messages.h +++ b/include/libssh/messages.h @@ -28,7 +28,7 @@ struct ssh_auth_request { int method; char *password; struct ssh_key_struct *pubkey; - char signature_state; + enum ssh_publickey_state_e signature_state; char kbdint_response; };