From 69eaaa899605ce189942aefb581442a5198a0555 Mon Sep 17 00:00:00 2001 From: Dominic Chen Date: Mon, 12 Feb 2024 01:28:59 -0800 Subject: [PATCH] Fix compile with libpki-v0.9.9-rc2 or newer --- src/ocspd/response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocspd/response.c b/src/ocspd/response.c index 999b57a..0db96f8 100644 --- a/src/ocspd/response.c +++ b/src/ocspd/response.c @@ -159,7 +159,7 @@ int sign_ocsp_response(PKI_X509_OCSP_RESP *resp, OCSPD_CONFIG *conf, PKI_X509_CE ASN1_BIT_STRING_set_bit((PKI_STRING *)signature, i, 1); } - if (PKI_OK != PKI_X509_OCSP_resp_bytes_encode(resp)) + if (PKI_OK != PKI_X509_OCSP_RESP_bytes_encode(resp)) return PKI_ERR; /*