diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-10-07 14:42:34 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-10-11 20:33:57 +0100 |
commit | af170194a88d6127d447bea826845c23ca192727 (patch) | |
tree | a889a3677021f6eb8cf6a4a42556026c209c329d /crypto/ocsp/ocsp_srv.c | |
parent | 47c9a1b5096be684c18335137284f0dfcefd12d6 (diff) |
embed OCSP_CERTID
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ocsp/ocsp_srv.c')
-rw-r--r-- | crypto/ocsp/ocsp_srv.c | 6 |
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; } |