aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.c
Commit message (Collapse)AuthorAgeFilesLines
* Modify apps to use NCONF code instead of old CONF code.Dr. Stephen Henson2001-06-281-3/+3
| | | | | | | | | | Add new extension functions which work with NCONF. Tidy up extension config routines and remove redundant code. Fix NCONF_get_number(). Todo: more testing of apps to see they still work...
* Make use of new features in UI's. Among others, the applicationRichard Levitte2001-06-231-27/+14
| | | | password callbak doesn't need to check for sizes any more.
* Fix UI leak in apps.Dr. Stephen Henson2001-06-231-0/+8
|
* Change the common application routines to use a UI_METHOD for passwordRichard Levitte2001-06-191-33/+132
| | | | prompting, even when done through the callback.
* One feature wasn't quite commited yetRichard Levitte2001-06-181-0/+2
|
* Provide an application-common setup function for engines and use itRichard Levitte2001-06-181-0/+29
| | | | everywhere.
* Extend all the loading functions to take an engine pointer, a passRichard Levitte2001-05-301-20/+101
| | | | | | | | | | | | | | string (some engines may have certificates protected by a PIN!) and a description to put into error messages. Also, have our own password callback that we can send both a password and some prompt info to. The default password callback in EVP assumes that the passed parameter is a password, which isn't always the right thing, and the ENGINE code (at least the nCipher one) makes other assumptions... Also, in spite of having the functions to load keys, some utilities did the loading all by themselves... That's changed too.
* Add copy_extensions option to 'ca' utility.Dr. Stephen Henson2001-03-161-0/+56
|
* Add 'align' option to nameopt.Dr. Stephen Henson2001-03-151-0/+1
| | | | | | | Add default values for display by the 'ca' utility to openssl.cnf Update docs.
* Overhaul the display of certificate details inDr. Stephen Henson2001-03-151-2/+25
| | | | | | | | | | | the 'ca' utility. This can now be extensively customised in the configuration file and handles multibyte strings and extensions properly. This is required when extensions copying from certificate requests is supported: the user must be able to view the extensions before allowing a certificate to be issued.
* Document the -certopt option to the x509 utility.Dr. Stephen Henson2001-03-151-0/+1
| | | | | | | Add no_issuer option. Fix X509_print_ex() so it prints out newlines when certain fields are omitted.
* Windows does not know of strigs.h or strcasecmp, so when in Windows,Richard Levitte2001-02-221-1/+6
| | | | make strcasecmp a macro to _stricmp.
* Some functions, like strdup() and strcasecmp(), are defined inRichard Levitte2001-02-201-0/+1
| | | | strings.h according to X/Open.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-5/+5
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* disable stdin buffering in load_certBodo Möller2001-02-101-0/+3
|
* use case-insensitive comparison in set_table_optsBodo Möller2001-02-101-1/+1
| | | | | (similar to how arguments such as -inform/-outform specifications are treated)
* Initial OCSP certificate verify. Not complete,Dr. Stephen Henson2001-01-171-0/+29
| | | | it just supports a "trusted OCSP global root CA".
* If CONF_get_string returns NULL and we want to tolerate thisBodo Möller2000-12-151-1/+5
| | | | (e.g., use a default), we have to call ERR_clear_error().
* Add the possibility to use keys handled by engines in moreRichard Levitte2000-10-281-2/+18
| | | | applications.
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+2
| | | | At the same time, add VMS support for Rijndael.
* More code for X509_print_ex() support.Dr. Stephen Henson2000-10-061-8/+49
|
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-171-1/+1
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* Add 'rsautl' low level RSA utility.Dr. Stephen Henson2000-09-031-0/+41
| | | | | | | | Add DER public key routines. Add -passin argument to 'ca' utility. Document sign and verify options to dgst.
* Document the new DN printing options.Dr. Stephen Henson2000-07-301-2/+2
| | | | | | Change a few names to be more meaningful. Fix typos in CA.pl docs.
* New ASN1_STRING_print_ex() and X509_NAME_print_ex()Dr. Stephen Henson2000-07-281-0/+80
| | | | | | | | | | | | | | | functions. These are intended to be replacements for the ancient ASN1_STRING_print() and X509_NAME_print() functions. The new functions support RFC2253 and various pretty printing options. It is also possible to display international characters if the terminal properly handles UTF8 encoding (Linux seems to tolerate this if the "unicode_start" script is run). Still needs to be documented, integrated into other utilities and extensively tested.
* Fix some typose in the i2d/d2i functions thatDr. Stephen Henson2000-07-101-0/+2
| | | | | | | | | | | | | call the i2c/c2i (they were not using the content length for the headers). Fix ASN1 long form tag encoding. This never worked but it was never tested since it is only used for tags > 30. New options to smime program to allow the PKCS#7 format to be specified and the content supplied externally.
* Move add_oid_section to apps.c, so it can be shared by severalRichard Levitte2000-06-221-16/+38
| | | | | applications. Also, have it and the certificate and key loading functions take a BIO argument for error output.
* Move the certificate and key loading functions to apps.c, so they canRichard Levitte2000-06-221-0/+215
| | | | be shared by several applications.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-6/+6
| | | | | | | | | 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.
* Pass phrase reorganisation.Dr. Stephen Henson2000-02-161-0/+76
|
* Allow passwords to be included on command line for a fewDr. Stephen Henson1999-12-241-11/+0
| | | | more utilities.
* Merge some common functionality in the apps, deleteDr. Stephen Henson1999-11-121-0/+14
| | | | | the encryption option in the pkcs7 utility (they never did anything) and add a couple more options to pkcs7.
* Add password command line options to some utils. Fix and update manDr. Stephen Henson1999-11-111-1/+1
| | | | pages.
* Fix a couple of outstanding issues: update STATUS file, fix NO_FP_API problems.Dr. Stephen Henson1999-11-111-0/+11
| | | | | 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.
* Don't mix real tabs with tabs expanded as 8 spaces -- that'sBodo Möller1999-06-071-2/+2
| | | | a pain to read when using 4-space tabs.
* VMS support.Ulf Möller1999-05-131-0/+22
| | | | Submitted by: Richard Levitte <richard@levitte.org>
* Various Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for aDr. Stephen Henson1999-05-081-0/+6
| | | | | | Win32 version of rename() ). There isn't a precise rename() equivalent under Win95: the standard rename() complains if the destination already exists so replaced with a combination of unlink() and MoveFile().
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-5/+0
|
* Change functions to ANSI C.Ulf Möller1999-04-191-24/+7
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-8/+3
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+325