diff options
author | 2001-06-28 19:57:35 +0000 | |
---|---|---|
committer | 2001-06-28 19:57:35 +0000 | |
commit | ff4ca75b4f7929f4f062b005c6e08d52a47b215d (patch) | |
tree | b9d0b33fc33b4fe0e9dbfa43ec9e3f877f55d353 | |
parent | update your /usr/share/mk, drahn@ says .. my bad (diff) | |
download | wireguard-openbsd-ff4ca75b4f7929f4f062b005c6e08d52a47b215d.tar.xz wireguard-openbsd-ff4ca75b4f7929f4f062b005c6e08d52a47b215d.zip |
'\0' terminated data[] is ok; ok markus@
-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; |