DragonFly commits List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/crypto/telnet/libtelnet pk.c src/usr.sbin/keyserv setkey.c
On Sun, Jul 17, 2005 at 12:16:35PM -0700, Joerg Sonnenberger wrote:
> Revision Changes Path
> 1.4 +5 -2 src/crypto/telnet/libtelnet/pk.c
> 1.9 +5 -0 src/usr.sbin/keyserv/setkey.c
>
>
> http://www.dragonflybsd.org/cvsweb/src/crypto/telnet/libtelnet/pk.c.diff?r1=1.3&r2=1.4&f=u
===================================================================
RCS file: /cvs/src/crypto/telnet/libtelnet/pk.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- src/crypto/telnet/libtelnet/pk.c 2005/01/11 13:22:41 1.3
+++ src/crypto/telnet/libtelnet/pk.c 2005/07/17 19:16:35 1.4
@@ -28,7 +28,7 @@
*
*
* $FreeBSD: src/crypto/telnet/libtelnet/pk.c,v 1.2.2.4 2002/08/24 07:28:35 nsayer Exp $
- * $DragonFly: src/crypto/telnet/libtelnet/pk.c,v 1.2 2003/06/17 04:24:37 dillon Exp $
+ * $DragonFly: src/crypto/telnet/libtelnet/pk.c,v 1.3 2005/01/11 13:22:41 joerg Exp $
*/
/* public key routines */
@@ -195,7 +198,7 @@ genkeys(char *public, char *secret)
char *xkey;
BN_CTX *ctx;
- BIGNUM *pk, *sk, *tmp, *base, *root, *modulus;
+ BIGNUM *pk, *sk, *tmp, *base, *root, *modulus = NULL;
pk = itobn(0);
sk = itobn(0);
This chunk is not necessary as modulus is initialized explicitely few
lines after in the same way You did in other places.
--
Michal Belczyk
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]