File: use_default_pgp_key

package info (click to toggle)
tin 1%3A2.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,884 kB
  • sloc: ansic: 87,206; sh: 4,115; makefile: 1,486; yacc: 1,035; perl: 1,015
file content (13 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/pgp.c
+++ b/src/pgp.c
@@ -242,8 +242,10 @@ do_pgp(
 	/*
 	 * <mailfrom> is valid only when signing and a local address exists
 	 */
+#ifdef NOT_DEBIAN
 	if ((CURR_GROUP.attribute->from) != NULL)
 		strip_name(CURR_GROUP.attribute->from, mailfrom);
+#endif
 
 	switch (what) {
 		case PGP_KEY_SIGN: