Skip to content

Commit 3b15cf5

Browse files
committed
Fix comment
1 parent 3c71b1e commit 3b15cf5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ocsp/stapling/ocsp-server.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,8 @@ static int fetch_ocsp_response(unsigned char** resp, int* respSz)
162162
}
163163
wolfSSL_CertManagerSetOCSP_Cb(cm, ocsp_cb, NULL, NULL);
164164

165-
/* Note: This does not return the raw OCSP response, just verifies. */
165+
/* This calls ocsp_cb to fetch the response and verifies it. ocsp_cb stores the response globally. */
166166
if (wolfSSL_CertManagerCheckOCSP(cm, certDer, certDerSz) == WOLFSSL_SUCCESS) {
167-
/* For real stapling, you would fetch and set the actual OCSP response here. */
168167
ret = 0;
169168
} else {
170169
fprintf(stderr, "wolfSSL_CertManagerCheckOCSP failed or OCSP not verified\n");

0 commit comments

Comments
 (0)