summaryrefslogtreecommitdiffstats
path: root/pgpinvoke.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-10 22:14:00 +0000
commita3f726e35f1e7d918061074a85ebe7a2c7c300a5 (patch)
treed9ab2a281be2a13fbb1ec8682d4e5c7ff0502cde /pgpinvoke.c
parent912c6b0df82fe3a2745d68131db9300222226a73 (diff)
Introduce or rewrite mutt_{str*cmp,strlen} and use them all over the
place. If there are still segmentation faults due to missing NONULLs over, they are gone now.
Diffstat (limited to 'pgpinvoke.c')
-rw-r--r--pgpinvoke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgpinvoke.c b/pgpinvoke.c
index e9764003..5544a6dc 100644
--- a/pgpinvoke.c
+++ b/pgpinvoke.c
@@ -471,7 +471,7 @@ pid_t pgp_gpg_invoke_decrypt(struct pgp_vinfo *pgp,
static char *gpg_digalg(void)
{
static char digalg[STRING];
- if(PgpSignMicalg && !strncasecmp(PgpSignMicalg, "pgp-", 4))
+ if(PgpSignMicalg && !mutt_strncasecmp(PgpSignMicalg, "pgp-", 4))
strfcpy(digalg, PgpSignMicalg + 4, sizeof(digalg));
else
{
@@ -593,7 +593,7 @@ pid_t pgp_gpg_invoke_verify_key(struct pgp_vinfo *pgp,
snprintf(cmd, sizeof(cmd),
"%sm --no-verbose --batch --fingerprint --check-sigs %s%s",
- NONULL(binary), (strlen(id)==8 || strlen(id)==16)? "0x":"", id );
+ NONULL(binary), (mutt_strlen(id)==8 || mutt_strlen(id)==16)? "0x":"", id );
FREE(&binary);