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/lib clarification commen...
details: https://anonhg.NetBSD.org/src/rev/ea899853df4a
branches: trunk
changeset: 757597:ea899853df4a
user: agc <agc%NetBSD.org@localhost>
date: Tue Sep 07 00:25:37 2010 +0000
description:
clarification comment as to why two of the bignums are reversed
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 8816eddcf794 -r ea899853df4a crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c Mon Sep 06 21:33:07 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c Tue Sep 07 00:25:37 2010 +0000
@@ -57,7 +57,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: openssl_crypto.c,v 1.27 2010/08/15 07:52:27 agc Exp $");
+__RCSID("$NetBSD: openssl_crypto.c,v 1.28 2010/09/07 00:25:37 agc Exp $");
#endif
#ifdef HAVE_OPENSSL_DSA_H
@@ -524,7 +524,7 @@
orsa = RSA_new();
orsa->n = BN_dup(pubkey->n);
orsa->d = seckey->d;
- orsa->p = seckey->q;
+ orsa->p = seckey->q; /* p and q are round the other way in openssl */
orsa->q = seckey->p;
/* debug */
Home |
Main Index |
Thread Index |
Old Index