aboutsummaryrefslogtreecommitdiffstats
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* Constification of the data of a hash table. This means the callbackRichard Levitte2000-12-131-4/+4
| | | | | | | 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...
* Make TYPE_RSA the default type instead of just setting it when -new isRichard Levitte2000-12-091-2/+1
| | | | | given. That also allows the arguments to come in any order (-new last, for example).
* Next step in tidying up the LHASH code.Geoff Thorpe2000-12-081-11/+17
| | | | | | | | | | | | | | | | DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe wrapper functions that avoid the use of function pointer casting yet retain type-safety for type-specific callbacks. However, most of the usage within OpenSSL itself doesn't really require the extra function because the hash and compare callbacks are internal functions declared only for use by the hash table. So this change catches all those cases and reimplements the functions using the base-level LHASH prototypes and does per-variable casting inside those functions to convert to the appropriate item type. The exception so far is in ssl_lib.c where the hash and compare callbacks are not static - they're exposed in ssl.h so their prototypes should not be changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left intact.
* Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson2000-12-082-3/+6
| | | | | | to main trunk. Lets see if the makes it to openssl-cvs :-)
* Fix warnings.Ben Laurie2000-12-032-6/+6
|
* Use the new LHASH macros to declare type-safe wrapper functions that canGeoff Thorpe2000-12-022-17/+26
| | | | | | | | be used as the hash/compare callbacks without function pointer casting. For now, this is just happening in the apps/ directory whilst a few people check the approach. The rest of the library will be moved across to the same idea if there's no problems with this.
* remember the problem with ftime()Ulf Möller2000-12-021-1/+1
|
* First step in tidying up the LHASH code. The callback prototypes (andGeoff Thorpe2000-12-012-5/+9
| | | | | | | | | | | | | | | | casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall.
* "make depend"Bodo Möller2000-12-011-170/+164
|
* First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. ↵Richard Levitte2000-11-303-166/+188
| | | | Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu>
* avoid segmentation faultBodo Möller2000-11-291-1/+4
|
* Addapt the VMS scripts to the changes in the Makefiles.Richard Levitte2000-11-221-2/+2
|
* Better handling of EVP names, add EVP to speed.Ben Laurie2000-11-202-74/+72
|
* Improve usability of 'openssl passwd' by includingBodo Möller2000-11-171-1/+6
| | | | password verification where it makes sense.
* in some new file names the first 8 characters were not uniqueUlf Möller2000-11-121-39/+39
|
* Make Rijndael work! Those long flights have some good points.Ben Laurie2000-11-121-3/+3
|
* Remove references to RSAref. The glue library is but a memory to fadeRichard Levitte2000-11-082-1/+2
| | | | away now...
* The consequence of constification is that to pass the address to aRichard Levitte2000-11-062-2/+2
| | | | | pointer to a const double pointe parameter, the pointer must point to const data as well.
* Make all engines available in the openssl application.Richard Levitte2000-11-063-8/+6
|
* Change the engine library so the application writer has to explicitelyRichard Levitte2000-11-021-0/+3
| | | | | | | | | | | | load the "external" built-in engines (those that require DSO). This makes linking with libdl or other dso libraries non-mandatory. Change 'openssl engine' accordingly. Change the engine header files so some declarations (that differed at that!) aren't duplicated, and make sure engine_int.h includes engine.h. That way, there should be no way of missing the needed info.
* 'openssl engine' can now list engine capabilities. The currentRichard Levitte2000-11-021-14/+63
| | | | | | | implementation is contained in the application, and the capability string building part should really be part of the engine library. This is therefore an experimental hack, and will be changed in the near future.
* Better error reporting in 'openssl engine'Richard Levitte2000-11-021-7/+4
|
* make updateRichard Levitte2000-11-021-137/+177
|
* Never call load_dh_param(NULL) because this leads to an illegalBodo Möller2000-11-021-4/+7
| | | | fopen(NULL).
* -t is supported, so display some help about it.Richard Levitte2000-11-011-1/+1
|
* Add application to enumerate, list and test engines with.Richard Levitte2000-11-013-3/+204
|
* Make flag variables int instead of char. This avoids getting into trouble ↵Richard Levitte2000-10-311-3/+3
| | | | on systems where char is unsigned by default
* Add the possibility to use keys handled by engines in moreRichard Levitte2000-10-287-28/+128
| | | | applications.
* Small documentation changeRichard Levitte2000-10-281-1/+1
|
* NetBSD doesn't use ftime().Richard Levitte2000-10-271-1/+1
|
* The majority of the OCSP code from CertCo.Richard Levitte2000-10-271-0/+8
|
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-2626-233/+908
| | | | At the same time, add VMS support for Rijndael.
* rsautl.c requires RSA.Bodo Möller2000-10-261-0/+4
|
* Don't ever set 'seeded' if RAND_status() returned 0Bodo Möller2000-10-231-7/+10
| | | | | (although maybe this static variable should be abolished totally, it was introduced before RAND_status existed).
* There's no reason why app_RAND_load_file() should return 0 whenRichard Levitte2000-10-211-1/+1
| | | | | RAND_status() hasn't. Reported by Dale Stimson <dale@accentre.com>.
* Update test server certificate in apps/server.pem (it was expired).Dr. Stephen Henson2000-10-163-10/+10
|
* The experimental Rijndael code moved to the main trunk.Richard Levitte2000-10-142-18/+61
| | | | make update done.
* More code for X509_print_ex() support.Dr. Stephen Henson2000-10-063-10/+58
|
* Global DirectoryString mask fix.Dr. Stephen Henson2000-10-041-2/+18
| | | | | | Add support for X509_NAME_print_ex() in req. Initial code for cutomizable X509 print routines.
* Oops, if the target only had USE_TOD, an error message was issued...Richard Levitte2000-09-211-1/+1
|
* Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte2000-09-212-1/+3
|
* AIX doesn't like ftime() either.Richard Levitte2000-09-201-1/+1
|
* On VMS, stdout may very well lead to a file that is written to in aRichard Levitte2000-09-2029-47/+306
| | | | | | | | | | | | | | | | | record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
* BSDI only supports ftime() through libcompat, which means it'sRichard Levitte2000-09-191-1/+1
| | | | better not to use it.
* Fix a typo in apps/pkcs12.c which was using the wrong part ofDr. Stephen Henson2000-09-192-9/+9
| | | | | | | | ASN1_TYPE (though they are both ASN1_STRING so it didn't cause any problems). Make 'siglen' an int in apps/dgst.c so we can check the return value of BIO_read() etc.
* FreeBSD only supports ftime() through libcompat, which means it'sRichard Levitte2000-09-191-1/+1
| | | | better not to use it.
* ftime() is not supported on SGI.Richard Levitte2000-09-181-1/+1
| | | | Reported by Steve Robb <steve@eu.c2.net>
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-174-10/+10
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* siglen is unsigned, so comparing it to less than 0 is silly, andRichard Levitte2000-09-171-1/+1
| | | | generates a compiler warning with Compaq C.
* 'make update'Richard Levitte2000-09-151-84/+115
|