version 1.14, 2018/02/07 05:47:55 |
version 1.15, 2018/02/07 05:49:36 |
|
|
NULL); |
NULL); |
goto end; |
goto end; |
} |
} |
if (ca_id) |
OCSP_CERTID_free(ca_id); |
OCSP_CERTID_free(ca_id); |
|
ca_id = OCSP_cert_to_id(cert_id_md, NULL, ca); |
ca_id = OCSP_cert_to_id(cert_id_md, NULL, ca); |
|
|
/* Is this request about our CA? */ |
/* Is this request about our CA? */ |
|
|
} |
} |
} |
} |
err: |
err: |
if (ctx) |
OCSP_REQ_CTX_free(ctx); |
OCSP_REQ_CTX_free(ctx); |
|
|
|
return rsp; |
return rsp; |
} |
} |
|
|
if (!resp) |
if (!resp) |
BIO_printf(bio_err, "Error querying OCSP responder\n"); |
BIO_printf(bio_err, "Error querying OCSP responder\n"); |
end: |
end: |
if (cbio) |
BIO_free_all(cbio); |
BIO_free_all(cbio); |
SSL_CTX_free(ctx); |
if (ctx) |
|
SSL_CTX_free(ctx); |
|
return resp; |
return resp; |
} |
} |
|
|