OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 /* | 5 /* |
6 * Implementation of OCSP services, for both client and server. | 6 * Implementation of OCSP services, for both client and server. |
7 * (XXX, really, mostly just for client right now, but intended to do both.) | 7 * (XXX, really, mostly just for client right now, but intended to do both.) |
8 * | |
9 * $Id$ | |
10 */ | 8 */ |
11 | 9 |
12 #include "prerror.h" | 10 #include "prerror.h" |
13 #include "prprf.h" | 11 #include "prprf.h" |
14 #include "plarena.h" | 12 #include "plarena.h" |
15 #include "prnetdb.h" | 13 #include "prnetdb.h" |
16 | 14 |
17 #include "seccomon.h" | 15 #include "seccomon.h" |
18 #include "secitem.h" | 16 #include "secitem.h" |
19 #include "secoidt.h" | 17 #include "secoidt.h" |
(...skipping 5790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5810 case ocspResponse_unauthorized: | 5808 case ocspResponse_unauthorized: |
5811 PORT_SetError(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST); | 5809 PORT_SetError(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST); |
5812 break; | 5810 break; |
5813 case ocspResponse_unused: | 5811 case ocspResponse_unused: |
5814 default: | 5812 default: |
5815 PORT_SetError(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS); | 5813 PORT_SetError(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS); |
5816 break; | 5814 break; |
5817 } | 5815 } |
5818 return SECFailure; | 5816 return SECFailure; |
5819 } | 5817 } |
OLD | NEW |