aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-11-05 14:05:32 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-18 11:59:01 +0100
commit39f6ba2dc93e2108bf829359bc2b2573b388d78b (patch)
tree9978569da755548085fd9fa6c2545701a00133a1 /include/libssh
parent3f64fb3b3b863630a3fddfcbd6ec7a6f305cc04f (diff)
downloadlibssh-39f6ba2dc93e2108bf829359bc2b2573b388d78b.tar.gz
libssh-39f6ba2dc93e2108bf829359bc2b2573b388d78b.tar.xz
libssh-39f6ba2dc93e2108bf829359bc2b2573b388d78b.zip
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>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/messages.h2
1 files changed, 1 insertions, 1 deletions
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;
};