| Index: nss/lib/certhigh/ocsp.c
|
| diff --git a/nss/lib/certhigh/ocsp.c b/nss/lib/certhigh/ocsp.c
|
| index 177f03d7749fc10da6b07ffbc8d45a7c3feb73b0..59b341f1e8080e94dbc45523d9776d3e66c01b6a 100644
|
| --- a/nss/lib/certhigh/ocsp.c
|
| +++ b/nss/lib/certhigh/ocsp.c
|
| @@ -2577,9 +2577,8 @@ loser:
|
| static SECStatus
|
| ocsp_DecodeResponseBytes(PLArenaPool *arena, ocspResponseBytes *rbytes)
|
| {
|
| - PORT_Assert(rbytes != NULL); /* internal error, really */
|
| if (rbytes == NULL) {
|
| - PORT_SetError(SEC_ERROR_INVALID_ARGS); /* XXX set better error? */
|
| + PORT_SetError(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE);
|
| return SECFailure;
|
| }
|
|
|
|
|