diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-07-09 11:55:56 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-07-09 11:57:16 +0200 |
commit | 99981d5f8bfa383791afea03f6bce8454e96e323 (patch) | |
tree | c668c9a58ff2d1df9f2e932205236ae68a94c9a5 /ssh-keygen.c | |
parent | Re-indent krb5 section after pkg-config addition. (diff) | |
download | openssh-99981d5f8bfa383791afea03f6bce8454e96e323.tar.xz openssh-99981d5f8bfa383791afea03f6bce8454e96e323.zip |
upstream: silence redundant error message; reported by Fabian Stelzer
OpenBSD-Commit-ID: 9349a703016579a60557dafd03af2fe1d44e6aa2
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index 3a05d0c6a..dedf00205 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.430 2021/07/05 01:16:46 dtucker Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.431 2021/07/09 09:55:56 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2769,7 +2769,8 @@ sig_find_principals(const char *signature, const char *allowed_keys) { } if ((r = sshsig_find_principals(allowed_keys, sign_key, &principals)) != 0) { - error_fr(r, "sshsig_get_principal"); + if (r != SSH_ERR_KEY_NOT_FOUND) + error_fr(r, "sshsig_find_principal"); goto done; } ret = 0; |