summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-10-02 09:50:50 +0000
committerDamien Miller <djm@mindrot.org>2019-10-02 19:53:40 +1000
commitfeff96b7d4c0b99307f0459cbff128aede4a8984 (patch)
tree8b9f9205e490cfcdbbba757a91ed1efc2d7509ac /ssh-keygen.c
parentb5a89eec410967d6b712665f8cf0cb632928d74b (diff)
upstream: thinko in previous; spotted by Mantas
=?UTF-8?q?=20Mikul=C4=97nas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OpenBSD-Commit-ID: ffa3f5a45e09752fc47d9041e2203ee2ec15b24d
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 7a6afa3c4..e039be304 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.353 2019/10/02 08:05:50 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.354 2019/10/02 09:50:50 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
@@ -3030,7 +3030,7 @@ main(int argc, char **argv)
3030 argc -= optind; 3030 argc -= optind;
3031 3031
3032 if (sign_op != NULL) { 3032 if (sign_op != NULL) {
3033 if (cert_principals == NULL && *cert_principals == '\0') { 3033 if (cert_principals == NULL || *cert_principals == '\0') {
3034 error("Too few arguments for sign/verify: " 3034 error("Too few arguments for sign/verify: "
3035 "missing namespace"); 3035 "missing namespace");
3036 exit(1); 3036 exit(1);