diff options
-rw-r--r-- | ssh-keygen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index 96dd8b439..0518638e0 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.267 2015/03/23 06:06:38 djm Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.268 2015/03/31 11:06:49 tobias 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 |
@@ -1405,6 +1405,7 @@ do_change_comment(struct passwd *pw) | |||
1405 | } | 1405 | } |
1406 | if (private->type != KEY_RSA1) { | 1406 | if (private->type != KEY_RSA1) { |
1407 | fprintf(stderr, "Comments are only supported for RSA1 keys.\n"); | 1407 | fprintf(stderr, "Comments are only supported for RSA1 keys.\n"); |
1408 | explicit_bzero(passphrase, strlen(passphrase)); | ||
1408 | sshkey_free(private); | 1409 | sshkey_free(private); |
1409 | exit(1); | 1410 | exit(1); |
1410 | } | 1411 | } |