aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-11-08 15:08:25 +0000
committerWerner Koch <[email protected]>2023-11-08 16:09:22 +0000
commitbf7b785b0e471533e5bb2db0e6a2b05b8e17d59d (patch)
treeda1b411de8fee60a8c2fe64a1107199232839c95
parentgpgsm: Cleanup of legacy variable name use. (diff)
downloadgnupg-bf7b785b0e471533e5bb2db0e6a2b05b8e17d59d.tar.gz
gnupg-bf7b785b0e471533e5bb2db0e6a2b05b8e17d59d.zip
common: Declare two LibrePGP constants for future use
* common/openpgpdefs.h (SIGSUBPKT_META_HASH): New. (SIGSUBPKT_TRUST_ALIAS): New.
-rw-r--r--common/openpgpdefs.h3
-rw-r--r--g10/keyedit.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/common/openpgpdefs.h b/common/openpgpdefs.h
index 625747983..180680bcc 100644
--- a/common/openpgpdefs.h
+++ b/common/openpgpdefs.h
@@ -122,6 +122,9 @@ typedef enum
SIGSUBPKT_ATTST_SIGS = 37, /* Attested Certifications. */
SIGSUBPKT_KEY_BLOCK = 38, /* Entire key used. */
+ SIGSUBPKT_META_HASH = 40, /* Literal Data Meta Hash. */
+ SIGSUBPKT_TRUST_ALIAS = 41, /* Trust Alias. */
+
SIGSUBPKT_FLAG_CRITICAL = 128
}
sigsubpkttype_t;
diff --git a/g10/keyedit.c b/g10/keyedit.c
index 21c1ee8d8..1f614fb7e 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -4794,7 +4794,7 @@ fail:
/*
* Ask for a new additional decryption subkey and add it to the key
* block. Returns true if the keyblock was changed and false
- * otherwise. If ADSKFPR is not NULL, this fucntion has been called
+ * otherwise. If ADSKFPR is not NULL, this function has been called
* by quick_addadsk and gives the fingerprint of the to be added key.
*/
static int