aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/x_x509.c
Commit message (Collapse)AuthorAgeFilesLines
* Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),Dr. Stephen Henson2010-10-031-2/+2
| | | | | | | this means that some implementations will be used automatically, e.g. aesni, we do this for cryptodev anyway. Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
* Initial support for name constraints certificate extension.Dr. Stephen Henson2008-08-081-0/+2
| | | | TODO: robustness checking on name forms.
* Fix change to OPENSSL_NO_RFC3779Dr. Stephen Henson2006-12-061-2/+2
|
* Add RFC 3779 support.Ben Laurie2006-11-271-0/+8
|
* Cache some CRL related extensions.Dr. Stephen Henson2006-07-241-0/+2
|
* Extend callback function to support print customization.Dr. Stephen Henson2005-09-011-1/+2
|
* Remove ASN1_METHOD code replace with new ASN1 alternative.Dr. Stephen Henson2005-08-201-13/+0
|
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-5/+7
|
* Initial support for certificate policy checking and evaluation.Dr. Stephen Henson2004-03-231-0/+3
| | | | | This is currently *very* experimental and needs to be more fully integrated with the main verification code.
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-2/+2
| | | | | | | | functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
* Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe2001-09-011-9/+4
| | | | | | | | | | | See the commit log message for that for more information. NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented (initialisation by "memset" won't/can't/doesn't work). This fixes that but requires that X509_STORE_CTX_init() be able to handle errors - so its prototype has been changed to return 'int' rather than 'void'. All uses of that function throughout the source code have been tracked down and adjusted.
* The indexes returned by ***_get_ex_new_index() functions are used whenGeoff Thorpe2001-08-121-3/+4
| | | | | | | | setting stack (actually, array) values in ex_data. So only increment the global counters if the underlying CRYPTO_get_ex_new_index() call succeeds. This change doesn't make "ex_data" right (see the comment at the head of ex_data.c to know why), but at least makes the source code marginally less frustrating.
* More linker bloat reorganisation:Dr. Stephen Henson2001-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | Split private key PEM and normal PEM handling. Private key handling needs to link in stuff like PKCS#8. Relocate the ASN1 *_dup() functions, to the relevant ASN1 modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously these were all in crypto/x509/x_all.c along with every ASN1 BIO/fp function which linked in *every* ASN1 function if a single dup was used. Move the authority key id ASN1 structure to a separate file. This is used in the X509 routines and its previous location linked in all the v3 extension code. Also move ASN1_tag2bit to avoid linking in a_bytes.c which is now largely obsolete. So far under Linux stripped binary with single PEM_read_X509 is now 238K compared to 380K before these changes.
* Get rid of ASN1_ITEM_FUNCTIONS dummy functionDr. Stephen Henson2001-02-231-2/+2
| | | | | | prototype hack. This unfortunately means that every ASN1_*_END construct cannot have a trailing ;
* Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson2000-12-081-86/+62
| | | | | | to main trunk. Lets see if the makes it to openssl-cvs :-)
* *BIG* verify code reorganisation.Dr. Stephen Henson2000-09-051-3/+8
| | | | | | | | | | | | | | | | | The old code was painfully primitive and couldn't handle distinct certificates using the same subject name. The new code performs several tests on a candidate issuer certificate based on certificate extensions. It also adds several callbacks to X509_VERIFY_CTX so its behaviour can be customised. Unfortunately some hackery was needed to persuade X509_STORE to tolerate this. This should go away when X509_STORE is replaced, sometime... This must have broken something though :-(
* Various fixes...Dr. Stephen Henson2000-08-211-0/+1
| | | | | | | | | | | | | | | | initialize ex_pathlen to -1 so it isn't checked if pathlen is not present. set ucert to NULL in apps/pkcs12.c otherwise it gets freed twice. remove extraneous '\r' in MIME encoder. Allow a NULL to be passed to X509_gmtime_adj() Make PKCS#7 code use definite length encoding rather then the indefinite stuff it used previously.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-3/+3
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* Seek out and destroy another evil cast.Ulf Möller2000-01-301-1/+1
|
* Tidy up CRYPTO_EX_DATA structures.Dr. Stephen Henson2000-01-231-7/+7
|
* Allow additional information to be attached to aDr. Stephen Henson1999-11-041-0/+36
| | | | | certificate: currently this includes trust settings and a "friendly name".
* Replace the macros in asn1.h with function equivalents. Also make UTF8StringsDr. Stephen Henson1999-10-201-2/+2
| | | | tolerated in certificates.
* Initial support for certificate purpose checking: this willDr. Stephen Henson1999-10-131-0/+1
| | | | | ultimately lead to certificate chain verification. It is VERY EXPERIMENTAL at present though.
* Add EX_DATA support to X509.Dr. Stephen Henson1999-10-111-1/+23
| | | | Fix a bug in the X509_get_d2i() functions which didn't check if crit was NULL.
* Torture weak compilers less by not automatically including x509.h whereBodo Möller1999-07-211-0/+1
| | | | it is not needed.
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-5/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-2/+2
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-11/+5
|
* Massive constification.Ben Laurie1999-04-171-2/+2
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-2/+5
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+4
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+155