pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files appease compiler warning p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/998bc13ea66d
branches: trunk
changeset: 646164:998bc13ea66d
user: agc <agc%pkgsrc.org@localhost>
date: Thu Feb 05 00:58:02 2015 +0000
description:
appease compiler warning police - initialise a variable in case it's otherwise
"used uninitialised". ride previous version bump.
diffstat:
security/netpgpverify/files/libverify.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 28d970a91407 -r 998bc13ea66d security/netpgpverify/files/libverify.c
--- a/security/netpgpverify/files/libverify.c Thu Feb 05 00:38:14 2015 +0000
+++ b/security/netpgpverify/files/libverify.c Thu Feb 05 00:58:02 2015 +0000
@@ -2723,6 +2723,7 @@
if (cursor->pgp->ssh) {
fixup_ssh_keyid(cursor->pgp, signature, "sha1");
}
+ sub = 0;
if ((j = find_keyid(cursor->pgp, NULL, onepass->keyid, &sub)) < 0) {
fmt_binary(strkeyid, sizeof(strkeyid), onepass->keyid, (unsigned)sizeof(onepass->keyid));
snprintf(cursor->why, sizeof(cursor->why), "Signature key id %s not found ", strkeyid);
Home |
Main Index |
Thread Index |
Old Index