| 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  * errorval.c |   6  * errorval.c | 
|   7  * |   7  * | 
|   8  * This file contains the actual error constants used in NSS. |   8  * This file contains the actual error constants used in NSS. | 
|   9  */ |   9  */ | 
|  10  |  10  | 
|  11 #ifndef NSSBASET_H |  11 #ifndef NSSBASET_H | 
|  12 #include "nssbaset.h" |  12 #include "nssbaset.h" | 
|  13 #endif /* NSSBASET_H */ |  13 #endif /* NSSBASET_H */ | 
|  14  |  14  | 
 |  15 /* clang-format off */ | 
 |  16  | 
|  15 const NSSError NSS_ERROR_NO_ERROR                       =  0; |  17 const NSSError NSS_ERROR_NO_ERROR                       =  0; | 
|  16 const NSSError NSS_ERROR_INTERNAL_ERROR                 =  1; |  18 const NSSError NSS_ERROR_INTERNAL_ERROR                 =  1; | 
|  17 const NSSError NSS_ERROR_NO_MEMORY                      =  2; |  19 const NSSError NSS_ERROR_NO_MEMORY                      =  2; | 
|  18 const NSSError NSS_ERROR_INVALID_POINTER                =  3; |  20 const NSSError NSS_ERROR_INVALID_POINTER                =  3; | 
|  19 const NSSError NSS_ERROR_INVALID_ARENA                  =  4; |  21 const NSSError NSS_ERROR_INVALID_ARENA                  =  4; | 
|  20 const NSSError NSS_ERROR_INVALID_ARENA_MARK             =  5; |  22 const NSSError NSS_ERROR_INVALID_ARENA_MARK             =  5; | 
|  21 const NSSError NSS_ERROR_DUPLICATE_POINTER              =  6; |  23 const NSSError NSS_ERROR_DUPLICATE_POINTER              =  6; | 
|  22 const NSSError NSS_ERROR_POINTER_NOT_REGISTERED         =  7; |  24 const NSSError NSS_ERROR_POINTER_NOT_REGISTERED         =  7; | 
|  23 const NSSError NSS_ERROR_TRACKER_NOT_EMPTY              =  8; |  25 const NSSError NSS_ERROR_TRACKER_NOT_EMPTY              =  8; | 
|  24 const NSSError NSS_ERROR_TRACKER_NOT_INITIALIZED        =  9; |  26 const NSSError NSS_ERROR_TRACKER_NOT_INITIALIZED        =  9; | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  53 const NSSError NSS_ERROR_CERTIFICATE_IN_CACHE           = 32; |  55 const NSSError NSS_ERROR_CERTIFICATE_IN_CACHE           = 32; | 
|  54  |  56  | 
|  55 const NSSError NSS_ERROR_HASH_COLLISION                 = 33; |  57 const NSSError NSS_ERROR_HASH_COLLISION                 = 33; | 
|  56 const NSSError NSS_ERROR_DEVICE_ERROR                   = 34; |  58 const NSSError NSS_ERROR_DEVICE_ERROR                   = 34; | 
|  57 const NSSError NSS_ERROR_INVALID_CERTIFICATE            = 35; |  59 const NSSError NSS_ERROR_INVALID_CERTIFICATE            = 35; | 
|  58 const NSSError NSS_ERROR_BUSY                           = 36; |  60 const NSSError NSS_ERROR_BUSY                           = 36; | 
|  59 const NSSError NSS_ERROR_ALREADY_INITIALIZED            = 37; |  61 const NSSError NSS_ERROR_ALREADY_INITIALIZED            = 37; | 
|  60  |  62  | 
|  61 const NSSError NSS_ERROR_PKCS11                         = 38; |  63 const NSSError NSS_ERROR_PKCS11                         = 38; | 
|  62  |  64  | 
 |  65 /* clang-format on */ | 
| OLD | NEW |