summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_strnid.c
AgeCommit message (Collapse)Author
2011-01-24PR: 2433Dr. Stephen Henson
Submitted by: Chris Wilson <chris@qwirx.com> Reviewed by: steve Constify ASN1_STRING_set_default_mask_asc().
2008-11-12Revert the size_t modifications from HEAD that had led to moreGeoff Thorpe
knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD.
2008-11-05Update obsolete email address...Dr. Stephen Henson
2008-11-01size_tification.Ben Laurie
2008-10-22Create function of the form OBJ_bsearch_xxx() in bsearch typesafe macrosDr. Stephen Henson
with the appropriate parameters which calls OBJ_bsearch(). A compiler will typically inline this. This avoids the need for cmp_xxx variables and fixes unchecked const issues with CHECKED_PTR_OF()
2008-10-12Type-checked (and modern C compliant) OBJ_bsearch.Ben Laurie
2007-10-13Bunch of constifications.Andy Polyakov
2003-05-07Add correct DN entry for serialNumber.Dr. Stephen Henson
2003-03-14Add entry for domainComponent so it is treated correctly.Dr. Stephen Henson
Add table order test to end of a_strnid.c
2001-11-09cast to 'unsigned long' before using ~ if we need an unsigned long resultBodo Möller
Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net>
2001-06-11Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson
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-06-21Fixes for Win32 build.Dr. Stephen Henson
This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
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-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-02-22warning.Ulf Möller
2000-01-07apps/openssl.cnf and the documentation say it's "nombstr",Bodo Möller
but crypto/asn1/a_strnid.c had "nombchar".
2000-01-07More X509_ATTRIBUTE changes.Dr. Stephen Henson
2000-01-06Initial automation changes to 'req' and X509_ATTRIBUTE functions.Dr. Stephen Henson
1999-12-02Change the trust and purpose code so it doesn't need initDr. Stephen Henson
either and has a static and dynamic mix.
1999-11-08Fix to the -revoke option in ca. It was leaking memory, crashing and justDr. Stephen Henson
plain not working :-( Also fix some memory leaks in the new X509_NAME code. Fix so new app_rand code doesn't crash 'x509' and move #include so it compiles under Win32.
1999-10-27Continued multibyte character support.Dr. Stephen Henson
Add a bunch of functions to simplify the creation of X509_NAME structures. Change the X509_NAME_entry_add stuff in req/ca so it no longer uses X509_NAME_entry_count(): passing -1 has the same effect.
1999-10-25More multibyte character support.Dr. Stephen Henson
Functions to get keys from EVP_PKEY structures.