diff options
-rw-r--r-- | ssh-keygen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index 1a0d816ea..570f31795 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.348 2019/09/06 05:23:55 djm Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.349 2019/09/06 07:53:40 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -3108,7 +3108,10 @@ main(int argc, char **argv) | |||
3108 | do_convert_to(pw); | 3108 | do_convert_to(pw); |
3109 | if (convert_from) | 3109 | if (convert_from) |
3110 | do_convert_from(pw); | 3110 | do_convert_from(pw); |
3111 | #endif | 3111 | #else /* WITH_OPENSSL */ |
3112 | if (convert_to || convert_from) | ||
3113 | fatal("key conversion disabled at compile time"); | ||
3114 | #endif /* WITH_OPENSSL */ | ||
3112 | if (print_public) | 3115 | if (print_public) |
3113 | do_print_public(pw); | 3116 | do_print_public(pw); |
3114 | if (rr_hostname != NULL) { | 3117 | if (rr_hostname != NULL) { |