diff options
Diffstat (limited to 'lib/x509/ocsp.c')
-rw-r--r-- | lib/x509/ocsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c index e28bccca4e..aa4784d32e 100644 --- a/lib/x509/ocsp.c +++ b/lib/x509/ocsp.c @@ -854,7 +854,7 @@ gnutls_ocsp_req_get_nonce(gnutls_ocsp_req_t req, ret = _gnutls_x509_decode_string(ASN1_ETYPE_OCTET_STRING, tmp.data, - (size_t) tmp.size, nonce); + (size_t) tmp.size, nonce, 0); if (ret < 0) { gnutls_assert(); gnutls_free(tmp.data); @@ -1675,7 +1675,7 @@ gnutls_ocsp_resp_get_nonce(gnutls_ocsp_resp_t resp, ret = _gnutls_x509_decode_string(ASN1_ETYPE_OCTET_STRING, tmp.data, - (size_t) tmp.size, nonce); + (size_t) tmp.size, nonce, 0); if (ret < 0) { gnutls_assert(); gnutls_free(tmp.data); |