Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/libverify check the corr...
details: https://anonhg.NetBSD.org/src/rev/9d5167320f72
branches: trunk
changeset: 327317:9d5167320f72
user: agc <agc%NetBSD.org@localhost>
date: Tue Mar 04 17:29:06 2014 +0000
description:
check the correct field in the structure in dsa_verify - pointed out by
joerg - thanks!
diffstat:
crypto/external/bsd/netpgp/dist/src/libverify/libverify.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 8f027a2a1760 -r 9d5167320f72 crypto/external/bsd/netpgp/dist/src/libverify/libverify.c
--- a/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Tue Mar 04 17:05:14 2014 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Tue Mar 04 17:29:06 2014 +0000
@@ -1609,7 +1609,9 @@
BIGNUM *t1;
int ret;
- if (pubkey[DSA_P].bn == NULL || pubkey[DSA_Q].bn == NULL || pubkey[DSA_G].bn == NULL) {
+ if (pubkey->bn[DSA_P].bn == NULL ||
+ pubkey->bn[DSA_Q].bn == NULL ||
+ pubkey->bn[DSA_G].bn == NULL) {
return 0;
}
M = W = t1 = NULL;
Home |
Main Index |
Thread Index |
Old Index