pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files Update netpgpverify and li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/244c3c56576f
branches: trunk
changeset: 349459:244c3c56576f
user: agc <agc%pkgsrc.org@localhost>
date: Fri Jul 08 16:21:10 2016 +0000
description:
Update netpgpverify and libnetpgpverify to 20160706
+ 20160705 introduced a bug whereby a key subid would match and verify
fine, but, if formatted, would not display the correct subkey
information. Fix to show the correct information in this case.
diffstat:
security/netpgpverify/files/libverify.c | 2 +-
security/netpgpverify/files/verify.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 97936b47dece -r 244c3c56576f security/netpgpverify/files/libverify.c
--- a/security/netpgpverify/files/libverify.c Fri Jul 08 15:57:55 2016 +0000
+++ b/security/netpgpverify/files/libverify.c Fri Jul 08 16:21:10 2016 +0000
@@ -1815,7 +1815,7 @@
pubkey = &primary->primary;
} else {
id = ARRAY_ELEMENT(primary->signed_subkeys, subkey);
- pubkey = &ARRAY_ELEMENT(pgp->signed_subkeys, id - 1).subkey;
+ pubkey = &ARRAY_ELEMENT(pgp->signed_subkeys, id).subkey;
}
if (!fmt_pubkey(obuf, pubkey, "signature ")) {
return 0;
diff -r 97936b47dece -r 244c3c56576f security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h Fri Jul 08 15:57:55 2016 +0000
+++ b/security/netpgpverify/files/verify.h Fri Jul 08 16:21:10 2016 +0000
@@ -23,9 +23,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef NETPGP_VERIFY_H_
-#define NETPGP_VERIFY_H_ 20160705
+#define NETPGP_VERIFY_H_ 20160706
-#define NETPGPVERIFY_VERSION "netpgpverify portable 20160705"
+#define NETPGPVERIFY_VERSION "netpgpverify portable 20160706"
#include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index