summaryrefslogtreecommitdiff
path: root/lib/x509/ocsp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/ocsp_output.c')
-rw-r--r--lib/x509/ocsp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/ocsp_output.c b/lib/x509/ocsp_output.c
index 8a2e0e4797..20fe7de70d 100644
--- a/lib/x509/ocsp_output.c
+++ b/lib/x509/ocsp_output.c
@@ -73,7 +73,7 @@ static void print_req(gnutls_buffer_st * str, gnutls_ocsp_req_t req)
continue;
}
addf(str, "\t\t\tHash Algorithm: %s\n",
- _gnutls_digest_get_name(mac_to_entry(digest)));
+ _gnutls_digest_get_name(hash_to_entry(digest)));
adds(str, "\t\t\tIssuer Name Hash: ");
_gnutls_buffer_hexprint(str, in.data, in.size);
@@ -343,7 +343,7 @@ print_resp(gnutls_buffer_st * str, gnutls_ocsp_resp_t resp,
continue;
}
addf(str, "\t\t\tHash Algorithm: %s\n",
- _gnutls_digest_get_name(mac_to_entry(digest)));
+ _gnutls_digest_get_name(hash_to_entry(digest)));
adds(str, "\t\t\tIssuer Name Hash: ");
_gnutls_buffer_hexprint(str, in.data, in.size);