FreeBSD Bugzilla – Attachment 153891 Details for
Bug 198348
[PATCH] security/john: Replace deprecated des_ and fix LibreSSL build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for security/john
patch-security_john (text/plain), 3.18 KB, created by
Bernard Spil
on 2015-03-06 11:14:50 UTC
(
hide
)
Description:
svn diff for security/john
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-03-06 11:14:50 UTC
Size:
3.18 KB
patch
obsolete
>Index: security/john/files/patch-src__KRB4_fmt_plug.c >=================================================================== >--- security/john/files/patch-src__KRB4_fmt_plug.c (revision 0) >+++ security/john/files/patch-src__KRB4_fmt_plug.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/KRB4_fmt_plug.c.orig 2012-09-17 10:30:39.000000000 +0200 >++++ src/KRB4_fmt_plug.c 2015-02-28 20:34:23.845351319 +0100 >+@@ -182,7 +182,7 @@ >+ if (saved_salt->realm[0] != '\0') >+ afs_string_to_key(key, saved_salt->realm, &saved_key.key); >+ else >+- des_string_to_key(key, &saved_key.key); >++ DES_string_to_key(key, &saved_key.key); >+ >+ strnzcpy(saved_key.string, key, sizeof(saved_key.string)); >+ } > >Property changes on: security/john/files/patch-src__KRB4_fmt_plug.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: security/john/files/patch-src__KRB4_std_plug.c >=================================================================== >--- security/john/files/patch-src__KRB4_std_plug.c (revision 0) >+++ security/john/files/patch-src__KRB4_std_plug.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/KRB4_std_plug.c.orig 2012-07-10 12:35:20.000000000 +0200 >++++ src/KRB4_std_plug.c 2015-02-28 20:32:34.494881776 +0100 >+@@ -29,7 +29,7 @@ >+ #include "KRB4_std.h" >+ >+ #ifndef des_fixup_key_parity >+-#define des_fixup_key_parity des_set_odd_parity >++#define des_fixup_key_parity DES_set_odd_parity >+ #endif >+ >+ static void > >Property changes on: security/john/files/patch-src__KRB4_std_plug.c >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Index: security/john/files/patch-src__keychain_fmt_plug.c >=================================================================== >--- security/john/files/patch-src__keychain_fmt_plug.c (revision 0) >+++ security/john/files/patch-src__keychain_fmt_plug.c (working copy) >@@ -0,0 +1,15 @@ >+--- src/keychain_fmt_plug.c.orig 2012-09-17 10:30:39.000000000 +0200 >++++ src/keychain_fmt_plug.c 2015-02-28 20:31:01.902977498 +0100 >+@@ -119,9 +119,9 @@ >+ memcpy(key1, key, 8); >+ memcpy(key2, key + 8, 8); >+ memcpy(key3, key + 16, 8); >+- DES_set_key((C_Block *) key1, &ks1); >+- DES_set_key((C_Block *) key2, &ks2); >+- DES_set_key((C_Block *) key3, &ks3); >++ DES_set_key((DES_cblock *) key1, &ks1); >++ DES_set_key((DES_cblock *) key2, &ks2); >++ DES_set_key((DES_cblock *) key3, &ks3); >+ memcpy(ivec, iv, 8); >+ DES_ede3_cbc_encrypt(data, out, CTLEN, &ks1, &ks2, &ks3, &ivec, DES_DECRYPT); >+ > >Property changes on: security/john/files/patch-src__keychain_fmt_plug.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 198348
: 153891