=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keygen.c,v retrieving revision 1.353 retrieving revision 1.354 diff -u -r1.353 -r1.354 --- src/usr.bin/ssh/ssh-keygen.c 2019/10/02 08:05:50 1.353 +++ src/usr.bin/ssh/ssh-keygen.c 2019/10/02 09:50:50 1.354 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.353 2019/10/02 08:05:50 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.354 2019/10/02 09:50:50 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -3012,7 +3012,7 @@ argc -= optind; if (sign_op != NULL) { - if (cert_principals == NULL && *cert_principals == '\0') { + if (cert_principals == NULL || *cert_principals == '\0') { error("Too few arguments for sign/verify: " "missing namespace"); exit(1);