summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/ocsp_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ocsp/ocsp_srv.c')
-rw-r--r--crypto/ocsp/ocsp_srv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ocsp/ocsp_srv.c b/crypto/ocsp/ocsp_srv.c
index 02800705f3..8f196c81ff 100644
--- a/crypto/ocsp/ocsp_srv.c
+++ b/crypto/ocsp/ocsp_srv.c
@@ -96,11 +96,11 @@ int OCSP_id_get0_info(ASN1_OCTET_STRING **piNameHash, ASN1_OBJECT **pmd,
if (pmd)
*pmd = cid->hashAlgorithm.algorithm;
if (piNameHash)
- *piNameHash = cid->issuerNameHash;
+ *piNameHash = &cid->issuerNameHash;
if (pikeyHash)
- *pikeyHash = cid->issuerKeyHash;
+ *pikeyHash = &cid->issuerKeyHash;
if (pserial)
- *pserial = cid->serialNumber;
+ *pserial = &cid->serialNumber;
return 1;
}