diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-02-19 22:17:28 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-02-19 22:17:28 +1100 |
commit | 591322ae3897bef0b19236ec0c2a6053e8466e71 (patch) | |
tree | e3d9573d3003057f852210fdbdac04af93d2bee4 | |
parent | 6ec2fbec8b8b0e774d1d32afd26d0d13a2d1e4b7 (diff) |
- stevesk@cvs.openbsd.org 2007/02/14 14:32:00
[bufbn.c]
typos in comments; ok jmc@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bufbn.c | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -32,6 +32,9 @@ | |||
32 | tested isatty(stderr) but wrote the progress meter to stdout. This patch | 32 | tested isatty(stderr) but wrote the progress meter to stdout. This patch |
33 | makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; | 33 | makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; |
34 | of dtucker@ | 34 | of dtucker@ |
35 | - stevesk@cvs.openbsd.org 2007/02/14 14:32:00 | ||
36 | [bufbn.c] | ||
37 | typos in comments; ok jmc@ | ||
35 | 38 | ||
36 | 20070128 | 39 | 20070128 |
37 | - (djm) [channels.c serverloop.c] Fix so-called "hang on exit" (bz #52) | 40 | - (djm) [channels.c serverloop.c] Fix so-called "hang on exit" (bz #52) |
@@ -2727,4 +2730,4 @@ | |||
2727 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 2730 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
2728 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 2731 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
2729 | 2732 | ||
2730 | $Id: ChangeLog,v 1.4615 2007/02/19 11:14:11 dtucker Exp $ | 2733 | $Id: ChangeLog,v 1.4616 2007/02/19 11:17:28 dtucker Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bufbn.c,v 1.4 2006/11/06 21:25:28 markus Exp $*/ | 1 | /* $OpenBSD: bufbn.c,v 1.5 2007/02/14 14:32:00 stevesk Exp $*/ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -93,7 +93,7 @@ buffer_put_bignum(Buffer *buffer, const BIGNUM *value) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | /* | 95 | /* |
96 | * Retrieves an BIGNUM from the buffer. | 96 | * Retrieves a BIGNUM from the buffer. |
97 | */ | 97 | */ |
98 | int | 98 | int |
99 | buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value) | 99 | buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value) |
@@ -101,7 +101,7 @@ buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value) | |||
101 | u_int bits, bytes; | 101 | u_int bits, bytes; |
102 | u_char buf[2], *bin; | 102 | u_char buf[2], *bin; |
103 | 103 | ||
104 | /* Get the number for bits. */ | 104 | /* Get the number of bits. */ |
105 | if (buffer_get_ret(buffer, (char *) buf, 2) == -1) { | 105 | if (buffer_get_ret(buffer, (char *) buf, 2) == -1) { |
106 | error("buffer_get_bignum_ret: invalid length"); | 106 | error("buffer_get_bignum_ret: invalid length"); |
107 | return (-1); | 107 | return (-1); |
@@ -137,7 +137,7 @@ buffer_get_bignum(Buffer *buffer, BIGNUM *value) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | /* | 139 | /* |
140 | * Stores an BIGNUM in the buffer in SSH2 format. | 140 | * Stores a BIGNUM in the buffer in SSH2 format. |
141 | */ | 141 | */ |
142 | int | 142 | int |
143 | buffer_put_bignum2_ret(Buffer *buffer, const BIGNUM *value) | 143 | buffer_put_bignum2_ret(Buffer *buffer, const BIGNUM *value) |