summaryrefslogtreecommitdiffstats
path: root/mutt_crypt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2015-03-30 15:45:51 -0700
committerKevin McCarthy <kevin@8t8.us>2015-03-30 15:45:51 -0700
commitdedb0a6f370b413b74594c251ea83e88b6609679 (patch)
tree336f6be183249978ffab4545285e771ec5291a4e /mutt_crypt.h
parent4615a829c7dd4a2ba64683bae4c058b098f5d30a (diff)
Pull is_numerical_keyid() into crypt.c.
A subsequent patch (re?)-introduces a call to is_numerical_keyid inside find_keys(). Rather than duplicate the function, this patch pulls it into crypt.c, where find_keys() and pgp_findKeys() can both call it.
Diffstat (limited to 'mutt_crypt.h')
-rw-r--r--mutt_crypt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mutt_crypt.h b/mutt_crypt.h
index 8619c5c5..dc92ff3f 100644
--- a/mutt_crypt.h
+++ b/mutt_crypt.h
@@ -167,6 +167,9 @@ int crypt_write_signed(BODY *a, STATE *s, const char *tempf);
const char* crypt_get_fingerprint_or_id (char *p, const char **pphint,
const char **ppl, const char **pps);
+/* Check if a string contains a numerical key */
+short crypt_is_numerical_keyid (const char *s);
+
/*-- cryptglue.c --*/