Bugzilla – Attachment 2110 Details for
Bug 1934
mac_init() calls HMAC_Init() without previously having called HMAC_CTX_init().
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
macinit.diff
macinit.diff (text/plain), 473 bytes, created by
Damien Miller
on 2011-12-02 11:27:12 AEDT
(
hide
)
Description:
macinit.diff
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2011-12-02 11:27:12 AEDT
Size:
473 bytes
patch
obsolete
>Index: mac.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/mac.c,v >retrieving revision 1.16 >diff -u -p -r1.16 mac.c >--- mac.c 2 Aug 2011 01:22:11 -0000 1.16 >+++ mac.c 2 Dec 2011 00:21:41 -0000 >@@ -111,6 +111,7 @@ mac_init(Mac *mac) > case SSH_EVP: > if (mac->evp_md == NULL) > return -1; >+ HMAC_CTX_init(&mac->evp_ctx); > HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md); > return 0; > case SSH_UMAC:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1934
: 2110