mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 10:00:14 +00:00
upstream: fix type of nid in type_bits_valid(); github PR#202 from
github user thingsconnected OpenBSD-Commit-ID: 769d2b040dec7ab32d323daf54b854dd5dcb5485
This commit is contained in:
parent
1a14c13147
commit
b12b835dc0
@ -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
|
||||
@ -184,7 +184,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:
|
||||
|
Loading…
Reference in New Issue
Block a user