summaryrefslogtreecommitdiffstats
path: root/crypto/x509
AgeCommit message (Collapse)Author
2001-02-12Work around for libsafe "error".Dr. Stephen Henson
2001-02-04Make depend.Ben Laurie
2001-02-02Various function for commmon operations.Dr. Stephen Henson
2001-01-28Comment and indentationBodo Möller
2001-01-20Fix to stop X509_time_adj() using GeneralizedTime.Dr. Stephen Henson
2001-01-17Initial OCSP certificate verify. Not complete,Dr. Stephen Henson
it just supports a "trusted OCSP global root CA".
2000-12-30ASN1_ITEM versions of ASN1_d2i_{fp, bio} and replacement ofDr. Stephen Henson
most of the old wrappers. A few of the old versions remain because they are non standard and the corresponding ASN1 code has not been reimplemented yet.
2000-12-29Replace the old ASN1_dup() with ASN1_item_dup() andDr. Stephen Henson
zap some evil function pointers casts along the way...
2000-12-28Add NO_ASN1_OLD to remove some old style functions:Dr. Stephen Henson
currently OpenSSL itself wont compile with this set because some old style stuff remains. Change old functions X509_sign(), X509_verify() etc to use new item based functions. Replace OCSP function declarations with DECLARE macros.
2000-12-28ASN1_ITEM versions of sign, verify, pack and unpack.Dr. Stephen Henson
The old function pointer versions will eventually go away.
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-15Locking issues.Bodo Möller
2000-12-14New function X509_signature_print() to remove some duplicateDr. Stephen Henson
code from certificate, CRL and request printing routines.
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-14Fix for typo in certificate directory lookup code.Dr. Stephen Henson
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte
make update done.
2000-10-04Global DirectoryString mask fix.Dr. Stephen Henson
Add support for X509_NAME_print_ex() in req. Initial code for cutomizable X509 print routines.
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-22Only use the new informational verify codes if weDr. Stephen Henson
specifically ask for them. Fix typo in docs.
2000-09-07Two new PKCS#12 demo programs.Dr. Stephen Henson
Update PKCS12_parse(). Make the keyid in certificate aux info more usable.
2000-09-07'make update'Richard Levitte
2000-09-07It's not just VMS that needs some symbols to be hacked. Let'sRichard Levitte
centralise those hacks in crypto/symhacks.h and use it everywhere it's needed.
2000-09-06Another superfluous pair of parentheses.Bodo Möller
2000-09-06Another round of indentation changes: Position braces consistently,Bodo Möller
add some whitespace for 'if ()', 'for ()', 'while ()' to distinguish keywords from function names, and finally remove parens around return values (why be stingy with whitespace but fill the source code with an abundance of parentheses that are not needed to structure expressions for readability?).
2000-09-06More indentation consistency: for (), while (), if (), return ()Bodo Möller
usually get a space between keyword and opening paranthesis so that they don't look like function calls, where no space is used.
2000-09-06Fix X509_STORE_CTX_init. Make indentation more consistent. Dump core less ↵Bodo Möller
often.
2000-09-05Fix typo in rsautl.Dr. Stephen Henson
Add support for settable verify time in X509_verify_cert(). Document rsautl utility.
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-09-05Keep a not of original encoding in certificate requests.Dr. Stephen Henson
Add new option to PKCS7_sign to exclude S/MIME capabilities.
2000-09-04Avoid abort() throughout the library, except when preprocessorBodo Möller
symbols for debugging are defined.
2000-09-03Add 'rsautl' low level RSA utility.Dr. Stephen Henson
Add DER public key routines. Add -passin argument to 'ca' utility. Document sign and verify options to dgst.
2000-08-21Various fixes...Dr. Stephen Henson
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.
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-30Document the new DN printing options.Dr. Stephen Henson
Change a few names to be more meaningful. Fix typos in CA.pl docs.
2000-07-28New ASN1_STRING_print_ex() and X509_NAME_print_ex()Dr. Stephen Henson
functions. These are intended to be replacements for the ancient ASN1_STRING_print() and X509_NAME_print() functions. The new functions support RFC2253 and various pretty printing options. It is also possible to display international characters if the terminal properly handles UTF8 encoding (Linux seems to tolerate this if the "unicode_start" script is run). Still needs to be documented, integrated into other utilities and extensively tested.
2000-07-26Make NEG_PUBKEY_BUG on by default.Dr. Stephen Henson
ASN1_TIME fixes. New function c2i_ASN1_OBJECT().
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-06-20Handle ASN1_SET_OF and PKCS12_STACK_OF using functionDr. Stephen Henson
casts in the same way as STACK_OF.
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-09Using checks of the existence of HEADER_{foo}_H in other header filesRichard Levitte
was a really bad idea. For example, the following: #include <x509.h> #include <bio.h> #include <asn1.h> would make sure that things like ASN1_UTCTIME_print() wasn't defined unless you moved the inclusion of bio.h to above the inclusion of x509.h. The reason is that x509.h includes asn1.h, and the declaration of ASN1_UTCTIME_print() depended on the definition of HEADER_BIO_H. That's what I call an obscure bug. Instead, this change makes sure that whatever header files are needed for the correct process of one header file are included automagically, and that the definitions of, for example, BIO-related things are dependent on the absence of the NO_{foo} macros. This is also consistent with the way parts of OpenSSL can be excluded at will.
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-18Fix c_rehash script, add -fingerprint option to crl.Dr. Stephen Henson
2000-05-16Typesafety Thought Police part 3.Ben Laurie
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.