From 5e92c529f633a6716748115b4382071f4a18abe6 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Thu, 18 Jan 2018 21:45:55 +0000 Subject: [PATCH] Rename OCSP response verify function --- include/mbedtls/x509_ocsp.h | 2 +- library/x509_ocsp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/x509_ocsp.h b/include/mbedtls/x509_ocsp.h index 06875928f4..6611494514 100644 --- a/include/mbedtls/x509_ocsp.h +++ b/include/mbedtls/x509_ocsp.h @@ -202,7 +202,7 @@ int mbedtls_x509_ocsp_response_parse( mbedtls_x509_ocsp_response *resp, * \return 0 if the OCSP response was verified successfully, otherwise * a specific X.509 error */ -int mbedtls_x509_ocsp_verify_response( mbedtls_x509_ocsp_response *resp, +int mbedtls_x509_ocsp_response_verify( mbedtls_x509_ocsp_response *resp, mbedtls_x509_crt *req_chain, mbedtls_x509_crt *chain, mbedtls_x509_crt *trust_ca, diff --git a/library/x509_ocsp.c b/library/x509_ocsp.c index ee9f7d7113..91b5ef8abf 100644 --- a/library/x509_ocsp.c +++ b/library/x509_ocsp.c @@ -1775,7 +1775,7 @@ static int x509_ocsp_verify_responses( mbedtls_x509_ocsp_response *resp, * - Do not have an auth_mode=optional flag * - Need to check the revocation status of the OCSP response issuer */ -int mbedtls_x509_ocsp_verify_response( mbedtls_x509_ocsp_response *resp, +int mbedtls_x509_ocsp_response_verify( mbedtls_x509_ocsp_response *resp, mbedtls_x509_crt *req_chain, mbedtls_x509_crt *chain, mbedtls_x509_crt *trust_ca,