diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-06-28 19:57:36 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-06-28 19:57:36 +0000 |
commit | 34d6ba9f04ce78523b5ec0d82d575bda324acdc6 (patch) | |
tree | ce365ed3dff4013f0074317acbe3c6b2956b88fc /usr.bin | |
parent | cbdc6ac09327ff316b86d9b0dcbe2f38f09e039d (diff) |
'\0' terminated data[] is ok; ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index 5060643316e..37019ddbe37 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -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> @@ -190,7 +190,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; |