diff options
Diffstat (limited to 'libssh/server.c')
-rw-r--r-- | libssh/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c index 336aaf51..fb678755 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -211,6 +211,8 @@ static int dh_handshake_server(SSH_SESSION *session){ case TYPE_RSA: prv=session->rsa_key; break; + default: + prv=NULL; } pub=publickey_from_privatekey(prv); pubkey=publickey_to_string(pub); |