summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
AgeCommit message (Collapse)Author
2001-02-16New options to 'ca' utility to support CRL entry extensions.Dr. Stephen Henson
Add revelant new X509V3 extensions. Add OIDs. Fix ASN1 memory leak code to pop info if external allocation used.
2001-02-06Fix potential buffer overrun for EBCDIC.Ulf Möller
2001-02-02Various function for commmon operations.Dr. Stephen Henson
2001-02-01Tolerate some "variations" used in someDr. Stephen Henson
certificates. One is a valid CA which has no basicConstraints but does have certSign keyUsage. Other is S/MIME signer with nonRepudiation but no digitalSignature.
2001-01-19Fixes to various ASN1_INTEGER routines for negative case.Dr. Stephen Henson
Enhance s2i_ASN1_INTEGER().
2001-01-17Initial OCSP certificate verify. Not complete,Dr. Stephen Henson
it just supports a "trusted OCSP global root CA".
2001-01-04Fix typo in OCSP nonce extension.Dr. Stephen Henson
Set correct type in ASN1_STRING for INTEGER and ENUMERATED types. Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get() return -1 for invalid type rather than 0 (which is often valid). -1 may also be valid but this is less likely. Load OCSP error strings in ERR_load_crypto_strings().
2001-01-04Update OCSP API.Dr. Stephen Henson
Remove extensions argument from various functions because it is not needed with the new extension code. New function OCSP_cert_to_id() to convert a pair of certificates into an OCSP_CERTID. New simple OCSP HTTP function. This is rather primitive but just about adequate to send OCSP requests and parse the response. Fix typo in CRL distribution points extension. Fix ASN1 code so it adds a final null to constructed strings.
2000-12-29"make update" plus a rewrite of both .num files.Richard Levitte
2000-12-27X509V3_add_i2d() needs to be able to allocate aDr. Stephen Henson
STACK_OF(X509_EXTENSION) so it should be passed STACK_OF(X509_EXTENSION) ** in the first argument. Modify wrappers appropriately.
2000-12-24New function X509V3_add_i2d() this is used forDr. Stephen Henson
encoding, replacing and deleting extensions. Fix X509V3_get_d2i() so it uses takes note of new critical behaviour.
2000-12-20Fixes to OCSP print code.Dr. Stephen Henson
Don't try to print request certificates if signature is not present. Remove unnecessary test for certificates being NULL. Fix typos in printed output. Tidy up output. Fix for typo in OCSP_SERVICELOC ASN1 template. Also give a bit more info in CHANGES about the ASN1 revision.
2000-12-16Add OCSP service locator extension.Dr. Stephen Henson
2000-12-16Add support for the noCheck OCSP extension. This isDr. Stephen Henson
just a NULL and appears in a certificate.
2000-12-15Implement some standard OCSP extensions in the v3 code. TheseDr. Stephen Henson
are all raw print only extensions at present.
2000-12-14Add OCSP nonce extension to supported extensions.Dr. Stephen Henson
This is a little unusual because it can contain no structure i.e. the extension OCTET STRING content octets do not contain a DER encoded structure.
2000-12-14New function X509V3_extensions_print() this removes extension duplicationDr. Stephen Henson
from the print routines. Reorganisation of OCSP code: initial print routines in ocsp_prn.c. Doesn't work fully because OCSP extensions aren't reimplemented yet. Implement some ASN1 functions needed to compile OCSP code.
2000-12-13Stop extension creation code core dumping.Dr. Stephen Henson
This was caused by no initialising the buffer to NULL when using the auto allocating version if i2d.
2000-12-13Rewrite the extension code to use an ASN1_ITEM structureDr. Stephen Henson
for its ASN1 operations as well as the old style function pointers (i2d, d2i, new, free). Change standard extensions to support this. Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'.
2000-12-08Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson
to main trunk. Lets see if the makes it to openssl-cvs :-)
2000-11-12in some new file names the first 8 characters were not uniqueUlf Möller
2000-10-27The majority of the OCSP code from CertCo.Richard Levitte
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte
make update done.
2000-10-06More code for X509_print_ex() support.Dr. Stephen Henson
2000-09-25'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
2000-09-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte
of complaints from the compiler about data pointers and function pointers not being compatible with each other.
2000-09-10Marin Kraemer <Martin.Kraemer@MchP.Siemens.De> sent us patches to makeRichard Levitte
the OpenSSL commands x50 and req work better on a EBCDIC system.
2000-09-07'make update'Richard Levitte
2000-09-05*BIG* verify code reorganisation.Dr. Stephen Henson
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 :-(
2000-08-14MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte
test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-07-05I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
2000-07-02Don't dereference NULL pointers.Bodo Möller
Submitted by: bowe@chip.ma.certco.com
2000-06-16Safe stack reorganisation in terms of function casts.Dr. Stephen Henson
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-11Document EVP routines. Change EVP_SealInit() and EVP_OpenInit()Dr. Stephen Henson
to support multiple calls. New function to retrieve email address from certificates and requests.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
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.
2000-06-01"make update" + stripping the type-specific stack functions out ofGeoff Thorpe
libeay.num and ssleay.num.
2000-06-01The previous commit to crypto/stack/*.[ch] pulled the type-safety stringsGeoff Thorpe
yet tighter, and also put some heat on the rest of the library by insisting (correctly) that compare callbacks used in stacks are prototyped with "const" parameters. This has led to a depth-first explosion of compiler warnings in the code where 1 constification has led to 3 or 4 more. Fortunately these have all been resolved to completion and the code seems cleaner as a result - in particular many of the _cmp() functions should have been prototyped with "const"s, and now are. There was one little problem however; X509_cmp() should by rights compare "const X509 *" pointers, and it is now declared as such. However, it's internal workings can involve recalculating hash values and extensions if they have not already been setup. Someone with a more intricate understanding of the flow control of X509 might be able to tighten this up, but for now - this seemed the obvious place to stop the "depth-first" constification of the code by using an evil cast (they have migrated all the way here from safestack.h). Fortunately, this is the only place in the code where this was required to complete these type-safety changes, and it's reasonably clear and commented, and seemed the least unacceptable of the options. Trying to take the constification further ends up exploding out considerably, and indeed leads directly into generalised ASN functions which are not likely to cooperate well with this.
2000-05-17Typesafety Thought Police last part.Ben Laurie
2000-05-17Typesafety Thought Police part 5.Ben Laurie
2000-05-15Get rid of more non-ANSI declarations.Ulf Möller
2000-05-04Fix for SSL server purpose checkingDr. Stephen Henson
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
2000-04-09"make update"Richard Levitte
2000-03-25Beautifying code.Richard Levitte
2000-03-07New compatability trust and purpose settings.Dr. Stephen Henson
2000-03-05Preserve reason strings in automatically build tables.Bodo Möller
2000-02-26More get0 et al. changes. Also provide fgrep targets in CHANGESBodo Möller
where the new functions are mentioned.
2000-02-26Rename functions for new convention.Dr. Stephen Henson
2000-02-13Modernise 'selfsign.c' to use new X509_NAME codeDr. Stephen Henson
and add example of extension aliasing. Also fix the extension aliasing because it didn't work :-)