Typos.
Reported by: Jose Castejon-Amenedo <Jose.Castejon-Amenedo@hp.com>
This commit is contained in:
parent
d9f40bbe55
commit
91180d45f9
@ -3,7 +3,7 @@
|
|||||||
* project 2000.
|
* project 2000.
|
||||||
*/
|
*/
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 2000 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 2000-2004 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -272,7 +272,7 @@ static int ocsp_check_ids(STACK_OF(OCSP_SINGLERESP) *sresp, OCSP_CERTID **ret)
|
|||||||
|
|
||||||
for (i = 1; i < idcount; i++)
|
for (i = 1; i < idcount; i++)
|
||||||
{
|
{
|
||||||
tmpid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
|
tmpid = sk_OCSP_SINGLERESP_value(sresp, i)->certId;
|
||||||
/* Check to see if IDs match */
|
/* Check to see if IDs match */
|
||||||
if (OCSP_id_issuer_cmp(cid, tmpid))
|
if (OCSP_id_issuer_cmp(cid, tmpid))
|
||||||
{
|
{
|
||||||
@ -330,7 +330,7 @@ static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
|
|||||||
OCSP_CERTID *tmpid;
|
OCSP_CERTID *tmpid;
|
||||||
for (i = 0; i < sk_OCSP_SINGLERESP_num(sresp); i++)
|
for (i = 0; i < sk_OCSP_SINGLERESP_num(sresp); i++)
|
||||||
{
|
{
|
||||||
tmpid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId;
|
tmpid = sk_OCSP_SINGLERESP_value(sresp, i)->certId;
|
||||||
ret = ocsp_match_issuerid(cert, tmpid, NULL);
|
ret = ocsp_match_issuerid(cert, tmpid, NULL);
|
||||||
if (ret <= 0) return ret;
|
if (ret <= 0) return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user