aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-03 12:46:52 +0000
committerDavid Shaw <[email protected]>2002-11-03 12:46:52 +0000
commitae1d1288ee2eb600f54976e07835ad026ccf189d (patch)
tree40b3725310810f8ca0f98e66c023d36404c9a3d6 /g10/build-packet.c
parent* keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the full (diff)
downloadgnupg-ae1d1288ee2eb600f54976e07835ad026ccf189d.tar.gz
gnupg-ae1d1288ee2eb600f54976e07835ad026ccf189d.zip
* keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):
Prompt for and create a trust signature with "tsign". This is functional, but needs better UI text. * build-packet.c (build_sig_subpkt): Able to build trust and regexp subpackets. * pkclist.c (do_edit_ownertrust): Comment.
Diffstat (limited to '')
-rw-r--r--g10/build-packet.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 936cc90d6..d0122b1b0 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -754,6 +754,15 @@ build_sig_subpkt (PKT_signature *sig, sigsubpkttype_t type,
sig->flags.revocable=0;
break;
+ case SIGSUBPKT_TRUST:
+ sig->trust_depth=buffer[0];
+ sig->trust_value=buffer[1];
+ break;
+
+ case SIGSUBPKT_REGEXP:
+ sig->trust_regexp=buffer;
+ break;
+
default:
break;
}
@@ -1164,4 +1173,3 @@ write_version( IOBUF out, int ctb )
return -1;
return 0;
}
-