FreeBSD Bugzilla – Attachment 153728 Details for
Bug 198243
[PATCH] deskutils/growl-for-linux replace deprecated des_ methods with DES_
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for deskutils/growl-for-linux
patch-growl-for-linux.svndiff (text/plain), 1.83 KB, created by
Bernard Spil
on 2015-03-03 19:41:07 UTC
(
hide
)
Description:
svn diff for deskutils/growl-for-linux
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-03-03 19:41:07 UTC
Size:
1.83 KB
patch
obsolete
>Index: files/patch-gol.c >=================================================================== >--- files/patch-gol.c (revision 0) >+++ files/patch-gol.c (working copy) >@@ -0,0 +1,25 @@ >+--- gol.c.orig 2014-05-20 03:11:04.000000000 +0200 >++++ gol.c 2015-02-28 20:05:59.171972929 +0100 >+@@ -1427,18 +1427,18 @@ >+ r-(ptr-top)-6, &aeskey, (unsigned char*) iv, AES_DECRYPT); >+ } >+ else if (!strcmp(crypt_algorythm, "DES")) { >+- des_key_schedule schedule; >++ DES_key_schedule schedule; >+ DES_set_key_unchecked((const_DES_cblock*) &digest, &schedule); >+ DES_ncbc_encrypt((unsigned char*) ptr, (unsigned char*) data, >+ r-(ptr-top)-6, &schedule, (const_DES_cblock*) &iv, DES_DECRYPT); >+ } >+ else if (!strcmp(crypt_algorythm, "3DES")) { >+- des_key_schedule schedule1, schedule2, schedule3; >++ DES_key_schedule schedule1, schedule2, schedule3; >+ DES_set_key_unchecked((const_DES_cblock*) (digest+ 0), &schedule1); >+ DES_set_key_unchecked((const_DES_cblock*) (digest+ 8), &schedule2); >+ DES_set_key_unchecked((const_DES_cblock*) (digest+16), &schedule3); >+- des_ede3_cbc_encrypt((unsigned char*) ptr, (unsigned char*) data, >+- r-(ptr-top)-6, schedule1, schedule2, schedule3, >++ DES_ede3_cbc_encrypt((unsigned char*) ptr, (unsigned char*) data, >++ r-(ptr-top)-6, &schedule1, &schedule2, &schedule3, >+ (const_DES_cblock*) &iv, DES_DECRYPT); >+ } else { >+ data = strdup(ptr); > >Property changes on: files/patch-gol.c >___________________________________________________________________ >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 >Added: svn:eol-style >## -0,0 +1 ## >+native >\ 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 198243
: 153728