diff options
-rw-r--r-- | ssh.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.431 2015/12/10 17:08:40 mmcc Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.432 2015/12/11 03:20:09 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1243,8 +1243,10 @@ main(int ac, char **av) | |||
1243 | sensitive_data.keys[i] = NULL; | 1243 | sensitive_data.keys[i] = NULL; |
1244 | 1244 | ||
1245 | PRIV_START; | 1245 | PRIV_START; |
1246 | #if WITH_SSH1 | ||
1246 | sensitive_data.keys[0] = key_load_private_type(KEY_RSA1, | 1247 | sensitive_data.keys[0] = key_load_private_type(KEY_RSA1, |
1247 | _PATH_HOST_KEY_FILE, "", NULL, NULL); | 1248 | _PATH_HOST_KEY_FILE, "", NULL, NULL); |
1249 | #endif | ||
1248 | #ifdef OPENSSL_HAS_ECC | 1250 | #ifdef OPENSSL_HAS_ECC |
1249 | sensitive_data.keys[1] = key_load_private_cert(KEY_ECDSA, | 1251 | sensitive_data.keys[1] = key_load_private_cert(KEY_ECDSA, |
1250 | _PATH_HOST_ECDSA_KEY_FILE, "", NULL); | 1252 | _PATH_HOST_ECDSA_KEY_FILE, "", NULL); |