summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-11 05:33:14 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-11 05:45:15 +0100
commita4dc9ebfd1c0b2cba91fc59891d06d1fe019c792 (patch)
tree13fca7d59ee1e357876b53052c95e429f42a3c0d
parent0800612d114b18dd9ce487f84157b8c4ee203532 (diff)
downloadgnutls-a4dc9ebfd1c0b2cba91fc59891d06d1fe019c792.tar.gz
utilize the gnutls 3.2 functions
-rw-r--r--lib/x509/ocsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c
index d1f08171ca..1e8ebc5648 100644
--- a/lib/x509/ocsp.c
+++ b/lib/x509/ocsp.c
@@ -1885,7 +1885,7 @@ _ocsp_resp_verify_direct(gnutls_ocsp_resp_t resp,
}
sigalg = rc;
- rc = _gnutls_x509_get_raw_field2(resp->basicresp, &resp->der, "tbsResponseData", &data);
+ rc = _gnutls_x509_get_raw_dn2(resp->basicresp, &resp->der, "tbsResponseData", &data);
if (rc != GNUTLS_E_SUCCESS) {
gnutls_assert();
goto done;