aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-03-08 23:30:12 +0000
committerDavid Shaw <[email protected]>2006-03-08 23:30:12 +0000
commit4fea8fdbbb79144cef5c9a34a0c3a4bb4a649bc1 (patch)
treea336f865b1f461ab1bb7d11752304930677b24b0 /g10/keyedit.c
parent* options.h, mainproc.c (check_sig_and_print), gpg.c (main): (diff)
downloadgnupg-4fea8fdbbb79144cef5c9a34a0c3a4bb4a649bc1.tar.gz
gnupg-4fea8fdbbb79144cef5c9a34a0c3a4bb4a649bc1.zip
* options.h, sign.c (mk_notation_policy_etc), gpg.c (add_notation_data):
Use it here for the various notation commands. * packet.h, main.h, keygen.c (keygen_add_notations), build-packet.c (string_to_notation, sig_to_notation) (free_notation): New "one stop shopping" functions to handle notations and start removing some code duplication.
Diffstat (limited to '')
-rw-r--r--g10/keyedit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index d451e5079..32b57f829 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -1,6 +1,6 @@
/* keyedit.c - keyedit stuff
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- * 2005 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+ * 2006 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -546,7 +546,7 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified,
byte trust_depth=0,trust_value=0;
if(local || nonrevocable || trust ||
- opt.cert_policy_url || opt.cert_notation_data)
+ opt.cert_policy_url || opt.cert_notations)
force_v4=1;
/* we have to use a copy of the sk, because make_keysig_packet