diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-10-31 16:09:03 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-12-09 16:08:03 +0100 |
commit | 5ef416fd353af94ebf4e66bdfa6554e4dd533acb (patch) | |
tree | 4cd5d9a8f9201416b620d6915925b6557b417856 /include/libssh/libssh.h | |
parent | 1be68139bbf34cfce21fe36ae0328440fffcabcb (diff) | |
download | libssh-5ef416fd353af94ebf4e66bdfa6554e4dd533acb.tar.gz libssh-5ef416fd353af94ebf4e66bdfa6554e4dd533acb.tar.xz libssh-5ef416fd353af94ebf4e66bdfa6554e4dd533acb.zip |
include: Mark SSH_AUTH flags as unsigned
Fixes T188
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index e80214c9..a0c9600c 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -168,13 +168,13 @@ enum ssh_auth_e { }; /* auth flags */ -#define SSH_AUTH_METHOD_UNKNOWN 0 -#define SSH_AUTH_METHOD_NONE 0x0001 -#define SSH_AUTH_METHOD_PASSWORD 0x0002 -#define SSH_AUTH_METHOD_PUBLICKEY 0x0004 -#define SSH_AUTH_METHOD_HOSTBASED 0x0008 -#define SSH_AUTH_METHOD_INTERACTIVE 0x0010 -#define SSH_AUTH_METHOD_GSSAPI_MIC 0x0020 +#define SSH_AUTH_METHOD_UNKNOWN 0x0000u +#define SSH_AUTH_METHOD_NONE 0x0001u +#define SSH_AUTH_METHOD_PASSWORD 0x0002u +#define SSH_AUTH_METHOD_PUBLICKEY 0x0004u +#define SSH_AUTH_METHOD_HOSTBASED 0x0008u +#define SSH_AUTH_METHOD_INTERACTIVE 0x0010u +#define SSH_AUTH_METHOD_GSSAPI_MIC 0x0020u /* messages */ enum ssh_requests_e { |