Bugzilla – Attachment 2400 Details for
Bug 2198
GSSAPIKeyExchange gssapi-keyex bug in kex.c choose_kex()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix for kex.c GSSAPIKeyExchange strcmp problem
kex.c.patch (text/plain), 756 bytes, created by
Vern Staats
on 2014-01-25 09:26:21 AEDT
(
hide
)
Description:
Possible fix for kex.c GSSAPIKeyExchange strcmp problem
Filename:
MIME Type:
Creator:
Vern Staats
Created:
2014-01-25 09:26:21 AEDT
Size:
756 bytes
patch
obsolete
>*** kex.c.orig Fri Jan 24 11:16:16 2014 >--- kex.c.fixed Fri Jan 24 16:08:22 2014 >*************** >*** 118,123 **** >--- 118,135 ---- > for (k = kexalgs; k->name != NULL; k++) { > if (strcmp(k->name, name) == 0) > return k; >+ if (strcmp(k->name, KEX_GSS_GEX_SHA1_ID) == 0 && >+ strncmp(name, KEX_GSS_GEX_SHA1_ID, >+ sizeof(KEX_GSS_GEX_SHA1_ID) - 1) == 0) >+ return k; >+ if (strcmp(k->name, KEX_GSS_GRP1_SHA1_ID) == 0 && >+ strncmp(name, KEX_GSS_GRP1_SHA1_ID, >+ sizeof(KEX_GSS_GRP1_SHA1_ID) - 1) == 0) >+ return k; >+ if (strcmp(k->name, KEX_GSS_GRP14_SHA1_ID) == 0 && >+ strncmp(name, KEX_GSS_GRP14_SHA1_ID, >+ sizeof(KEX_GSS_GRP14_SHA1_ID) - 1) == 0) >+ return k; > } > return NULL; > }
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
Actions:
View
|
Diff
Attachments on
bug 2198
: 2400