[bufbn.c]
     typos in comments; ok jmc@
This commit is contained in:
Darren Tucker 2007-02-19 22:17:28 +11:00
parent 6ec2fbec8b
commit 591322ae38
2 changed files with 8 additions and 5 deletions

View File

@ -32,6 +32,9 @@
tested isatty(stderr) but wrote the progress meter to stdout. This patch tested isatty(stderr) but wrote the progress meter to stdout. This patch
makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com;
of dtucker@ of dtucker@
- stevesk@cvs.openbsd.org 2007/02/14 14:32:00
[bufbn.c]
typos in comments; ok jmc@
20070128 20070128
- (djm) [channels.c serverloop.c] Fix so-called "hang on exit" (bz #52) - (djm) [channels.c serverloop.c] Fix so-called "hang on exit" (bz #52)
@ -2727,4 +2730,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4615 2007/02/19 11:14:11 dtucker Exp $ $Id: ChangeLog,v 1.4616 2007/02/19 11:17:28 dtucker Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: bufbn.c,v 1.4 2006/11/06 21:25:28 markus Exp $*/ /* $OpenBSD: bufbn.c,v 1.5 2007/02/14 14:32:00 stevesk Exp $*/
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -93,7 +93,7 @@ buffer_put_bignum(Buffer *buffer, const BIGNUM *value)
} }
/* /*
* Retrieves an BIGNUM from the buffer. * Retrieves a BIGNUM from the buffer.
*/ */
int int
buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value) buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value)
@ -101,7 +101,7 @@ buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value)
u_int bits, bytes; u_int bits, bytes;
u_char buf[2], *bin; u_char buf[2], *bin;
/* Get the number for bits. */ /* Get the number of bits. */
if (buffer_get_ret(buffer, (char *) buf, 2) == -1) { if (buffer_get_ret(buffer, (char *) buf, 2) == -1) {
error("buffer_get_bignum_ret: invalid length"); error("buffer_get_bignum_ret: invalid length");
return (-1); return (-1);
@ -137,7 +137,7 @@ buffer_get_bignum(Buffer *buffer, BIGNUM *value)
} }
/* /*
* Stores an BIGNUM in the buffer in SSH2 format. * Stores a BIGNUM in the buffer in SSH2 format.
*/ */
int int
buffer_put_bignum2_ret(Buffer *buffer, const BIGNUM *value) buffer_put_bignum2_ret(Buffer *buffer, const BIGNUM *value)