[key.c]
     better safe than sorry in later mods; yongari@kt-is.co.kr
This commit is contained in:
Ben Lindstrom 2001-04-17 18:06:14 +00:00
parent 04eeadea1d
commit 459d1913bf
2 changed files with 7 additions and 3 deletions

View File

@ -2,6 +2,10 @@
- (bal) Add perl5 check for HP/UX, Removed GNUness from Makefile.in
and temporary commented out 'catman-do:' since it is broken. Patches
for the first two by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
- OpenBSD CVS Sync
- deraadt@cvs.openbsd.org 2001/04/16 08:26:04
[key.c]
better safe than sorry in later mods; yongari@kt-is.co.kr
20010416
- OpenBSD CVS Sync
@ -5127,4 +5131,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1130 2001/04/17 17:58:55 mouring Exp $
$Id: ChangeLog,v 1.1131 2001/04/17 18:06:14 mouring Exp $

4
key.c
View File

@ -32,7 +32,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
RCSID("$OpenBSD: key.c,v 1.23 2001/04/05 10:42:50 markus Exp $");
RCSID("$OpenBSD: key.c,v 1.24 2001/04/16 08:26:04 deraadt Exp $");
#include <openssl/evp.h>
@ -216,7 +216,7 @@ key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len)
char *retval;
int i;
retval = xmalloc(dgst_raw_len * 3);
retval = xmalloc(dgst_raw_len * 3 + 1);
retval[0] = '\0';
for(i = 0; i < dgst_raw_len; i++) {
char hex[4];