summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* close NSS_LIBPKIX_BRANCHNSS_LIBPKIX_BRANCHFranziskus Kiefer2017-09-290-0/+0
|
* Unbreak build on AIX. Not sure why this builds on any other platform.julien.pierre.bugs%sun.com2006-07-241-1/+2
|
* Command modification necessary for Windows seems harmless for non-Windows, sorichard.freedman%sun.com2006-06-301-1/+1
| | | | let's make it universal.
* This checkin creates a new file pkix_errorstrings.h containing the textrichard.freedman%sun.com2006-06-2976-3096/+4120
| | | | | | | | of all error messages. A macro definition in pkixt.h defines an error number for each, and a different definition in pkix_error.c creates the corresponding text strings. References to error strings throughout libpkix have been replaced by the error numbers, with corresponding changes to macros such as PKIX_CHECK and PKIX_ERROR.
* Remove an erroneous requirement for an argument to be non-NULL.richard.freedman%sun.com2006-06-281-2/+2
| | | | | The user-supplied verify function does not require that the caller provide an address for a verifyTree.
* This file was accidentally omitted in previous checkin, to implementrichard.freedman%sun.com2006-06-271-0/+6
| | | | non-blocking I/O in libpkix OCSP checking
* Implement nonblocking I/O for libpkix OCSP handlerrichard.freedman%sun.com2006-06-276-217/+308
|
* pkix_DefaultRevChecker_Check calling sequence had to be modified, too, torichard.freedman%sun.com2006-06-271-0/+9
| | | | conform with the changes to revChecker_Check API
* Pass in user's procParams to ocspChecker for use in calling buildChainrichard.freedman%sun.com2006-06-2610-93/+213
| | | | to validate OCSP signer
* Remove some obsolete debugging code which, among other things, referencedrichard.freedman%sun.com2006-06-231-118/+0
| | | | a subroutine which no longer exists (thereby clobbering the build).
* Add a declaration pf PKIX_PL_Pk11CertStore_Create to the header file, sorichard.freedman%sun.com2006-06-221-0/+4
| | | | that users are not required to include pkix_samples.h
* Eliminate unreferenced "checkin" labels and add parentheses in a fewrichard.freedman%sun.com2006-06-2210-38/+9
| | | | | hash calculations, to reduce warning messages from some of the more discriminating compilers.
* Fix a comment that referred to the wrong piece in describing a set of changesrichard.freedman%sun.com2006-06-221-1/+1
|
* Isolate the CERT_VerifyCert call in OCSP processing, and allow the userrichard.freedman%sun.com2006-06-228-29/+302
| | | | to provide an alternate function (via PKIX_OcspChecker_SetVerifyFcn).
* Modify OCSP handling to isolate, and replace if a user-supplied alternativerichard.freedman%sun.com2006-06-198-142/+561
| | | | | is given, the legacy-code call to CERT_VerifyCert. Preserve Error information to be available to the user.
* Fix a leak by deallocating the receive buffer when the httpdefaultclientrichard.freedman%sun.com2006-06-191-2/+0
| | | | is destroyed
* Add a descriptive narrative to the function header forrichard.freedman%sun.com2006-06-191-1/+3
| | | | pkix_DefaultChecker_Create
* Add verifyNodes to test_buildchain. It calls for an additional argumentrichard.freedman%sun.com2006-06-1213-374/+925
| | | | | to PKIX_Build, so calling sequences in other test_buildchain variants had to be modified as well (taking a NULL argument, for now).
* Convert logging to use PKIX_ERRORNUM, PKIX_ERRORNAMESrichard.freedman%sun.com2006-06-121-5/+6
|
* Add tests for new type VerifyNode, used in loggingrichard.freedman%sun.com2006-05-293-0/+292
|
* ../../../../checkinmsgrichard.freedman%sun.com2006-05-261-1/+9
|
* Provide logging functionality to PKIX_ValidateChain and its variants.richard.freedman%sun.com2006-05-261-2/+9
| | | | | | Define a new object type PKIX_VerifyNode, and build a tree of VerifyNodes (optionally) during chain validation. Add this logging capability to all existing pkix tests that use ValidateChain.
* checkinmsgrichard.freedman%sun.com2006-05-262-0/+1158
|
* checkinmsgrichard.freedman%sun.com2006-05-2622-53/+345
|
* Reduce the opportunity for human error by defining type numbers automatically,richard.freedman%sun.com2006-05-261-69/+69
| | | | via a macro, the same way that error numbers are defined.
* Eliminate redundant initialization of pkixTempErrorReceived in PKIX_STD_VARSrichard.freedman%sun.com2006-05-231-2/+1
| | | | macro.
* Eliminate function that returned address of PKIX_ERRORNAMES.richard.freedman%sun.com2006-05-192-8/+0
| | | | Instead declare it as DATA to make it work in WIN32.
* Declare PKIX_ERRORNAMES external in a manner that works on WIN32 alsorichard.freedman%sun.com2006-05-191-1/+7
|
* Replace function that exports array address with appropriate declarationsrichard.freedman%sun.com2006-05-192-2/+5
| | | | that do the same, even on Windows platforms.
* Keep PKIX_Error_GetErrorString in all versions, not just for WIN32. Otherrichard.freedman%sun.com2006-05-193-8/+0
| | | | versions complain of undefined symbol because of its presence in nss.def.
* Provide WIN32 function to return the address of PKIX_ERRORNAMES array,richard.freedman%sun.com2006-05-184-1/+18
| | | | since we are unable to reference it directly from the test directory.
* Extra tab somehow got in after an end-of-line backslash. Removed it.richard.freedman%sun.com2006-05-181-1/+1
|
* Use PKIXERRORNUM, rather thana String, to indicate module to be logged (inrichard.freedman%sun.com2006-05-186-120/+74
| | | | | Logger calls). Thus typos will be caught at compile time rather than during execution.
* Add building of ocspchecker testrichard.freedman%sun.com2006-05-181-3/+3
|
* Add new ocsp and httpcertstore tests to the scripts that compilerichard.freedman%sun.com2006-05-186-0/+860
| | | | the tests.
* Use a macro to replace separate lists of errors in pkixt.h, pkix_error.c, andrichard.freedman%sun.com2006-05-175-232/+100
| | | | | | | | pkix_logger.c, to avoid the hazards of depending on synchronization by human effort. This macro is invoked to define error numbers in pkixt.h, and is redefined in pkix_error.c to initialize a corresponding array of strings. Pkix_logger.c now uses the same array, rather than its own slightly different one.
* Eliminate declaration of unreferenced variablerichard.freedman%sun.com2006-05-151-1/+0
|
* Define length of sec_PKCS7ContentInfoTemplate in forward declarationrichard.freedman%sun.com2006-05-121-1/+1
|
* Restore global status to function pkix_RevCheckCert erroneously declared staticrichard.freedman%sun.com2006-05-121-1/+1
|
* Add "static" to forward declaration of template so that laterrichard.freedman%sun.com2006-05-121-4/+1
| | | | initialization of template does not get compiler upset.
* Add extra braces around each of the two components of pkix_Alloc_Error_Datarichard.freedman%sun.com2006-05-121-0/+3
| | | | to eliminate compiler warnings
* Eliminate unreferenced labelsrichard.freedman%sun.com2006-05-123-19/+0
|
* Eliminate declaration of unused variables or labelsrichard.freedman%sun.com2006-05-121-10/+0
|
* Eliminate declaration of unused variablesrichard.freedman%sun.com2006-05-121-6/+1
|
* Eliminate declarations of unused variablesrichard.freedman%sun.com2006-05-122-16/+3
|
* Eliminate declaration of unused variablerichard.freedman%sun.com2006-05-121-1/+0
|
* Remove extraneous (and nonportable) absolute path designation from arichard.freedman%sun.com2006-05-111-1/+3
| | | | | "copy cert" command. Add a test (if PDVAL is defined) for buildchai using HTTP AIAs.
* Replace \n in output with outputting a blank line before or after the stringrichard.freedman%sun.com2006-05-111-9/+18
| | | | which had contained the \n. Echo doesn't handle \n right on all systems.
* Include decoding of signedData messages returned by Http servers.richard.freedman%sun.com2006-05-104-17/+851
|
* Comment out reference to CERT_DecodeCertPackage until library issue is resolvedrichard.freedman%sun.com2006-05-091-0/+2
|