Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: mozilla/security/nss/lib/certhigh/ocsp.c

Issue 10961060: Update NSS to NSS 3.14 Beta 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Merge nss-static2.patch into nss-static.patch Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mozilla/security/nss/lib/certhigh/ocsp.c
===================================================================
--- mozilla/security/nss/lib/certhigh/ocsp.c (revision 158129)
+++ mozilla/security/nss/lib/certhigh/ocsp.c (working copy)
@@ -105,7 +105,7 @@
static SECItem *
ocsp_GetEncodedOCSPResponseFromRequest(PRArenaPool *arena,
CERTOCSPRequest *request,
- char *location, int64 time,
+ const char *location, int64 time,
PRBool addServiceLocator,
void *pwArg,
CERTOCSPRequest **pRequest);
@@ -1476,7 +1476,7 @@
* (SEC_ERROR_OCSP_MALFORMED_REQUEST), or low-level problem (no memory).
*/
CERTOCSPRequest *
-CERT_DecodeOCSPRequest(SECItem *src)
+CERT_DecodeOCSPRequest(const SECItem *src)
{
PRArenaPool *arena = NULL;
SECStatus rv = SECFailure;
@@ -2908,7 +2908,7 @@
* errors appropriate to the problem will be set.
*/
static PRFileDesc *
-ocsp_SendEncodedRequest(char *location, SECItem *encodedRequest)
+ocsp_SendEncodedRequest(const char *location, SECItem *encodedRequest)
{
char *hostname = NULL;
char *path = NULL;
@@ -3267,7 +3267,7 @@
static SECItem *
fetchOcspHttpClientV1(PRArenaPool *arena,
const SEC_HttpClientFcnV1 *hcv1,
- char *location,
+ const char *location,
SECItem *encodedRequest)
{
char *hostname = NULL;
@@ -3386,7 +3386,7 @@
* must be handled by the caller (and thus by having multiple calls
* to this routine), who knows about where the request(s) are being
* sent and whether there are any trusted responders in place.
- * char *location
+ * const char *location
* The location of the OCSP responder (a URL).
* int64 time
* Indicates the time for which the certificate status is to be
@@ -3417,7 +3417,7 @@
*/
SECItem *
CERT_GetEncodedOCSPResponse(PRArenaPool *arena, CERTCertList *certList,
- char *location, int64 time,
+ const char *location, int64 time,
PRBool addServiceLocator,
CERTCertificate *signerCert, void *pwArg,
CERTOCSPRequest **pRequest)
@@ -3435,7 +3435,7 @@
static SECItem *
ocsp_GetEncodedOCSPResponseFromRequest(PRArenaPool *arena,
CERTOCSPRequest *request,
- char *location, int64 time,
+ const char *location, int64 time,
PRBool addServiceLocator,
void *pwArg,
CERTOCSPRequest **pRequest)
@@ -3496,7 +3496,7 @@
ocsp_GetEncodedOCSPResponseForSingleCert(PRArenaPool *arena,
CERTOCSPCertID *certID,
CERTCertificate *singleCert,
- char *location, int64 time,
+ const char *location, int64 time,
PRBool addServiceLocator,
void *pwArg,
CERTOCSPRequest **pRequest)

Powered by Google App Engine
This is Rietveld 408576698