diff options
author | 2020-10-29 03:01:18 +0000 | |
---|---|---|
committer | 2020-10-29 03:01:18 +0000 | |
commit | 46b97cf1e5e435b48fff217f565a9fab40746bfc (patch) | |
tree | bb0fc4e6553a12af005826f54a13b685da64bde1 /usr.bin/ssh/ssh-keygen.c | |
parent | whitespace; no code change (diff) | |
download | wireguard-openbsd-46b97cf1e5e435b48fff217f565a9fab40746bfc.tar.xz wireguard-openbsd-46b97cf1e5e435b48fff217f565a9fab40746bfc.zip |
fix type of nid in type_bits_valid(); github PR#202 from github user
thingsconnected
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-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 c8173fe118a..031d1e0e369 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.422 2020/10/29 02:52:43 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.423 2020/10/29 03:01:18 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -178,7 +178,7 @@ type_bits_valid(int type, const char *name, u_int32_t *bitsp) fatal("unknown key type %s", key_type_name); if (*bitsp == 0) { #ifdef WITH_OPENSSL - u_int nid; + int nid; switch(type) { case KEY_DSA: |