Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ssh appease gcc -Wuninitialized
details: https://anonhg.NetBSD.org/src/rev/9e27fcb76039
branches: trunk
changeset: 581493:9e27fcb76039
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Jun 02 04:56:14 2005 +0000
description:
appease gcc -Wuninitialized
diffstat:
crypto/dist/ssh/kexdhs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be53689ba1fc -r 9e27fcb76039 crypto/dist/ssh/kexdhs.c
--- a/crypto/dist/ssh/kexdhs.c Thu Jun 02 04:43:45 2005 +0000
+++ b/crypto/dist/ssh/kexdhs.c Thu Jun 02 04:56:14 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kexdhs.c,v 1.3 2005/02/13 05:57:26 christos Exp $ */
+/* $NetBSD: kexdhs.c,v 1.4 2005/06/02 04:56:14 lukem Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -25,7 +25,7 @@
#include "includes.h"
RCSID("$OpenBSD: kexdhs.c,v 1.2 2004/06/13 12:53:24 djm Exp $");
-__RCSID("$NetBSD: kexdhs.c,v 1.3 2005/02/13 05:57:26 christos Exp $");
+__RCSID("$NetBSD: kexdhs.c,v 1.4 2005/06/02 04:56:14 lukem Exp $");
#include "xmalloc.h"
#include "key.h"
@@ -40,7 +40,7 @@
kexdh_server(Kex *kex)
{
BIGNUM *shared_secret = NULL, *dh_client_pub = NULL;
- DH *dh;
+ DH *dh = NULL;
Key *server_host_key;
u_char *kbuf, *hash, *signature = NULL, *server_host_key_blob = NULL;
u_int sbloblen, klen, kout;
Home |
Main Index |
Thread Index |
Old Index