aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_cmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-368/+354
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Compare encodings in X509_cmp as well as hash.Dr. Stephen Henson2014-01-261-1/+14
|
* Make no-ec compilation work.Dr. Stephen Henson2013-08-171-0/+16
|
* Rename Suite B functions for consistency.Dr. Stephen Henson2012-08-031-3/+19
| | | | | | New function X509_chain_up_ref to dup and up the reference count of a STACK_OF(X509): replace equivalent functionality in several places by the equivalent call.
* add suite B chain validation flags and associated verify errorsDr. Stephen Henson2012-08-031-0/+124
|
* Fix some warnings caused by __owur. Temporarily (I hope) remove the moreBen Laurie2011-11-141-6/+6
| | | | aspirational __owur annotations.
* allow MD5 use for computing old format hash linksDr. Stephen Henson2011-06-221-2/+7
|
* PR: 2250Dr. Stephen Henson2010-05-031-2/+1
| | | | | | Submitted By: Ger Hobbelt <ger@hobbelt.com> Don't overwrite return value with strlen(f).
* PR: 2136Dr. Stephen Henson2010-01-121-0/+14
| | | | | | | Submitted by: Willy Weisz <weisz@vcpc.univie.ac.at> Add options to output hash using older algorithm compatible with OpenSSL versions before 1.0.0
* Audit libcrypto for unchecked return values: fix all cases enounteredDr. Stephen Henson2009-09-231-7/+15
|
* Update from 1.0.0-stable.Dr. Stephen Henson2009-05-301-3/+3
|
* PR: 1843Dr. Stephen Henson2009-02-161-1/+1
| | | | Use correct array size for SHA1 hash.
* Update certificate hash line format to handle canonical formatDr. Stephen Henson2009-01-151-1/+17
| | | | and avoid MD5 dependency.
* Cache some CRL related extensions.Dr. Stephen Henson2006-07-241-0/+7
|
* Store canonical encodings of Name structures. Update X509_NAME_cmp() to useDr. Stephen Henson2006-07-181-141/+18
| | | | them.
* Update EVP_PKEY_cmp() and X509_check_private() to return sensible values andDr. Stephen Henson2006-04-281-22/+14
| | | | handle unsupported key types.
* Perform partial comparison of different character types in X509_NAME_cmp().Dr. Stephen Henson2004-12-011-12/+28
|
* Add functionality to help making self-signed certificate.Richard Levitte2003-04-031-44/+18
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-4/+5
|
* Add header ctype.hDr. Stephen Henson2002-11-131-0/+1
|
* X509_NAME_cmp() now compares PrintableString and emailAddress with a value ↵Richard Levitte2002-11-091-3/+106
| | | | | | | of type ia5String correctly. PR: 244
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-071-3/+4
| | | | Submitted by: Nils Larsch
* ECDSA supportBodo Möller2002-02-131-0/+16
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()Dr. Stephen Henson2001-10-161-3/+3
| | | | | | with existing code. Modify library to use digest *_ex() functions.
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-301-0/+2
|
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-191-5/+5
| | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-6/+6
| | | | | | | | | | | | sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
* Work around for libsafe "error".Dr. Stephen Henson2001-02-121-12/+3
|
* Various function for commmon operations.Dr. Stephen Henson2001-02-021-0/+6
|
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-2/+2
| | | | | | | | | 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.
* The previous commit to crypto/stack/*.[ch] pulled the type-safety stringsGeoff Thorpe2000-06-011-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ispell (and minor modifications)Ulf Möller2000-02-031-1/+1
|
* Some more ifdefs for no-xxx options.Ulf Möller2000-01-211-0/+4
|
* New function X509_cmp().Dr. Stephen Henson1999-11-161-0/+11
|
* Replace the macros in asn1.h with function equivalents. Also make UTF8StringsDr. Stephen Henson1999-10-201-1/+1
| | | | tolerated in certificates.
* Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed messageDr. Stephen Henson1999-10-041-0/+2
| | | | | | contains no certificates. Also fix typo in RANLIB changes.
* Initial support for MacOS.Andy Polyakov1999-09-111-2/+0
| | | | | | | | | | | | | | This will soon be complemented with MacOS specific source code files and INSTALL.MacOS. I (Andy) have decided to get rid of a number of #include <sys/types.h>. I've verified it's ok (both by examining /usr/include/*.h and compiling) on a number of Unix platforms. Unfortunately I don't have Windows box to verify this on. I really appreciate if somebody could try to compile it and contact me a.s.a.p. in case a problem occurs. Submitted by: Roy Wood <roy@centricsystems.ca> Reviewed by: Andy Polyakov <appro@fy.chalmers.se>
* Another safe stack.Ben Laurie1999-05-011-8/+10
|
* Use correct error macro so that error messages make sense.Bodo Möller1999-05-011-5/+5
| | | | | | Submitted by: Reviewed by: PR:
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-3/+3
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-41/+17
|
* Add type-safe STACKs and SETs.Ben Laurie1999-04-121-6/+6
|
* Generate errors when public/private key check is done.Ben Laurie1999-02-201-4/+17
|
* More EVP_PKEY patches for new functionality.Dr. Stephen Henson1999-01-031-0/+1
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-0/+44
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-7/+17
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+247