summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2001-09-17 19:27:15 +0000
committerstevesk <stevesk@openbsd.org>2001-09-17 19:27:15 +0000
commitcafd441e5dc784b18f73552fd2213e8d11d95154 (patch)
treed8f67529d8d011c06f8de5c6bbcaa190f6f1cd9a /usr.bin/ssh/ssh-keygen.c
parent The first implementation of the buffer flushing daemon. It solves our (diff)
downloadwireguard-openbsd-cafd441e5dc784b18f73552fd2213e8d11d95154.tar.xz
wireguard-openbsd-cafd441e5dc784b18f73552fd2213e8d11d95154.zip
u_char*/char* cleanup; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r--usr.bin/ssh/ssh-keygen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index d831b539a50..ed2be941870 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.79 2001/08/02 16:14:05 jakob Exp $");
+RCSID("$OpenBSD: ssh-keygen.c,v 1.80 2001/09/17 19:27:15 stevesk Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -186,7 +186,7 @@ buffer_get_bignum_bits(Buffer *b, BIGNUM *value)
}
static Key *
-do_convert_private_ssh2_from_blob(char *blob, int blen)
+do_convert_private_ssh2_from_blob(u_char *blob, int blen)
{
Buffer b;
Key *key = NULL;
@@ -283,7 +283,7 @@ do_convert_from_ssh2(struct passwd *pw)
Key *k;
int blen;
char line[1024], *p;
- char blob[8096];
+ u_char blob[8096];
char encoded[8096];
struct stat st;
int escaped = 0, private = 0, ok;