From ffd2fc2b1554e00f741c313b79abf0a3cf32c623 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 18 Jan 2022 16:09:51 +0000 Subject: [PATCH] Fix function name in warn message. --- usr.sbin/rpki-client/x509.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpki-client/x509.c b/usr.sbin/rpki-client/x509.c index 7205624a95b..0823d303484 100644 --- a/usr.sbin/rpki-client/x509.c +++ b/usr.sbin/rpki-client/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.30 2022/01/18 13:06:43 claudio Exp $ */ +/* $OpenBSD: x509.c,v 1.31 2022/01/18 16:09:51 tb Exp $ */ /* * Copyright (c) 2021 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -217,7 +217,7 @@ x509_get_pubkey(X509 *x, const char *fn) pkey = X509_get0_pubkey(x); if (pkey == NULL) { - warnx("%s: X509_get_pubkey failed in %s", fn, __func__); + warnx("%s: X509_get0_pubkey failed in %s", fn, __func__); goto out; } if (EVP_PKEY_base_id(pkey) != EVP_PKEY_EC) { -- 2.20.1