aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1
AgeCommit message (Collapse)AuthorFilesLines
2001-02-10Fix CRL printing to correctly show when there are no revoked certificates.Dr. Stephen Henson3-1/+3
Make ca.c correctly initialize the revocation date. Make ASN1_UTCTIME_set_string() and ASN1_GENERALIZEDTIME_set_string() set the string type: so they can initialize ASN1_TIME structures properly.
2001-02-09Various Win32 related fixed. Make no-krb5 work in mkdef.pl .Dr. Stephen Henson1-0/+2
Fix warning in apps/engine.c Remove definitions of deleted functions. Add missing definition of X509_VAL.
2001-02-05Include string.h (whis is in all relevant standards) instead ofBodo Möller1-1/+1
memory.h (which is not).
2001-02-04Make depend.Ben Laurie1-487/+525
2001-02-04Fix a warning.Ben Laurie1-0/+1
2001-02-04Fix ASN1_TIME_to_generlizedtime().Dr. Stephen Henson1-2/+2
Add protoype for OCSP_response_create(). Add OCSP_request_sign() and OCSP_basic_sign() private key and certificate checks and make OCSP_NOCERTS consistent with PKCS7_NOCERTS
2001-02-03Various OCSP responder utility functions.Dr. Stephen Henson2-0/+48
Delete obsolete OCSP functions. Largely untested at present...
2001-02-02Various function for commmon operations.Dr. Stephen Henson2-17/+5
2001-01-24Add debugging info to new ASN1 code to trace memory leaks.Dr. Stephen Henson1-3/+27
Fix PKCS7 and PKCS12 memory leaks. Initialise encapsulated content type properly.
2001-01-19Fixes to various ASN1_INTEGER routines for negative case.Dr. Stephen Henson2-1/+13
Enhance s2i_ASN1_INTEGER().
2001-01-11Fix typo in OCSP ASN1 module, this causedDr. Stephen Henson1-1/+1
invalid format in OCSP request signatures. Add spaces to OCSP HTTP header. Change X509_NAME_set() there's no reason why it should return an error if the destination points to NULL... though it should if the destination is NULL.
2001-01-04Fix typo in OCSP nonce extension.Dr. Stephen Henson3-5/+9
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 Henson1-3/+9
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-31Since asn1.h gets included recursively from many places, the easiestRichard Levitte1-0/+3
is to have asn1.h include e_os.h and e_os2.h. Of course, this makes the unofficial "non-export" status of e_os.h a bit delicate...
2000-12-31Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson3-15/+20
horrible macros. Fix two evil ASN1 bugs. Attempt to use 'ctx' when NULL if input is indefinite length constructed in asn1_check_tlen() and invalid pointer to ASN1_TYPE when reusing existing structure (this took *ages* to find because the new PKCS#12 code triggered it).
2000-12-31If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcryptoRichard Levitte2-19/+30
objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT. This is actually only important on Win32, and can safely be ignored in all other cases, at least for now.
2000-12-30ASN1_ITEM versions of ASN1_d2i_{fp, bio} and replacement ofDr. Stephen Henson4-5/+120
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-28ASN1_ITEM version of ASN1_dup(). Might wantDr. Stephen Henson2-1/+27
something more efficient later...
2000-12-28Add NO_ASN1_OLD to remove some old style functions:Dr. Stephen Henson4-0/+15
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 Henson5-1/+184
The old function pointer versions will eventually go away.
2000-12-21Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson2-6/+11
Win32 but it is getting there... Update mkdef.pl to handle ASN1_ANY and fix headers. Stop various VC++ warnings. Include some fixes from "Peter 'Luna' Runestig" <peter@runestig.com> Remove external declaration for des_set_weak_key_flag: it doesn't exist.
2000-12-14New function X509V3_extensions_print() this removes extension duplicationDr. Stephen Henson2-52/+9
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-14New function X509_signature_print() to remove some duplicateDr. Stephen Henson3-48/+25
code from certificate, CRL and request printing routines.
2000-12-13Change the PKCS7 structure to use SEQUENCE OF for theDr. Stephen Henson2-1/+20
authenticated attributes: this is used to retain the original encoding and not break signatures. Support for a SET OF which reorders the STACK when encoding a structure. This will be used with the PKCS7 code.
2000-12-13Constification of the data of a hash table. This means the callbackRichard Levitte2-2/+2
functions need to be constified, and therefore meant a number of easy changes a little everywhere. Now, if someone could explain to me why OBJ_dup() cheats...
2000-12-08Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson73-6594/+4838
to main trunk. Lets see if the makes it to openssl-cvs :-)
2000-11-19Make sure bs is assigned NULL when it's free'd, or there will be anRichard Levitte2-0/+2
(incorrect) attempt to free it once more...
2000-11-12in some new file names the first 8 characters were not uniqueUlf Möller1-101/+88
2000-11-07Constify DH-related code.Richard Levitte3-4/+4
2000-11-07Constify DSA-related code.Richard Levitte10-14/+17
2000-11-06Constify the RSA parts of the ASN.1 library. Note some ugly castsRichard Levitte9-23/+27
that are needed in the ASN.1 macros. Hopefully, we can get rid of those in an elegant way in the future.
2000-10-27The majority of the OCSP code from CertCo.Richard Levitte3-0/+110
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte1-79/+136
make update done.
2000-10-06More code for X509_print_ex() support.Dr. Stephen Henson1-4/+10
2000-10-04Global DirectoryString mask fix.Dr. Stephen Henson3-79/+140
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 Levitte1-1/+2
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
2000-09-22Catch V_ASN1_NULL.Richard Levitte1-0/+2
2000-09-21Fix ASN1_TYPE bug.Dr. Stephen Henson2-6/+9
2000-09-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte1-1/+1
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 Levitte1-0/+7
the OpenSSL commands x50 and req work better on a EBCDIC system.
2000-09-09More VMS synchronisationRichard Levitte1-0/+1
2000-09-09Fix some CygWin problems.Ulf Möller2-6/+5
2000-09-08Two places where I forgot to change vms_idhacks to symhacks.Richard Levitte1-3/+1
2000-09-07Two new PKCS#12 demo programs.Dr. Stephen Henson2-0/+16
Update PKCS12_parse(). Make the keyid in certificate aux info more usable.
2000-09-07'make update'Richard Levitte1-133/+173
2000-09-06Get rid of ASN1_UTCTIME_get, which cannot work with time_tBodo Möller2-0/+48
return type (on platforms where time_t is a 32 bit value). New function ASN1_UTCTIME_cmp_time_t as a replacement for use in apps/x509.c.
2000-09-06'make update'Bodo Möller1-4/+5
2000-09-05*BIG* verify code reorganisation.Dr. Stephen Henson1-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 :-(
2000-09-05Keep a not of original encoding in certificate requests.Dr. Stephen Henson1-0/+21
Add new option to PKCS7_sign to exclude S/MIME capabilities.
2000-08-30Fix typo in i2d_ASN1_ENUMERATEDDr. Stephen Henson1-1/+1
Fix bug in read only memory BIOs so BIO_reset() works. Add sign and verify options to dgst utility, need to update docs.