Updating link to change in openSUSE:Factory/gpg2 revision 38.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=d4eaa900d83b29431f570f660df11b41
This commit is contained in:
parent
a700e7a088
commit
0578875b95
@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
g10/gpg.c | 3 ++
|
g10/gpg.c | 4 +++
|
||||||
g10/options.h | 1
|
g10/options.h | 1
|
||||||
g10/sign.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
|
g10/sign.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
|
||||||
3 files changed, 65 insertions(+), 5 deletions(-)
|
3 files changed, 66 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
Index: gnupg-2.0.13/g10/gpg.c
|
Index: gnupg-2.0.14/g10/gpg.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gnupg-2.0.13.orig/g10/gpg.c 2009-08-05 12:09:24.000000000 +0200
|
--- gnupg-2.0.14.orig/g10/gpg.c 2009-12-21 15:00:55.000000000 +0100
|
||||||
+++ gnupg-2.0.13/g10/gpg.c 2010-01-27 17:13:20.000000000 +0100
|
+++ gnupg-2.0.14/g10/gpg.c 2010-03-22 15:05:00.000000000 +0100
|
||||||
@@ -338,6 +338,7 @@ enum cmd_and_opt_values
|
@@ -340,6 +340,7 @@ enum cmd_and_opt_values
|
||||||
oTTYtype,
|
oTTYtype,
|
||||||
oLCctype,
|
oLCctype,
|
||||||
oLCmessages,
|
oLCmessages,
|
||||||
@ -16,7 +16,7 @@ Index: gnupg-2.0.13/g10/gpg.c
|
|||||||
oXauthority,
|
oXauthority,
|
||||||
oGroup,
|
oGroup,
|
||||||
oUnGroup,
|
oUnGroup,
|
||||||
@@ -700,6 +701,7 @@ static ARGPARSE_OPTS opts[] = {
|
@@ -705,6 +706,7 @@ static ARGPARSE_OPTS opts[] = {
|
||||||
ARGPARSE_s_s (oPersonalDigestPreferences, "personal-digest-preferences","@"),
|
ARGPARSE_s_s (oPersonalDigestPreferences, "personal-digest-preferences","@"),
|
||||||
ARGPARSE_s_s (oPersonalCompressPreferences,
|
ARGPARSE_s_s (oPersonalCompressPreferences,
|
||||||
"personal-compress-preferences", "@"),
|
"personal-compress-preferences", "@"),
|
||||||
@ -24,18 +24,26 @@ Index: gnupg-2.0.13/g10/gpg.c
|
|||||||
|
|
||||||
/* Aliases. I constantly mistype these, and assume other people do
|
/* Aliases. I constantly mistype these, and assume other people do
|
||||||
as well. */
|
as well. */
|
||||||
@@ -2850,6 +2852,7 @@ main (int argc, char **argv)
|
@@ -1998,6 +2000,7 @@ main (int argc, char **argv)
|
||||||
|
opt.def_cert_expire="0";
|
||||||
|
set_homedir ( default_homedir () );
|
||||||
|
opt.passwd_repeat=1;
|
||||||
|
+ opt.files_are_digests=0;
|
||||||
|
|
||||||
case oLCctype: opt.lc_ctype = pargs.r.ret_str; break;
|
/* Check whether we have a config file on the command line. */
|
||||||
case oLCmessages: opt.lc_messages = pargs.r.ret_str; break;
|
orig_argc = argc;
|
||||||
+ case oFilesAreDigests: opt.files_are_digests = pargs.r.ret_str; break;
|
@@ -2481,6 +2484,7 @@ main (int argc, char **argv)
|
||||||
|
case oPhotoViewer: opt.photo_viewer = pargs.r.ret_str; break;
|
||||||
case oGroup: add_group(pargs.r.ret_str); break;
|
case oForceV3Sigs: opt.force_v3_sigs = 1; break;
|
||||||
case oUnGroup: rm_group(pargs.r.ret_str); break;
|
case oNoForceV3Sigs: opt.force_v3_sigs = 0; break;
|
||||||
Index: gnupg-2.0.13/g10/options.h
|
+ case oFilesAreDigests: opt.files_are_digests = 1; break;
|
||||||
|
case oForceV4Certs: opt.force_v4_certs = 1; break;
|
||||||
|
case oNoForceV4Certs: opt.force_v4_certs = 0; break;
|
||||||
|
case oForceMDC: opt.force_mdc = 1; break;
|
||||||
|
Index: gnupg-2.0.14/g10/options.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gnupg-2.0.13.orig/g10/options.h 2009-07-07 09:40:19.000000000 +0200
|
--- gnupg-2.0.14.orig/g10/options.h 2009-09-21 18:53:51.000000000 +0200
|
||||||
+++ gnupg-2.0.13/g10/options.h 2010-01-27 16:42:03.000000000 +0100
|
+++ gnupg-2.0.14/g10/options.h 2010-03-22 11:34:09.000000000 +0100
|
||||||
@@ -194,6 +194,7 @@ struct
|
@@ -194,6 +194,7 @@ struct
|
||||||
int no_auto_check_trustdb;
|
int no_auto_check_trustdb;
|
||||||
int preserve_permissions;
|
int preserve_permissions;
|
||||||
@ -44,10 +52,10 @@ Index: gnupg-2.0.13/g10/options.h
|
|||||||
struct groupitem *grouplist;
|
struct groupitem *grouplist;
|
||||||
int mangle_dos_filenames;
|
int mangle_dos_filenames;
|
||||||
int enable_progress_filter;
|
int enable_progress_filter;
|
||||||
Index: gnupg-2.0.13/g10/sign.c
|
Index: gnupg-2.0.14/g10/sign.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- gnupg-2.0.13.orig/g10/sign.c 2009-05-11 10:14:54.000000000 +0200
|
--- gnupg-2.0.14.orig/g10/sign.c 2009-09-21 18:53:51.000000000 +0200
|
||||||
+++ gnupg-2.0.13/g10/sign.c 2010-01-27 16:59:09.000000000 +0100
|
+++ gnupg-2.0.14/g10/sign.c 2010-03-22 16:07:47.000000000 +0100
|
||||||
@@ -662,8 +662,12 @@ write_signature_packets (SK_LIST sk_list
|
@@ -662,8 +662,12 @@ write_signature_packets (SK_LIST sk_list
|
||||||
mk_notation_policy_etc (sig, NULL, sk);
|
mk_notation_policy_etc (sig, NULL, sk);
|
||||||
}
|
}
|
||||||
@ -128,7 +136,7 @@ Index: gnupg-2.0.13/g10/sign.c
|
|||||||
+ gcry_md_final(mfx.md);
|
+ gcry_md_final(mfx.md);
|
||||||
+ /* this assumes gcry_md_read returns the same buffer */
|
+ /* this assumes gcry_md_read returns the same buffer */
|
||||||
+ mdb = gcry_md_read(mfx.md, opt.def_digest_algo);
|
+ mdb = gcry_md_read(mfx.md, opt.def_digest_algo);
|
||||||
+ (void) gcry_md_algo_info (opt.def_digest_algo, GCRYCTL_GET_ASNOID, NULL, &mdlen);
|
+ mdlen = gcry_md_get_algo_dlen(opt.def_digest_algo);
|
||||||
+ if (strlen(fname) != mdlen * 2 + 11)
|
+ if (strlen(fname) != mdlen * 2 + 11)
|
||||||
+ log_bug("digests must be %d + @ + 5 bytes\n", mdlen);
|
+ log_bug("digests must be %d + @ + 5 bytes\n", mdlen);
|
||||||
+ d = -1;
|
+ d = -1;
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 22 15:09:24 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
- fix files-are-digests patch (bnc#469229)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 17 13:29:18 CET 2010 - dimstar@opensuse.org
|
Wed Feb 17 13:29:18 CET 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user