summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaie%kuix.de <devnull@localhost>2012-11-17 15:37:28 +0000
committerkaie%kuix.de <devnull@localhost>2012-11-17 15:37:28 +0000
commit9ae8427bf98d5832ae0a9fac9c65dc11a8942408 (patch)
treeb935b951942c74cff098f3053ca36bf7d9521d81
parent3ff34189cbb0916fabad3e2b74ef5a27adea015b (diff)
downloadnss-hg-9ae8427bf98d5832ae0a9fac9c65dc11a8942408.tar.gz
fix bustage...
-rw-r--r--security/nss/cmd/ocspresp/ocspresp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/nss/cmd/ocspresp/ocspresp.c b/security/nss/cmd/ocspresp/ocspresp.c
index b58213e8e..bda42c2cc 100644
--- a/security/nss/cmd/ocspresp/ocspresp.c
+++ b/security/nss/cmd/ocspresp/ocspresp.c
@@ -43,14 +43,14 @@ encode(PRArenaPool *arena, CERTOCSPCertID *cid,
PRTime now = PR_Now();
PRTime nextUpdate;
CERTOCSPSingleResponse **responses;
+ CERTOCSPSingleResponse *sr;
if (!arena)
return NULL;
nextUpdate = now + 10 * PR_USEC_PER_SEC; /* in the future */
- CERTOCSPSingleResponse *sr =
- OCSP_CreateSingleResponseGood(arena, cid, now, &nextUpdate);
+ sr = OCSP_CreateSingleResponseGood(arena, cid, now, &nextUpdate);
/* meaning of value 2: one entry + one end marker */
responses = PORT_ArenaNewArray(arena, CERTOCSPSingleResponse*, 2);
@@ -74,15 +74,15 @@ encodeRevoked(PRArenaPool *arena, CERTOCSPCertID *cid,
PRTime now = PR_Now();
PRTime revocationTime;
CERTOCSPSingleResponse **responses;
+ CERTOCSPSingleResponse *sr;
if (!arena)
return NULL;
revocationTime = now - 10 * PR_USEC_PER_SEC; /* in the past */
- CERTOCSPSingleResponse *sr =
- OCSP_CreateSingleResponseRevoked(arena, cid, now, NULL,
- revocationTime);
+ sr = OCSP_CreateSingleResponseRevoked(arena, cid, now, NULL,
+ revocationTime);
/* meaning of value 2: one entry + one end marker */
responses = PORT_ArenaNewArray(arena, CERTOCSPSingleResponse*, 2);