Richard Levitte [Thu, 30 Jan 2003 18:52:46 +0000 (18:52 +0000)]
The OPENSSL_NO_ENGINE has small problem: it changes certain structures. That's
bad, so let's not check OPENSSL_NO_ENGINE in those places. Fortunately, all
the header files where the problem existed include ossl_typ.h, which makes
a 'forward declaration' of the ENGINE type.
Richard Levitte [Thu, 30 Jan 2003 17:53:02 +0000 (17:53 +0000)]
make update
Richard Levitte [Thu, 30 Jan 2003 17:39:26 +0000 (17:39 +0000)]
Add the possibility to build without the ENGINE framework.
PR: 287
Geoff Thorpe [Thu, 30 Jan 2003 15:52:40 +0000 (15:52 +0000)]
Summarise the last couple of commits.
Geoff Thorpe [Thu, 30 Jan 2003 15:49:03 +0000 (15:49 +0000)]
This glues the GMP wrapper ENGINE into OpenSSL if it is being built (ie. if
the OPENSSL_USE_GMP symbol is defined). Also, I've re-ordered the listing
of other builtin ENGINEs to be alphabetical (though "dynamic" will still
come first).
Geoff Thorpe [Thu, 30 Jan 2003 15:43:07 +0000 (15:43 +0000)]
Commit a slightly modified version of an old experiment to do RSA private
key operations using the GMP library. The default is not to build (or use)
this code unless OPENSSL_USE_GMP is defined (because it will impose header
and linker dependencies that might need specifying too).
Geoff Thorpe [Thu, 30 Jan 2003 14:58:44 +0000 (14:58 +0000)]
"openssl engine" will not display ENGINE/DSO load failure errors when
testing availability of engines with "-t" - the old behaviour of is
produced by increasing the feature's verbosity with "-tt".
Richard Levitte [Thu, 30 Jan 2003 11:08:44 +0000 (11:08 +0000)]
Small typo, OENSSL should really be spelled OPENSSL.
PR: 476
Richard Levitte [Thu, 30 Jan 2003 11:00:34 +0000 (11:00 +0000)]
Fix a memory leak in SSL.
PR: 477
Richard Levitte [Thu, 30 Jan 2003 10:27:43 +0000 (10:27 +0000)]
cert_sk isn't always allocated, so freeing it may cause a crash.
PR: 481
Richard Levitte [Wed, 29 Jan 2003 15:06:35 +0000 (15:06 +0000)]
DVCS (see RFC 3029) was missing among the possible purposes.
Notified privately to me by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>,
one of the authors of said RFC
Bodo Möller [Tue, 28 Jan 2003 13:08:21 +0000 (13:08 +0000)]
simplify
Submitted by: Nils Larsch
Dr. Stephen Henson [Sun, 26 Jan 2003 13:38:56 +0000 (13:38 +0000)]
Correct EVP_SealInit() documentation, iv is an output
parameter.
Bodo Möller [Sat, 25 Jan 2003 15:28:49 +0000 (15:28 +0000)]
cofactor is optional in parameter encodings
Submitted by: Nils Larsch
Bodo Möller [Fri, 24 Jan 2003 22:28:32 +0000 (22:28 +0000)]
consistency
Bodo Möller [Fri, 24 Jan 2003 21:43:08 +0000 (21:43 +0000)]
For ecdsa-with-SHA1, as for id-dsa-with-sha1, omit 'parameters'
in AlgorithmIdentifier
Submitted by: Nils Larsch
Andy Polyakov [Fri, 24 Jan 2003 09:39:31 +0000 (09:39 +0000)]
Provide "dummy" &main::picmeup even in Windows perlasm modules.
Dr. Stephen Henson [Fri, 24 Jan 2003 01:12:01 +0000 (01:12 +0000)]
Check return value of gmtime() and add error codes
where it fails in ASN1_TIME_set().
Edit asn1.h so the new error code is the same in 0.9.7
and 0.9.8, rebuild new error codes.
Clear error queue in req.c if *_min or *_max is absent.
Andy Polyakov [Thu, 23 Jan 2003 10:05:39 +0000 (10:05 +0000)]
Workaround for lame compiler bug introduced in "CPU pack" for MSVC6SP5.
Andy Polyakov [Thu, 23 Jan 2003 09:52:34 +0000 (09:52 +0000)]
The patch speaks for itself.
Richard Levitte [Thu, 23 Jan 2003 08:10:04 +0000 (08:10 +0000)]
Missing 0 broke FreeBSD build.
PR: 470
Bodo Möller [Tue, 21 Jan 2003 09:53:14 +0000 (09:53 +0000)]
fix warnings
Submitted by: Nils Larsch
Andy Polyakov [Sun, 19 Jan 2003 21:47:06 +0000 (21:47 +0000)]
Suggestion was to change ${MACHINE} to i586 in lines in question. Well,
"whatever" doesn't the same (avoids 386 being passed to ./Configure),
consistent with other elder SCO targets and denotes that we probably
shouldn't care much about every out-of-date platform.
Andy Polyakov [Sun, 19 Jan 2003 21:29:59 +0000 (21:29 +0000)]
This is an *initial* tune-up. This update puts Itanium2 back on par with
Itanium. I mean if overall performance improvement over C version was X
for Itanium, it's X even for Itanium2.
Andy Polyakov [Sun, 19 Jan 2003 11:39:19 +0000 (11:39 +0000)]
Oops! Missed closing quote... Didn't have time to verify before a snapshot
was cut...
Andy Polyakov [Sat, 18 Jan 2003 21:57:30 +0000 (21:57 +0000)]
SCO target missed .so suffix.
Andy Polyakov [Sat, 18 Jan 2003 18:12:23 +0000 (18:12 +0000)]
-lresolv is not present on SCO Unix, RT#460.
Andy Polyakov [Sat, 18 Jan 2003 15:17:26 +0000 (15:17 +0000)]
Caldera/SCO targets erroneously limit themselves to 386. See RT#464.
Andy Polyakov [Sat, 18 Jan 2003 15:13:03 +0000 (15:13 +0000)]
Fix for AIX shared build, see RT#463.
Dr. Stephen Henson [Fri, 17 Jan 2003 00:48:47 +0000 (00:48 +0000)]
EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().
Richard Levitte [Thu, 16 Jan 2003 21:36:17 +0000 (21:36 +0000)]
Ingore the correct flag file.
Richard Levitte [Thu, 16 Jan 2003 21:32:56 +0000 (21:32 +0000)]
A few more files to ignore
Richard Levitte [Thu, 16 Jan 2003 21:20:30 +0000 (21:20 +0000)]
make update
Richard Levitte [Thu, 16 Jan 2003 18:29:30 +0000 (18:29 +0000)]
FreeBSD has /dev/crypto as well.
PR: 462
Richard Levitte [Thu, 16 Jan 2003 17:28:46 +0000 (17:28 +0000)]
Add some debugging output.
Lutz Jänicke [Thu, 16 Jan 2003 17:22:30 +0000 (17:22 +0000)]
Armor against systems without ranlib...
Submitted by: Thierry Lelegard <thierry.lelegard@canal-plus.fr>
PR: 461
Bodo Möller [Thu, 16 Jan 2003 16:05:23 +0000 (16:05 +0000)]
avoid potential confusion about curves (prime192v1 and prime256v1 are
also known as secp192r1 and secp256r1, respectively)
Submitted by: Nils Larsch, Bodo Moeller
Richard Levitte [Thu, 16 Jan 2003 13:01:36 +0000 (13:01 +0000)]
make update
Lutz Jänicke [Thu, 16 Jan 2003 07:54:52 +0000 (07:54 +0000)]
ncr-scde target needs -lc89 for strcasecmp() and ftime() (Tim Rice, Martin
Megele).
PR: 450
Richard Levitte [Thu, 16 Jan 2003 06:00:55 +0000 (06:00 +0000)]
Fix possible NULL dereferencial.
Notified by Verdon Walker <VWalker@novell.com>
Richard Levitte [Wed, 15 Jan 2003 17:23:16 +0000 (17:23 +0000)]
Add verbosity
Lutz Jänicke [Wed, 15 Jan 2003 14:54:59 +0000 (14:54 +0000)]
Fix initialization sequence to prevent freeing of unitialized objects.
Submitted by: Nils Larsch <nla@trustcenter.de>
PR: 459
Bodo Möller [Wed, 15 Jan 2003 11:47:28 +0000 (11:47 +0000)]
update error library for EC... changes
Submitted by: Nils Larsch
Lutz Jänicke [Wed, 15 Jan 2003 09:51:22 +0000 (09:51 +0000)]
Really fix SSLv2 session ID handling
PR: 377
Geoff Thorpe [Wed, 15 Jan 2003 02:01:55 +0000 (02:01 +0000)]
As with RSA, which was modified recently, this change makes it possible to
override key-generation implementations by placing handlers in the methods
for DSA and DH. Also, parameter generation for DSA and DH is possible by
another new handler for each method.
Dr. Stephen Henson [Tue, 14 Jan 2003 20:54:18 +0000 (20:54 +0000)]
Set EXPORT_VAR_AS_FN for BC-32 to work around a compiler bug,
Richard Levitte [Tue, 14 Jan 2003 15:42:16 +0000 (15:42 +0000)]
Extend the HOWTO on creating certificates, and add a HOWTO in creating keys.
PR: 422
Lutz Jänicke [Tue, 14 Jan 2003 13:57:06 +0000 (13:57 +0000)]
Document hpux-parisc2-cc problems, probably due to optimizer bug.
PR: 426
Richard Levitte [Tue, 14 Jan 2003 13:56:38 +0000 (13:56 +0000)]
Correct an example that has a few typos.
PR: 458
Richard Levitte [Mon, 13 Jan 2003 17:16:25 +0000 (17:16 +0000)]
Merge from 0.9.7-stable.
Andy Polyakov [Mon, 13 Jan 2003 16:34:05 +0000 (16:34 +0000)]
Minor FAQ update
Bodo Möller [Mon, 13 Jan 2003 15:57:33 +0000 (15:57 +0000)]
"!Cname surname" has now become redundant ...
Bodo Möller [Mon, 13 Jan 2003 15:52:04 +0000 (15:52 +0000)]
undo part of a recent change: it's "surname", not "surName"
(see X.520 aka ISO/IEC 9594-6)
Richard Levitte [Mon, 13 Jan 2003 15:35:22 +0000 (15:35 +0000)]
Make sure not to declare a clashing read() for DJGPP.
PR: 440
Richard Levitte [Mon, 13 Jan 2003 15:16:40 +0000 (15:16 +0000)]
DJGPP doesn't have DLLs, so skip adding to %PATH% in that environment.
PR: 453
Bodo Möller [Mon, 13 Jan 2003 14:58:49 +0000 (14:58 +0000)]
add something to the '$no_shared_warn' text
Richard Levitte [Mon, 13 Jan 2003 14:53:43 +0000 (14:53 +0000)]
Correct a misleading comment.
PR: 456
Richard Levitte [Mon, 13 Jan 2003 14:47:52 +0000 (14:47 +0000)]
Revert: the names of the cygwin distribution will not be named openssl2-*.
Requested by Corinna Vinschen <vinschen@redhat.com>
Richard Levitte [Mon, 13 Jan 2003 14:17:43 +0000 (14:17 +0000)]
UI_UTIL_read_pw() misinterpreted the values returned from UI functions.
PR: 456
Bodo Möller [Mon, 13 Jan 2003 13:44:20 +0000 (13:44 +0000)]
document BN_GENCB API by adding an example
Bodo Möller [Mon, 13 Jan 2003 13:18:22 +0000 (13:18 +0000)]
Typo.
NB: This and other manual pages should be updated for the new
BN_GENCB interface.
Richard Levitte [Mon, 13 Jan 2003 13:15:16 +0000 (13:15 +0000)]
tty_in will never be stderr, so it will always be closed, which means stdin
might get closed...
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>
Bodo Möller [Mon, 13 Jan 2003 12:52:33 +0000 (12:52 +0000)]
typo
Andy Polyakov [Sun, 12 Jan 2003 21:39:13 +0000 (21:39 +0000)]
OpenBSD FAQ update. Apparently gas from binutils-2.x makes it impossible to
use gcc -fPIC ... on OpenBSD-i386. Alternative solution is provided.
Andy Polyakov [Sun, 12 Jan 2003 15:50:59 +0000 (15:50 +0000)]
Just an extra comment.
Richard Levitte [Sun, 12 Jan 2003 04:43:44 +0000 (04:43 +0000)]
Add better support for FreeBSD on non-x86 machines.
Add specific support for FreeBSD on sparc64.
PR: 427
Richard Levitte [Sat, 11 Jan 2003 11:40:39 +0000 (11:40 +0000)]
If the user said 'shared' and we haven't included support for shared libraries,
warn him or her.
Reminder by Andrew Marlow <apm35@student.open.ac.uk>
Richard Levitte [Fri, 10 Jan 2003 16:32:32 +0000 (16:32 +0000)]
Double the dollars that are intended for the command line.
PR: 423
Richard Levitte [Fri, 10 Jan 2003 16:14:32 +0000 (16:14 +0000)]
Add documentation on how to handle the shared libaries.
PR: 423
Richard Levitte [Fri, 10 Jan 2003 16:04:07 +0000 (16:04 +0000)]
Name the flag file correctly
Richard Levitte [Fri, 10 Jan 2003 11:30:44 +0000 (11:30 +0000)]
CFLAG, not CFLAGS
Richard Levitte [Fri, 10 Jan 2003 11:00:50 +0000 (11:00 +0000)]
It's recommended to do 'make clean' after having prepared a new build tree.
PR: 437
Richard Levitte [Fri, 10 Jan 2003 10:56:14 +0000 (10:56 +0000)]
When preparing a separate build tree, don't make softlinks to softlinks.
Add instructions in INSTALL, for easy access.
PR: 437
Richard Levitte [Fri, 10 Jan 2003 10:54:59 +0000 (10:54 +0000)]
Force the removal.
PR: 437
Richard Levitte [Fri, 10 Jan 2003 10:54:18 +0000 (10:54 +0000)]
Certain files must be removed before generating them, in case they point
into a read-only source tree.
PR: 437
Andy Polyakov [Fri, 10 Jan 2003 10:16:39 +0000 (10:16 +0000)]
Avoid unnecessary pollution of object module name table. Cygwin shared
build workaround (DJGPP swallows it too). One probably should do same
as with ELF calling it COFF, but I'm very short in COFF platforms, so
I just go for easy ad-hoc solution. I'll take care of merge to 0.9.7
later.
Richard Levitte [Fri, 10 Jan 2003 08:59:46 +0000 (08:59 +0000)]
Make sure everything that may be freed is allocated or initiated.
PR: 446
Richard Levitte [Fri, 10 Jan 2003 08:54:01 +0000 (08:54 +0000)]
Typos corrected.
PR: 445
Dr. Stephen Henson [Thu, 9 Jan 2003 16:54:21 +0000 (16:54 +0000)]
Typo.
Richard Levitte [Thu, 9 Jan 2003 16:15:46 +0000 (16:15 +0000)]
The naming scheme wasn't quite correct for Cygwin
Andy Polyakov [Thu, 9 Jan 2003 16:06:09 +0000 (16:06 +0000)]
At least OpenBSD implements PIC in the same way ELF does.
Richard Levitte [Thu, 9 Jan 2003 13:25:14 +0000 (13:25 +0000)]
gcc wants character constants to be correct. Before this change, the
following would happen on Solaris:
m4 -B 8192 asm/des_enc.m4 > asm/des_enc-sparc.S
gcc -DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_NO_STATIC_ENGINE -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c -o asm/des_enc-sparc.o asm/des_enc-sparc.S
asm/des_enc-sparc.S:2007: unterminated character constant
asm/des_enc-sparc.S:2008: unterminated character constant
Dr. Stephen Henson [Thu, 9 Jan 2003 13:06:49 +0000 (13:06 +0000)]
NULL tofree when it is freed to avoid double free.
Make sure key is not NULL before freeing it.
Andy Polyakov [Thu, 9 Jan 2003 08:42:04 +0000 (08:42 +0000)]
Finalizing asm support for UnixWare, SCO, OpenUnix... Note that I've
replaced #if logic around bn_sub_part_words in bn_mul.c. I rely upon
OPENSSL_BN_ASM_PART_WORDS being added by ./Configure script. Would it
still work on non-Unix platforms?
Lutz Jänicke [Wed, 8 Jan 2003 08:27:50 +0000 (08:27 +0000)]
Third argument to shl_load() is "long address", not a pointer.
(Didn't influence functionality, as on HP-UX 32bit the NULL pointer
is a 32bit 0-value and thus is identical to the required 0L.)
PR: 443
Geoff Thorpe [Tue, 7 Jan 2003 05:53:58 +0000 (05:53 +0000)]
RSA_METHOD now supports key-generation, but (for now) none of these
ENGINEs implement it.
Geoff Thorpe [Tue, 7 Jan 2003 05:51:39 +0000 (05:51 +0000)]
This is the first step in allowing RSA_METHODs to implement their own key
generation. This prototype matches the new API function
RSA_generate_key_ex(), though both may be subject to change during
development before 0.9.8.
Dr. Stephen Henson [Sat, 4 Jan 2003 18:25:24 +0000 (18:25 +0000)]
Fix leak.
Andy Polyakov [Sat, 4 Jan 2003 15:18:00 +0000 (15:18 +0000)]
Fix a typo.
Andy Polyakov [Sat, 4 Jan 2003 14:41:09 +0000 (14:41 +0000)]
Another GAS fix-up and some commentary...
Andy Polyakov [Sat, 4 Jan 2003 12:49:38 +0000 (12:49 +0000)]
GAS can't stand stub, which is stb's synonym.
Andy Polyakov [Fri, 3 Jan 2003 21:49:49 +0000 (21:49 +0000)]
Oops! I've toasted Cygwin! Fixed now.
Andy Polyakov [Fri, 3 Jan 2003 20:45:59 +0000 (20:45 +0000)]
Redundant now as it's moved to ./Makefile.org.
Andy Polyakov [Fri, 3 Jan 2003 17:37:53 +0000 (17:37 +0000)]
Unified targets for ELF assembler modules. Tested on Linux, Solaris and
FreeBSD. Goal is to extend support even to SCO5, UnixWare/OpenUnix...
Andy Polyakov [Fri, 3 Jan 2003 15:10:46 +0000 (15:10 +0000)]
Support for ILP32 on HPUX-IA64.
Andy Polyakov [Fri, 3 Jan 2003 10:52:40 +0000 (10:52 +0000)]
pa-risc2.s was not PIC, see RT#426. I strip call to fprintf as it's
never called anyway (it's a debugging assertion). If pa-risc2W.s is
PIC remains to be seen...
Andy Polyakov [Fri, 3 Jan 2003 10:32:04 +0000 (10:32 +0000)]
HP/UX 11i make gets upset by this line containing nothing but a Tab
Richard Levitte [Fri, 3 Jan 2003 08:51:45 +0000 (08:51 +0000)]
Rijndael should be called AES everywhere
Andy Polyakov [Thu, 2 Jan 2003 23:32:24 +0000 (23:32 +0000)]
Support for Intel compiler. More details will be provided in closing note
for RT#17 as snapshot becomes available for download.
Andy Polyakov [Thu, 2 Jan 2003 23:26:46 +0000 (23:26 +0000)]
Complete integration of SPARC assembler DES implementation. Tested on Solaris
only. I'll keep my eyes open for Linux and OpenBSD targets.