summaryrefslogtreecommitdiffstats
path: root/apps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This stops a compiler warning from -Wmissing-prototypes.Geoff Thorpe2002-12-111-1/+1
| | | | (Noticed by Nils Larsch)
* Nils Larsch submitted;Geoff Thorpe2002-12-081-4/+1
| | | | | | | | - a patch to fix a memory leak in rsa_gen.c - a note about compiler warnings with unions - a note about improving structure element names This applies his patch and implements a solution to the notes.
* Undefine OPENSSL_NO_DEPRECATED inside openssl application code if we areGeoff Thorpe2002-12-085-5/+107
| | | | | | | | | | | | being built with it defined - it is not a symbol to affect how openssl itself builds, but to alter the way openssl headers can be used from an API point of view. The "deprecated" function wrappers will always remain inside OpenSSL at least as long as they're still being used internally. :-) The exception is dsaparam which has been updated to the BN_GENCB-based functions to test the new functionality. If GENCB_TEST is defined, dsaparam will support a "-timebomb <n>" switch to cancel parameter-generation if it gets as far as 'n' seconds without completion.
* Apparently, bash is more forgiving than sh. To be backwardRichard Levitte2002-12-061-1/+1
| | | | compatible, don't use ==, use = instead...
* Corrected DJGPP patchRichard Levitte2002-12-051-1/+2
|
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-0336-38/+38
| | | | | | exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
* Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte2002-11-287-19/+19
| | | | I've covered all the memset()s I felt safe modifying, but may have missed some.
* Disable this module if OPENSSL_NO_SOCK is defined.Richard Levitte2002-11-221-1/+9
|
* Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).Richard Levitte2002-11-191-1/+2
|
* allocate bio_err before memory debugging is enabled to avoid memory leaksBodo Möller2002-11-181-4/+4
| | | | | | (we can't release it before the CRYPTO_mem_leaks() call!) Submitted by: Nils Larsch
* WinCE patchesRichard Levitte2002-11-155-6/+57
|
* Changes to make shared library building and use work better with CygwinRichard Levitte2002-11-151-1/+2
|
* Remove warnings.Richard Levitte2002-11-141-1/+1
|
* Fix to build better with DJGPP.Richard Levitte2002-11-143-14/+20
| | | | | | | | | | | | | | | | | PR: 338 Here's the description, submitted by Gisle Vanem <giva@bgnett.no>: 1. sock_init() renamed to ssl_sock_init() in ./apps/s_socket.c due to name-clash with Watt-32. 2. rand() renamed to Rand() in ./crypto/bn/divtest.c due to name-clash with <stdlib.h> 3. Added calls to dbug_init()/sock_init() in some demo programs. 4. Changed cflags/lflags in configure. Watt-32 install root now taken from $WATT_ROOT.
* This didn't get to the 0.9.8-dev thread...Richard Levitte2002-11-131-1/+1
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-1321-110/+170
|
* Initial ASN1 generation code. This can constructDr. Stephen Henson2002-11-121-14/+101
| | | | | | arbitrary encodings from strings and config files. Documentation to follow...
* Variables on the stack must be initialized or we can't depend on anyRichard Levitte2002-11-112-2/+2
| | | | initial value. For errline/errorline, we did depend on that, erroneously
* Make the programs link against the static library on MacOS X.Richard Levitte2002-11-111-1/+1
| | | | PR: 335
* -CAserial does take a filename argument.Richard Levitte2002-11-081-1/+1
| | | | PR: 332
* Windows doesn't know sys/file.hRichard Levitte2002-11-071-1/+1
|
* Remove all referenses to RSAref, since that's been gone for more thanRichard Levitte2002-10-311-239/+53
| | | | a year.
* Sun has agreed to removing the covenant language from most files.Bodo Möller2002-10-292-26/+0
| | | | Submitted by: Sheueling Chang <Sheueling.Chang@Sun.COM>
* fast reduction for NIST curvesBodo Möller2002-10-281-16/+19
| | | | Submitted by: Nils Larsch
* Make sure toupper() is declaredRichard Levitte2002-10-251-0/+1
|
* On certain platforms, we redefine certain symbols using macros inRichard Levitte2002-10-242-4/+6
| | | | | | | | | apps.h. For those, it's better to include apps.h after the system headers where those symbols may be defined, since there's otherwise a chance that the C compiler will barf when it sees something that looks like this after expansion: int VMS_strcasecmp((str1),(str2))(const char *, const char *);
* Signal an error if the entered output password didn't match itself.Richard Levitte2002-10-231-1/+2
| | | | PR: 314
* fix warnings, and harmonize indentationBodo Möller2002-10-231-20/+24
|
* makedepend complains when a header file is included more than once inRichard Levitte2002-10-142-2/+0
| | | | the same source file.
* BN_bn2hex() returns "0" instead of "00" for zero. This disrputs theRichard Levitte2002-10-112-6/+20
| | | | | requirement that the serial number always be an even amount of characters. PR: 248
* VMS below version 7 doesn't have strcasecmp, so let's roll our own on VMS.Richard Levitte2002-10-102-0/+22
| | | | PR: 184
* Make sure that the 'config' variable is correctly defined and declaredRichard Levitte2002-10-092-1/+3
| | | | | | for monolithic as well as non-monolithic biuld. More work is probably needed in this area. PR: 144
* Remove redundancy and use the main makefile betterRichard Levitte2002-10-091-2/+2
|
* Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte2002-10-091-1/+1
| | | | | | | give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
* Add missing LFRichard Levitte2002-10-091-1/+1
|
* Various enhancements to PKCS#12 code, newDr. Stephen Henson2002-10-041-139/+94
| | | | | | medium level API, improved PKCS12_create and additional functionality in pkcs12 utility.
* -elapsed is also useful when using gettimeofdayRichard Levitte2002-09-251-1/+1
|
* Let 'openssl req' fail if an argument to '-newkey' is notBodo Möller2002-09-101-1/+3
| | | | recognized instead of using RSA as a default.
* change API for looking at the internal curve listBodo Möller2002-09-021-8/+23
| | | | Submitted by: Nils Larsch
* change 'usage' formattingBodo Möller2002-08-271-53/+49
|
* fix spacingBodo Möller2002-08-262-14/+14
|
* fix offsetsBodo Möller2002-08-261-2/+2
| | | | Submitted by: Nils Larsch
* ecdsa => ecBodo Möller2002-08-265-42/+43
| | | | Submitted by: Nils Larsch
* Make -nameopt work in req and add support for -reqoptDr. Stephen Henson2002-08-232-4/+11
|
* Fix crahses and leaks in pkcs12 utility -chain optionDr. Stephen Henson2002-08-221-6/+4
|
* typoBodo Möller2002-08-161-1/+1
| | | | Submitted by: Nils Larsch
* 'EC' vs. 'ECDSA'Bodo Möller2002-08-161-9/+12
| | | | Submitted by: Nils Larsch
* fix warnings (CHARSET_EBCDIC)Bodo Möller2002-08-151-7/+7
| | | | Submitted by: Lorinczy Zsigmond <lzsiga@mail.ahiv.hu>
* Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),Bodo Möller2002-08-153-95/+40
| | | | | | | EC_GROUP_new_by_nid() should be enough. This avoids a lot of redundancy. Submitted by: Nils Larsch
* Sometimes, the value of the variable containing the compiler call canRichard Levitte2002-08-151-1/+1
| | | | | | become rather large. This becomes a problem when the default 1024 character large buffer that WRITE uses isn't enough. WRITE/SYMBOL uses a 2048 byte large buffer instead.