aboutsummaryrefslogtreecommitdiff
path: root/crypto/pem
AgeCommit message (Collapse)AuthorFilesLines
2000-06-09Using checks of the existence of HEADER_{foo}_H in other header filesRichard Levitte1-3/+9
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 Levitte4-25/+25
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-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2-4/+12
"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-03-05Preserve reason strings in automatically build tables.Bodo Möller1-1/+2
2000-03-03Fix for previous patch: If RAND_pseudo_bytes returns 0, this is not an error.Bodo Möller1-1/+1
2000-03-02Use RAND_pseudo_bytes, not RAND_bytes, for IVs/salts.Bodo Möller1-1/+1
2000-02-26Rename functions for new convention.Dr. Stephen Henson1-2/+2
2000-02-23Allow ADH to be used but not present in the default cipherDr. Stephen Henson1-0/+4
list. Allow CERTIFICATE to be used in PEM headers for PKCS#7 structures: some CAs do this.
2000-02-18New functions and option to use NEW in certificate requests.Dr. Stephen Henson2-0/+3
2000-02-16Pass phrase reorganisation.Dr. Stephen Henson2-20/+7
2000-01-21Check RAND_bytes() return value or use RAND_pseudo_bytes().Ulf Möller1-1/+2
2000-01-13Precautions against using the PRNG uninitialized: RAND_bytes() nowUlf Möller1-1/+1
returns int (1 = ok, 0 = not seeded). New function RAND_add() is the same as RAND_seed() but takes an estimate of the entropy as an additional argument.
2000-01-08Make NO_RSA compile with pedantic.Ben Laurie1-0/+6
1999-12-24Allow passwords to be included on command line for a fewDr. Stephen Henson2-0/+19
more utilities.
1999-12-24Fixes so NO_RSA works again.Dr. Stephen Henson1-0/+4
1999-12-23Add PKCS#8 utility functions and add PBE options.Dr. Stephen Henson3-11/+160
1999-11-26New options to the -verify program which can be used for chain verification.Dr. Stephen Henson2-2/+2
Extend the X509_PURPOSE structure to include shortnames for purposed and default trust ids. Still need some extendable trust checking code and integration with the SSL and S/MIME code.
1999-11-21Transparent support for PKCS#8 private keys in RSA/DSA.Dr. Stephen Henson2-4/+88
New universal public key format. Fix CRL+cert load problem in by_file.c Make verify report errors when loading files or dirs
1999-11-14'req' fixes. Reinstate length check one request fields.Dr. Stephen Henson1-0/+11
Fix to stop null being added to attributes. Modify X509_LOOKUP, X509_INFO to handle auxiliary info.
1999-11-11Fix a couple of outstanding issues: update STATUS file, fix NO_FP_API problems.Dr. Stephen Henson1-1/+2
Update docs, change 'ca' to use the new callback parameter. Now moved key_callback into app.c because some other utilities will use it soon.
1999-11-04Allow additional information to be attached to aDr. Stephen Henson3-15/+44
certificate: currently this includes trust settings and a "friendly name".
1999-10-25More multibyte character support.Dr. Stephen Henson1-1/+6
Functions to get keys from EVP_PKEY structures.
1999-10-04Add support for public key input and output in rsa and dsa utilities with someDr. Stephen Henson2-0/+5
new DSA public key functions that were missing. Also beginning of a cache for X509_EXTENSION structures: this will allow them to be accessed more quickly for things like certificate chain verification...
1999-08-08Fix two remaining prototype-related warningsRalf S. Engelschall1-0/+2
1999-07-28VMS updates.Ulf Möller1-10/+4
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-07-21Additional user data argument to pem_password_cb function typeBodo Möller3-132/+138
and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
1999-06-22Change the PEM_* function prototypes to use DECLARE_PEM macros and changeDr. Stephen Henson1-99/+99
util/mkdef.pl to handle this. Also do a 'make update'.
1999-06-10Fix warnings.Ben Laurie2-5/+7
1999-06-10Two new functions to write out PKCS#8 private keys. Also fixes for some ofDr. Stephen Henson4-2/+70
the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default iteration count if it is passed as zero.
1999-06-09Repair PEM_write_PrivateKey and PEM_write_bio_PrivateKey.Bodo Möller1-1/+8
1999-06-09Change the PEM function implementation to use a common set of macros: thisDr. Stephen Henson2-381/+96
should make modifying them easier. Fix the selfsign demo: it was rather ancient and used deleted functions.
1999-06-07Introduce "BIO pairs", which (when finished) will relay dataBodo Möller1-7/+8
so that the SSL library can be used for applications that have to handle all the actual I/O themselves.
1999-06-05Change so PEM private key read routines can handle PKCS#8 transparently.Dr. Stephen Henson1-6/+35
1999-06-05More PKCS#8 stuff. Support for unencrypted forms of private key.Dr. Stephen Henson2-1/+40
1999-06-04The rest of the PKCS#5, PKCS#8 patch I forgot before :-)Dr. Stephen Henson2-0/+38
1999-06-04Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).Ulf Möller1-0/+15
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-05-21It was a very bad idea to use #include "../e_os.h" -- when this occursBodo Möller1-43/+44
in cryptlib.h (which is often included as "../cryptlib.h"), then the question remains relative to which directory this is to be interpreted. gcc went one further directory up, as intended; but makedepend thinks differently, and so probably do some C compilers. So the ../ must go away; thus e_os.h goes back into include/openssl (but I now use #include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) -- and we have another huge bunch of dependency changes. Argh.
1999-05-20Don't install e_os.h in include/openssl, use it only as a localBodo Möller1-44/+43
include file.
1999-05-15Various Win32 fixes. Change args in do_ms.bat to put platform last. FixDr. Stephen Henson1-2/+2
unsigned/signed cmp error in asn1parse. Change various pem_all.c args to use pem_password_cb.
1999-05-15Update dependencies.Bodo Möller1-41/+42
1999-05-14Introduce and use function typedef pem_password_cb so that we don't callBodo Möller4-70/+75
those functions without having a parameter list declaration. (There are various similar cases left ...)
1999-05-13Update dependencies.Ben Laurie1-12/+12
1999-05-13VMS support.Ulf Möller1-0/+10
Submitted by: Richard Levitte <richard@levitte.org>
1999-05-04Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).Ralf S. Engelschall2-15/+15
PS: Feel free to move the IMPLEMENT_STACK_OF(X509_INFO) from crypto/asn1/x_info.c to any other place where you think it fits better. X509_INFO is a structure slightly spreaded over ASN.1, X509 and PEM code, so I found no definitive location for IMPLEMENT_STACK_OF(X509_INFO). In crypto/asn1/x_info.c it's at least now bundled with X509_INFO_new() and friends.
1999-04-29Support INSTALL_PREFIX for packagers.Bodo Möller1-2/+4
Submitted by: Reviewed by: PR:
1999-04-29Ignore Makefile.saveUlf Möller1-0/+1
Submitted by: Anonymous
1999-04-29Obey $(PERL) when running util/mklink.pl.Bodo Möller1-3/+3
Submitted by: Reviewed by: PR:
1999-04-28Use util/mklink.pl instead of util/mklink.sh.Bodo Möller1-3/+3
Submitted by: Reviewed by: PR:
1999-04-28Autogenerated files.Ulf Möller1-1/+0
1999-04-27New Configure option no-<cipher> (rsa, idea, rc5, ...).Ulf Möller3-3/+35