diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-01-08 13:39:06 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-01-08 13:39:06 +0000 |
commit | b5524a3ac3b19d9a689002f46646395cf9800843 (patch) | |
tree | cdb56f104f3b12a91cce49190e9b2511356424a9 /crypto/ocsp/ocsp_cl.c | |
parent | 0c61e299b35a0789d5de7c1972b15a82dff2f122 (diff) |
Add prototypes for new OCSP functions.
Fix bug in OCSP_find_status().
Diffstat (limited to 'crypto/ocsp/ocsp_cl.c')
-rw-r--r-- | crypto/ocsp/ocsp_cl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 3e73e3bb17..34c3969bcc 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -286,6 +286,8 @@ int OCSP_resp_find_status(OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status, if(i < 0) return 0; single = OCSP_resp_get0(bs, i); i = OCSP_single_get0_status(single, reason, revtime, thisupd, nextupd); - if(reason) *reason = i; + if(status) *status = i; return 1; } + + |