diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-04-12 20:18:46 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-04-12 20:18:46 +0000 |
commit | e764a5c45de5fe4e43f143561283ef025128b681 (patch) | |
tree | 302309a788efd6781114951400310a49231d4414 | |
parent | fde471bd5c21ca55cd7df7c766034e89603bf100 (diff) |
"could not open public key" is an error and should be log_info.
-rw-r--r-- | sbin/iked/ca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ca.c b/sbin/iked/ca.c index 377a71754a6..bb00a682d5a 100644 --- a/sbin/iked/ca.c +++ b/sbin/iked/ca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ca.c,v 1.59 2020/04/10 20:58:32 tobhe Exp $ */ +/* $OpenBSD: ca.c,v 1.60 2020/04/12 20:18:45 tobhe Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -1383,7 +1383,7 @@ ca_validate_pubkey(struct iked *env, struct iked_static_id *id, } if ((fp = fopen(file, "r")) == NULL) { - log_debug("%s: could not open public key %s", __func__, file); + log_info("%s: could not open public key %s", __func__, file); goto done; } localkey = PEM_read_PUBKEY(fp, NULL, NULL, NULL); |