summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
AgeCommit message (Collapse)Author
2008-10-26Add JPAKE.Ben Laurie
2008-08-06Remove the dual-callback scheme for numeric and pointer thread IDs,Geoff Thorpe
deprecate the original (numeric-only) scheme, and replace with the CRYPTO_THREADID object. This hides the platform-specifics and should reduce the possibility for programming errors (where failing to explicitly check both thread ID forms could create subtle, platform-specific bugs). Thanks to Bodo, for invaluable review and feedback.
2008-07-03Revert my earlier CRYPTO_THREADID commit, I will commit a reworkedGeoff Thorpe
version some time soon.
2008-06-02Avoid case in ca.c fix.Dr. Stephen Henson
2008-05-31Stop const mismatch warning in VC++.Dr. Stephen Henson
2008-05-26LHASH revamp. make depend.Ben Laurie
2008-03-28There was a need to support thread ID types that couldn't be reliably castGeoff Thorpe
to 'unsigned long' (ie. odd platforms/compilers), so a pointer-typed version was added but it required portable code to check *both* modes to determine equality. This commit maintains the availability of both thread ID types, but deprecates the type-specific accessor APIs that invoke the callbacks - instead a single type-independent API is used. This simplifies software that calls into this interface, and should also make it less error-prone - as forgetting to call and compare *both* thread ID accessors could have led to hard-to-debug/infrequent bugs (that might only affect certain platforms or thread implementations). As the CHANGES note says, there were corresponding deprecations and replacements in the thread-related functions for BN_BLINDING and ERR too.
2008-03-12And so it begins...Dr. Stephen Henson
Initial support for CMS. Add zlib compression BIO. Add AES key wrap implementation. Generalize S/MIME MIME code to support CMS and/or PKCS7.
2007-09-26Support for certificate status TLS extension.Dr. Stephen Henson
2007-04-11New -mac and -macopt options to dgst utility. Reimplement -hmac option inDr. Stephen Henson
terms of new API.
2006-04-17If we include winsock2.h then FD_SET wants an unsigned type for an fd.Dr. Stephen Henson
2006-04-09Add RSA ctrl for padding mode, add ctrl support in pkeyutl.Dr. Stephen Henson
2006-04-08Reformat pkeyutl.c, add support for verify operation but nothing actuallyDr. Stephen Henson
supports it (yet).
2006-03-28Fix bug where freed OIDs could be accessed in EVP_cleanup() byDr. Stephen Henson
defering freeing in OBJ_cleanup().
2005-11-06Collect timing procedures in apps/apps.c. It's a bit cruel patch, as itAndy Polyakov
temporarily[!] removes support for couple of esoteric platforms [well, Netware, vxWorks and VMS].
2005-11-04Eliminate remaining calls to stat in apps/apps.c and unify WIN32_rename forAndy Polyakov
all Windows targets.
2005-11-04Eliminate dependency on read/write/stat in apps under _WIN32.Andy Polyakov
2005-11-03Get rid of arcane reference to _fmode in apps/apps.h. Binary open isAndy Polyakov
handles properly by bss_file.c, which renders _fmode redundant.
2005-08-31Integrated support for PVK files.Dr. Stephen Henson
2005-08-21Command line support for RSAPublicKey format.Dr. Stephen Henson
2005-04-19Various Win32 and other fixes for warnings and compilation errors.Dr. Stephen Henson
Fix Win32 build system to use 'Makefile' instead of 'Makefile.ssl'.
2005-04-15const fixesNils Larsch
2005-04-05some const fixesNils Larsch
2004-09-07Reformat smime utility.Dr. Stephen Henson
Add support for policy checking in verify utility.
2004-09-06New X509_VERIFY_PARAM structure and associated functionality.Dr. Stephen Henson
This tidies up verify parameters and adds support for integrated policy checking. Add support for policy related command line options. Currently only in smime application. WARNING: experimental code subject to change.
2004-05-17Remove some unnecessary recursive includes from the internal apps.h header,Geoff Thorpe
and include bn.h in those C files that need bignum functionality.
2004-04-20Reduce chances of issuer and serial number duplication by use of randomDr. Stephen Henson
initial serial numbers. PR: 842
2003-11-28Move another common functionality (reproduced so far with cut'n'paste)Richard Levitte
to apps.c, and give it the hopefully descriptive name parse_yesno().
2003-11-28Forgot to change the declaration of do_subject() to one of parse_name()...Richard Levitte
2003-11-28Allow multi-valued rdns in subjects. This adds the -multivalue-rdn optionRichard Levitte
to 'openssl req' and 'openssl ca'. PR: 779 Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de> Reviewed by: Richard Levitte (there will be some follow-up changes)
2003-11-28Netware-specific changes,Richard Levitte
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
2003-09-09Generalise the definition of strcasecmp() and strncasecmp() forRichard Levitte
platforms that don't (necessarely) have it. In the case of VMS, this means moving a couple of functions from apps/ to crypto/ and make them general (although only used privately).
2003-04-04Convert save_serial() to work like save_index(), and add aRichard Levitte
rotate_serial() that works like rotate_index().
2003-04-03Make it possible to have multiple active certificates with the sameRichard Levitte
subject.
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-10-10VMS below version 7 doesn't have strcasecmp, so let's roll our own on VMS.Richard Levitte
PR: 184
2002-10-09Make sure that the 'config' variable is correctly defined and declaredRichard Levitte
for monolithic as well as non-monolithic biuld. More work is probably needed in this area. PR: 144
2002-08-01Make it possible to load keys from stdin, and restore thatRichard Levitte
functionality in the programs that had that before. Part fo PR 164
2002-06-13Add missing prototypes.Lutz Jänicke
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de> PR: 89
2002-05-19Reorganise -subj option code, fix buffer overrun.Dr. Stephen Henson
2002-03-06ENGINE module additions.Dr. Stephen Henson
Add "init" command to control ENGINE initialization. Call ENGINE_finish on initialized ENGINEs on exit. Reorder shutdown in apps.c: modules should be shut down first. Add test private key loader to openssl ENGINE: this just loads a private key in PEM format. Fix print format for dh length parameter.
2002-02-22non-Monolith fixes.Dr. Stephen Henson
Submitted by Andrew W. Gray <agray@iconsinc.com>
2002-02-22Config code updates.Dr. Stephen Henson
CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
2002-01-25Apply the following changes by Toomas Kiisk <vix@cyber.ee>:Richard Levitte
* make openssl rsa work with -engine chil * misc changes, including debug-linux-ppro Configure target and FORMAT_NETSCAPE-aware load_{,pub}key() This completes the application of his changes.
2001-10-20New functions SSL[_CTX]_set_msg_callback().Bodo Möller
New macros SSL[_CTX]_set_msg_callback_arg(). Message callback imlementation for SSL 3.0/TLS 1.0 (no SSL 2.0 yet). New '-msg' option for 'openssl s_client' and 'openssl s_server' that enable a message callback that displays all protocol messages. In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if client_version is smaller than the protocol version in use. Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0 if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the client will at least see that alert. Fix SSL[_CTX]_ctrl prototype (void * instead of char * for generic pointer). Add/update some OpenSSL copyright notices.
2001-10-04Because there's chances we clash with the system's types.h, rename ourRichard Levitte
types.h to ossl_typ.h.
2001-09-28ENGINE_register_all_complete() will register all implementations of allGeoff Thorpe
algorithms present in all loaded ENGINEs. The result is that if any of those ENGINEs successfully initialises, and the ENGINE_TABLE_FLAG_NOINIT flag isn't set, then they will always be used (and cached as defaults) in preference to software implementations. Ie. accidental auto-detection of acceleration hardware :-) This change stops all implementations being automatically registered in "openssl" sub-commands, so that the "setup_engine()" handler in apps.c controls which ENGINEs are registered for use. A special case has been added that will revert to this "auto-detect" logic, ie. if the "-engine" switch is used as; -engine auto
2001-09-25Make necessary tweaks to apps/ files due to recent ENGINE surgery. SeeGeoff Thorpe
crypto/engine/README for details.
2001-09-12Reduce the header dependencies on engine.h in apps/.Geoff Thorpe