Mercurial > dropbear
diff auth.h @ 1274:9da3e7b4fe55
add parentheses to macro
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Fri, 01 Jan 2016 09:40:24 +0100 |
parents | c45d65392c1a |
children | 9169e4e7cbee |
line wrap: on
line diff
--- a/auth.h Fri Jan 01 09:20:50 2016 +0100 +++ b/auth.h Fri Jan 01 09:40:24 2016 +0100 @@ -81,9 +81,9 @@ #define MAX_USERNAME_LEN 25 /* arbitrary for the moment */ #define AUTH_TYPE_NONE 1 -#define AUTH_TYPE_PUBKEY 1 << 1 -#define AUTH_TYPE_PASSWORD 1 << 2 -#define AUTH_TYPE_INTERACT 1 << 3 +#define AUTH_TYPE_PUBKEY (1 << 1) +#define AUTH_TYPE_PASSWORD (1 << 2) +#define AUTH_TYPE_INTERACT (1 << 3) #define AUTH_METHOD_NONE "none" #define AUTH_METHOD_NONE_LEN 4