Module Name: src Committed By: agc Date: Tue Sep 7 00:25:37 UTC 2010
Modified Files: src/crypto/external/bsd/netpgp/dist/src/lib: openssl_crypto.c Log Message: clarification comment as to why two of the bignums are reversed To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 \ src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c diff -u src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c:1.27 src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c:1.28 --- src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c:1.27 Sun Aug 15 07:52:27 2010 +++ src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c Tue Sep 7 00:25:37 2010 @@ -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 */