Index: mozilla/security/nss/lib/certhigh/ocsp.h |
=================================================================== |
--- mozilla/security/nss/lib/certhigh/ocsp.h (revision 158129) |
+++ mozilla/security/nss/lib/certhigh/ocsp.h (working copy) |
@@ -5,7 +5,7 @@ |
/* |
* Interface to the OCSP implementation. |
* |
- * $Id: ocsp.h,v 1.21 2012/05/31 22:03:36 emaldona%redhat.com Exp $ |
+ * $Id: ocsp.h,v 1.22 2012/09/22 13:41:58 wtc%google.com Exp $ |
*/ |
#ifndef _OCSP_H_ |
@@ -121,11 +121,11 @@ |
* INPUTS: |
* CERTCertDBHandle *handle |
* Cert database on which OCSP checking should use the default responder. |
- * char *url |
+ * const char *url |
* The location of the default responder (e.g. "http://foo.com:80/ocsp") |
* Note that the location will not be tested until the first attempt |
* to send a request there. |
- * char *name |
+ * const char *name |
* The nickname of the cert to trust (expected) to sign the OCSP responses. |
* If the corresponding cert cannot be found, SECFailure is returned. |
* RETURN: |
@@ -272,7 +272,7 @@ |
* (SEC_ERROR_OCSP_MALFORMED_REQUEST), or low-level problem (no memory). |
*/ |
extern CERTOCSPRequest * |
-CERT_DecodeOCSPRequest(SECItem *src); |
+CERT_DecodeOCSPRequest(const SECItem *src); |
/* |
* FUNCTION: CERT_DestroyOCSPRequest |
@@ -331,7 +331,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). |
* PRTime time |
* Indicates the time for which the certificate status is to be |
@@ -362,7 +362,7 @@ |
*/ |
extern SECItem * |
CERT_GetEncodedOCSPResponse(PLArenaPool *arena, CERTCertList *certList, |
- char *location, PRTime time, |
+ const char *location, PRTime time, |
PRBool addServiceLocator, |
CERTCertificate *signerCert, void *pwArg, |
CERTOCSPRequest **pRequest); |
@@ -450,12 +450,12 @@ |
* const char *url |
* The URI to be parsed |
* OUTPUTS: |
- * char *pHostname |
+ * char **pHostname |
* Pointer to store the hostname obtained from the URI. |
* This result should be freed (via PORT_Free) when no longer in use. |
* PRUint16 *pPort |
* Pointer to store the port number obtained from the URI. |
- * char *pPath |
+ * char **pPath |
* Pointer to store the path obtained from the URI. |
* This result should be freed (via PORT_Free) when no longer in use. |
* RETURN: |