Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_openssh
Commits
cafc5eba
Commit
cafc5eba
authored
11 years ago
by
Kenny Root
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Conditionalize RIPEMD references"
parents
47da3308
649dde2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
mac.c
mac.c
+2
-0
myproposal.h
myproposal.h
+8
-2
No files found.
mac.c
View file @
cafc5eba
...
...
@@ -65,8 +65,10 @@ struct {
#endif
{
"hmac-md5"
,
SSH_EVP
,
EVP_md5
,
0
,
-
1
,
-
1
},
{
"hmac-md5-96"
,
SSH_EVP
,
EVP_md5
,
96
,
-
1
,
-
1
},
#ifdef HAVE_EVP_RIPEMD
{
"hmac-ripemd160"
,
SSH_EVP
,
EVP_ripemd160
,
0
,
-
1
,
-
1
},
{
"hmac-ripemd160@openssh.com"
,
SSH_EVP
,
EVP_ripemd160
,
0
,
-
1
,
-
1
},
#endif
{
"umac-64@openssh.com"
,
SSH_UMAC
,
NULL
,
0
,
128
,
64
},
{
NULL
,
0
,
NULL
,
0
,
-
1
,
-
1
}
};
...
...
This diff is collapsed.
Click to expand it.
myproposal.h
View file @
cafc5eba
...
...
@@ -84,13 +84,19 @@
#else
# define SHA2_HMAC_MODES
#endif
#ifdef HAVE_EVP_RIPEMD
#define RIPEMD_MAC_MODES \
"hmac-ripemd160," \
"hmac-ripemd160@openssh.com,"
#else
# define RIPEMD_MAC_MODES
#endif
#define KEX_DEFAULT_MAC \
"hmac-md5," \
"hmac-sha1," \
"umac-64@openssh.com," \
SHA2_HMAC_MODES \
"hmac-ripemd160," \
"hmac-ripemd160@openssh.com," \
RIPEMD_MAC_MODES \
"hmac-sha1-96," \
"hmac-md5-96"
...
...
This diff is collapsed.
Click to expand it.
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