[ssh-keygen.c]
     '\0' terminated data[] is ok; ok markus@
This commit is contained in:
Ben Lindstrom 2001-07-04 05:05:27 +00:00
parent 44e49afae2
commit 511d69e6d7
2 changed files with 6 additions and 3 deletions

View File

@ -96,6 +96,9 @@
- markus@cvs.openbsd.org 2001/06/27 06:26:36
[ssh-add.c]
convert to getopt(3)
- stevesk@cvs.openbsd.org 2001/06/28 19:57:35
[ssh-keygen.c]
'\0' terminated data[] is ok; ok markus@
20010629
- (bal) Removed net_aton() since we don't use it any more
@ -5923,4 +5926,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1366 2001/07/04 05:03:51 mouring Exp $
$Id: ChangeLog,v 1.1367 2001/07/04 05:05:27 mouring Exp $

View File

@ -12,7 +12,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-keygen.c,v 1.68 2001/06/27 05:42:25 markus Exp $");
RCSID("$OpenBSD: ssh-keygen.c,v 1.69 2001/06/28 19:57:35 stevesk Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@ -194,7 +194,7 @@ do_convert_private_ssh2_from_blob(char *blob, int blen)
Buffer b;
Key *key = NULL;
char *type, *cipher;
u_char *sig, data[10] = "abcde12345";
u_char *sig, data[] = "abcde12345";
int magic, rlen, ktype, i1, i2, i3, i4;
u_int slen;
u_long e;