Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
edea73b1
Commit
edea73b1
authored
Jan 01, 2016
by
Francois Perrad
Committed by
Matt Johnston
Mar 16, 2016
Browse files
add parentheses to macro
parent
893d7be5
Changes
3
Hide whitespace changes
Inline
Side-by-side
auth.h
View file @
edea73b1
...
...
@@ -81,9 +81,9 @@ void cli_auth_pubkey_cleanup();
#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
...
...
dbrandom.c
View file @
edea73b1
...
...
@@ -32,7 +32,7 @@
/* this is used to generate unique output from the same hashpool */
static
uint32_t
counter
=
0
;
/* the max value for the counter, so it won't integer overflow */
#define MAX_COUNTER 1<<30
#define MAX_COUNTER
(
1<<30
)
static
unsigned
char
hashpool
[
SHA1_HASH_SIZE
]
=
{
0
};
static
int
donerandinit
=
0
;
...
...
rsa.h
View file @
edea73b1
...
...
@@ -30,7 +30,7 @@
#ifdef DROPBEAR_RSA
#define RSA_SIGNATURE_SIZE 4+7+4+40
#define RSA_SIGNATURE_SIZE
(
4+7+4+40
)
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment