oweals/openssl.git
25 years agoComments.
Bodo Möller [Sun, 8 Aug 1999 14:21:04 +0000 (14:21 +0000)]
Comments.

25 years agoadd comments
Bodo Möller [Sun, 8 Aug 1999 14:07:30 +0000 (14:07 +0000)]
add comments

25 years agomore consistent formatting
Bodo Möller [Sun, 8 Aug 1999 14:06:29 +0000 (14:06 +0000)]
more consistent formatting

25 years ago*** empty log message ***
Dr. Stephen Henson [Sun, 8 Aug 1999 12:51:19 +0000 (12:51 +0000)]
*** empty log message ***

25 years agoBackout the following change:
Ralf S. Engelschall [Sun, 8 Aug 1999 11:56:29 +0000 (11:56 +0000)]
Backout the following change:

| revision 1.109
| date: 1999/06/24 19:39:23;  author: ulf;  state: Exp;  lines: +0 -1
| Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
| versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)

Because Ulf overlooked the ELF vs. a.out difference, i.e. the two entries were
_NOT_ identical! This way OpenSSL 0.9.4 at least compiles again under FreeBSD
2 and 3. For 0.9.5-dev I'll try to fix the stuff in a more general way to also
allow FreeBSD 4 and other variants.

25 years ago0.9.4
Bodo Möller [Sun, 8 Aug 1999 11:45:56 +0000 (11:45 +0000)]
0.9.4

25 years agoFix two remaining prototype-related warnings
Ralf S. Engelschall [Sun, 8 Aug 1999 11:25:32 +0000 (11:25 +0000)]
Fix two remaining prototype-related warnings

25 years agoRemove the perl stuff also optically from the build procedure,
Ralf S. Engelschall [Sun, 8 Aug 1999 10:29:52 +0000 (10:29 +0000)]
Remove the perl stuff also optically from the build procedure,
because it could confuse people (which then send us bug reports)...

25 years agoLet us prepare for tomorrow...
Ralf S. Engelschall [Sun, 8 Aug 1999 10:25:50 +0000 (10:25 +0000)]
Let us prepare for tomorrow...

25 years agoI don't think this is a real showstopper. Our internal verify procedure lacks
Ralf S. Engelschall [Sun, 8 Aug 1999 10:19:48 +0000 (10:19 +0000)]
I don't think this is a real showstopper.  Our internal verify procedure lacks
even more and I consider this more a useful feature request than a release
showstopper.

25 years agoA few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
Ralf S. Engelschall [Sun, 8 Aug 1999 10:15:43 +0000 (10:15 +0000)]
A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
Hint from: Andrija Antonijevic <TheAntony2@bigfoot.com>

25 years agoconsistent style
Ralf S. Engelschall [Sun, 8 Aug 1999 09:39:43 +0000 (09:39 +0000)]
consistent style

25 years agoNew option "-crlf" to s_client and s_server which tells them to convert
Bodo Möller [Sat, 7 Aug 1999 02:51:10 +0000 (02:51 +0000)]
New option "-crlf" to s_client and s_server which tells them to convert
LFs into CRLFs when forwarding data from stdin to the TLS connection.
This is necessary for properly talking HTTP.
Because of the code freeze this change is by default disabled for now;
without -DAPPS_CRLF, the code is exactly as before.

25 years agoadd some more entries for 0.9.4
Bodo Möller [Sat, 7 Aug 1999 02:46:49 +0000 (02:46 +0000)]
add some more entries for 0.9.4

25 years agochange formatting a bit
Bodo Möller [Sat, 7 Aug 1999 02:45:31 +0000 (02:45 +0000)]
change formatting a bit

25 years agoFix -startdate and -enddate arguments to 'ca' program. Also update NEWS file
Dr. Stephen Henson [Fri, 6 Aug 1999 21:47:09 +0000 (21:47 +0000)]
Fix -startdate and -enddate arguments to 'ca' program. Also update NEWS file
with some 0.9.4 changes.

25 years agofix the bug
Bodo Möller [Fri, 6 Aug 1999 12:27:39 +0000 (12:27 +0000)]
fix the bug

25 years agoDont' assume that something starting with '-' is a filename --
Bodo Möller [Fri, 6 Aug 1999 11:18:44 +0000 (11:18 +0000)]
Dont' assume that something starting with '-' is a filename --
"openssl gendsa -help" now prints the usage summary, not error
messages that now file -help was found.

25 years agotypo while I poke around...
Ralf S. Engelschall [Thu, 5 Aug 1999 13:31:42 +0000 (13:31 +0000)]
typo while I poke around...

25 years agoDSA_dup_DH.
Bodo Möller [Thu, 5 Aug 1999 11:53:07 +0000 (11:53 +0000)]
DSA_dup_DH.

25 years agoNew function DSA_dup_DH, and fixes for bugs that were found
Bodo Möller [Thu, 5 Aug 1999 11:50:18 +0000 (11:50 +0000)]
New function DSA_dup_DH, and fixes for bugs that were found
while implementing and using it.

25 years agoAdd a wish.
Bodo Möller [Thu, 5 Aug 1999 00:15:15 +0000 (00:15 +0000)]
Add a wish.

25 years agoChange all the -'s to _'s.
Dr. Stephen Henson [Thu, 5 Aug 1999 00:11:05 +0000 (00:11 +0000)]
Change all the -'s to _'s.

25 years agoConfigure fix for Windows: under Windows+perl "system" ends up going via the
Dr. Stephen Henson [Wed, 4 Aug 1999 22:52:46 +0000 (22:52 +0000)]
Configure fix for Windows: under Windows+perl "system" ends up going via the
command shell which means that redirecttion needs backslashes in the paths.

25 years agoimprove clarity of instructions
Bodo Möller [Tue, 3 Aug 1999 20:19:04 +0000 (20:19 +0000)]
improve clarity of instructions

25 years ago0.9.4 won't be completed in July ...
Bodo Möller [Tue, 3 Aug 1999 12:24:14 +0000 (12:24 +0000)]
0.9.4 won't be completed in July ...

25 years agoMore diagnostics.
Ben Laurie [Tue, 3 Aug 1999 10:19:02 +0000 (10:19 +0000)]
More diagnostics.

25 years agoMake it compile under -pedantic.
Ben Laurie [Tue, 3 Aug 1999 10:18:27 +0000 (10:18 +0000)]
Make it compile under -pedantic.

25 years agocomment
Bodo Möller [Tue, 3 Aug 1999 08:31:13 +0000 (08:31 +0000)]
comment

25 years agoRevert erroneous change.
Bodo Möller [Tue, 3 Aug 1999 06:05:54 +0000 (06:05 +0000)]
Revert erroneous change.

25 years agoautomatically use no-mdc2 if no-des is requested.
Bodo Möller [Mon, 2 Aug 1999 22:13:46 +0000 (22:13 +0000)]
automatically use no-mdc2 if no-des is requested.

25 years agoRevert previous change -- it was an accident.
Bodo Möller [Mon, 2 Aug 1999 21:58:03 +0000 (21:58 +0000)]
Revert previous change -- it was an accident.

25 years agoavoid some NO_<cipher> problems
Bodo Möller [Mon, 2 Aug 1999 21:44:49 +0000 (21:44 +0000)]
avoid some NO_<cipher> problems

25 years agogenerate error message
Bodo Möller [Mon, 2 Aug 1999 21:41:46 +0000 (21:41 +0000)]
generate error message

25 years agofix previous modification -- if ssl->cert is NULL, don't follow the pointer.
Bodo Möller [Mon, 2 Aug 1999 20:09:23 +0000 (20:09 +0000)]
fix previous modification -- if ssl->cert is NULL, don't follow the pointer.

25 years agoavoid cast
Bodo Möller [Mon, 2 Aug 1999 19:55:51 +0000 (19:55 +0000)]
avoid cast

25 years agoThe SSL_CTX's cert structure is not relevant for the SSL
Bodo Möller [Mon, 2 Aug 1999 18:40:36 +0000 (18:40 +0000)]
The SSL_CTX's cert structure is not relevant for the SSL
(because now SSL_new makes a copy).

25 years agoSSL_shutdown was done too early.
Bodo Möller [Sun, 1 Aug 1999 11:19:59 +0000 (11:19 +0000)]
SSL_shutdown was done too early.

25 years agodon't prematurely shut down socket -- use SSL_shutdown
Bodo Möller [Sun, 1 Aug 1999 10:04:37 +0000 (10:04 +0000)]
don't prematurely shut down socket -- use SSL_shutdown

25 years agoExtra i386+gcc bn_div.c tune-up featuring inline division and saving
Andy Polyakov [Sat, 31 Jul 1999 23:27:41 +0000 (23:27 +0000)]
Extra i386+gcc bn_div.c tune-up featuring inline division and saving
the remainder left in %edx. Here is the resulting performance improvement
matrix (improvement as a result of this *and* previous tune-up committed
two days ago). The results were obtained by profiling the "div" part of
the crypto/bn/bnspeed.c.

CPU BN_div bn_div_words overall comment
------------------------------------------------------------------------
PII +16% accumulated by +2-3% PII multiplies damn fast! Taking
inlining multiplication out of the loop
didn't make too much difference.
Eliminating of the multiplication
involved in remainder calculation
is the major factor.

Pentium +45% accumulated by +7-9% mull isn't that fast and replacing
inlining multiplications with additions in
the loop has more visible effect:-)

MIPS +75% +12% +20-25% In addition to the taking mults
R10000 out of the loop (giving 12% in the
asm/mips3.s) three mults were
eliminated in BN_div.

Alpha +30% +50% +10-15% Same as above. But remember that
EV4 bn_div_words is a C implementation.
It takes 4 Alpha mults in C to do
the same thing as 1 MIPS mult in
assembler does. So the effect (50%)
is more impressive. But not the
overall one... Well, if Alpha
bn_mul_add would be implemented
in assembler overall improvement
would be closer to MIPS...

25 years agoby request: let BN_dup(NULL) just return NULL
Bodo Möller [Fri, 30 Jul 1999 19:22:57 +0000 (19:22 +0000)]
by request: let BN_dup(NULL) just return NULL

25 years agoBignum division tune-up. Idea is to move multiplications in front of
Andy Polyakov [Fri, 30 Jul 1999 11:43:43 +0000 (11:43 +0000)]
Bignum division tune-up. Idea is to move multiplications in front of
loop body and replace 'em with addition/subtraction.

25 years agocorrect error signalling for opendir() failure
Bodo Möller [Fri, 30 Jul 1999 10:43:34 +0000 (10:43 +0000)]
correct error signalling for opendir() failure

25 years agoFix to PKCS#12 code to use the cipher block length when allocating a buffer
Dr. Stephen Henson [Fri, 30 Jul 1999 10:11:21 +0000 (10:11 +0000)]
Fix to PKCS#12 code to use the cipher block length when allocating a buffer
for encrypted data, rather than hard coding '8'.

25 years agoAllow the PKCS#7 (S/MIME encrypt) application to support more than one
Dr. Stephen Henson [Fri, 30 Jul 1999 01:12:46 +0000 (01:12 +0000)]
Allow the PKCS#7 (S/MIME encrypt) application to support more than one
recipient.

25 years agoTidy up pkcs12 application.
Dr. Stephen Henson [Thu, 29 Jul 1999 21:50:34 +0000 (21:50 +0000)]
Tidy up pkcs12 application.

25 years agoAvoid path separator problems.
Ulf Möller [Thu, 29 Jul 1999 17:27:29 +0000 (17:27 +0000)]
Avoid path separator problems.

25 years agoNo use in naming the cblock _; the structure still is incompatible
Ulf Möller [Thu, 29 Jul 1999 16:15:48 +0000 (16:15 +0000)]
No use in naming the cblock _; the structure still is incompatible
to Kerberos.

25 years ago*** empty log message ***
Ulf Möller [Thu, 29 Jul 1999 14:43:51 +0000 (14:43 +0000)]
*** empty log message ***

25 years agoobj_dat.h is autogenerated (it was in the CVS because old versions of
Ulf Möller [Thu, 29 Jul 1999 14:10:20 +0000 (14:10 +0000)]
obj_dat.h is autogenerated (it was in the CVS because old versions of
Configure didn't generate the file in Windows builds).

25 years agoAlways use buildinf.h, which now includes the mk1mfinf.h data.
Bodo Möller [Thu, 29 Jul 1999 12:57:23 +0000 (12:57 +0000)]
Always use buildinf.h, which now includes the mk1mfinf.h data.
Using different files caused problems because the dependencies
in the Makefiles produced by mk1mf.pl were for the standard case,
i.e. mentioned buildinf.h and not mk1mfinf.h.

25 years agoRestore compability with kerberos/des.h (I had deleted some seemingly useless
Ulf Möller [Thu, 29 Jul 1999 00:09:49 +0000 (00:09 +0000)]
Restore compability with kerberos/des.h (I had deleted some seemingly useless
definitions such as C_Block earlier).

25 years agoVMS updates.
Ulf Möller [Wed, 28 Jul 1999 23:25:59 +0000 (23:25 +0000)]
VMS updates.
Submitted by: Richard Levitte <levitte@stacken.kth.se>

25 years agoNew function OBJ_obj2txt()
Dr. Stephen Henson [Tue, 27 Jul 1999 22:22:58 +0000 (22:22 +0000)]
New function OBJ_obj2txt()

25 years agoNew RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.
Dr. Stephen Henson [Tue, 27 Jul 1999 21:58:08 +0000 (21:58 +0000)]
New RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.

25 years agowhen invoking bn_*_comba[48] result->top wasn't always set correctly.
Andy Polyakov [Tue, 27 Jul 1999 09:36:59 +0000 (09:36 +0000)]
when invoking bn_*_comba[48] result->top wasn't always set correctly.

25 years agoclose files.
Bodo Möller [Tue, 27 Jul 1999 09:13:49 +0000 (09:13 +0000)]
close files.

25 years agoUse correct CFLAG definition for makefile.one builds.
Bodo Möller [Tue, 27 Jul 1999 09:10:36 +0000 (09:10 +0000)]
Use correct CFLAG definition for makefile.one builds.

25 years agochange CFLAGS to those given in Configure
Bodo Möller [Mon, 26 Jul 1999 12:59:02 +0000 (12:59 +0000)]
change CFLAGS to those given in Configure

25 years ago-DPLATFORM and -DCFLAGS command line arguments are no longer used.
Bodo Möller [Mon, 26 Jul 1999 11:56:18 +0000 (11:56 +0000)]
-DPLATFORM and -DCFLAGS command line arguments are no longer used.

25 years agosummary of Andy's changes to Configure
Bodo Möller [Sun, 25 Jul 1999 23:41:16 +0000 (23:41 +0000)]
summary of Andy's changes to Configure

25 years agoSPARC Solaris config updates.
Andy Polyakov [Sun, 25 Jul 1999 22:25:12 +0000 (22:25 +0000)]
SPARC Solaris config updates.

./config sences whole range of SPARC instruction sets. Do note that
it favors Sun C now if both gcc and cc 4.2 or later are present!

25 years agoSGI IRIX config updates.
Andy Polyakov [Sun, 25 Jul 1999 20:40:58 +0000 (20:40 +0000)]
SGI IRIX config updates.

25 years agoMinor MD5 tune-up for WIN32 on Intel.
Andy Polyakov [Sun, 25 Jul 1999 15:25:30 +0000 (15:25 +0000)]
Minor MD5 tune-up for WIN32 on Intel.

25 years agoAdded support for SPARC Linux.
Andy Polyakov [Sun, 25 Jul 1999 15:13:49 +0000 (15:13 +0000)]
Added support for SPARC Linux.

25 years agoGNU assembler (read SPARC Linux) support added.
Andy Polyakov [Sun, 25 Jul 1999 14:07:48 +0000 (14:07 +0000)]
GNU assembler (read SPARC Linux) support added.

25 years ago- performance retunes, v8plus bn_*_comba routines are reimplemented;
Andy Polyakov [Sun, 25 Jul 1999 12:34:30 +0000 (12:34 +0000)]
- performance retunes, v8plus bn_*_comba routines are reimplemented;
- support for GNU assembler (read SPARC Linux);

25 years agoFirst cut for a proposed code freeze and release dates (from Steve and me).
Ralf S. Engelschall [Sun, 25 Jul 1999 12:19:02 +0000 (12:19 +0000)]
First cut for a proposed code freeze and release dates (from Steve and me).
All OpenSSL developers: Please feel free to adjust the dates if they still do
not fit into your personal scheduling.

25 years agoDon't include x509.h when we just need asn1.h
Bodo Möller [Sat, 24 Jul 1999 03:09:01 +0000 (03:09 +0000)]
Don't include x509.h when we just need asn1.h

25 years agoRemove obsolete files.
Ulf Möller [Thu, 22 Jul 1999 21:57:41 +0000 (21:57 +0000)]
Remove obsolete files.

25 years agoignore r586unix.cpp
Bodo Möller [Thu, 22 Jul 1999 16:23:54 +0000 (16:23 +0000)]
ignore r586unix.cpp

25 years agodate.h no longer to be deleted by "make clean"
Bodo Möller [Thu, 22 Jul 1999 16:22:11 +0000 (16:22 +0000)]
date.h no longer to be deleted by "make clean"

25 years agoMake the perl module compile and eliminate some of the warnings.
Ulf Möller [Thu, 22 Jul 1999 16:10:31 +0000 (16:10 +0000)]
Make the perl module compile and eliminate some of the warnings.
Still doesn't work (the destructor on BIO and SSL is called immediately
after creating the object. Why that??)

25 years agoTorture weak compilers less by not automatically including x509.h where
Bodo Möller [Wed, 21 Jul 1999 22:10:23 +0000 (22:10 +0000)]
Torture weak compilers less by not automatically including x509.h where
it is not needed.

25 years agoadditional argument for key_callback
Bodo Möller [Wed, 21 Jul 1999 22:07:35 +0000 (22:07 +0000)]
additional argument for key_callback

25 years agoAdditional user data argument to pem_password_cb function type
Bodo Möller [Wed, 21 Jul 1999 20:57:16 +0000 (20:57 +0000)]
Additional user data argument to pem_password_cb function type
and to lots of PEM_... functions.
Submitted by: Damien Miller <dmiller@ilogic.com.au>

25 years agoavoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
Bodo Möller [Wed, 21 Jul 1999 20:49:15 +0000 (20:49 +0000)]
avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
use new file buildinf.h instead.

25 years agoslight clean-up
Bodo Möller [Wed, 21 Jul 1999 20:47:51 +0000 (20:47 +0000)]
slight clean-up

25 years agoAuto-generated file -- this should not be under version control
Bodo Möller [Wed, 21 Jul 1999 20:47:19 +0000 (20:47 +0000)]
Auto-generated file -- this should not be under version control
(and the other */asm/*.cpp files are not)

25 years agoGet rid of redundant multiplications in bn_div_words.
Andy Polyakov [Wed, 21 Jul 1999 13:53:01 +0000 (13:53 +0000)]
Get rid of redundant multiplications in bn_div_words.

25 years ago"make TABLE" (to follow recent Configure change)
Bodo Möller [Tue, 20 Jul 1999 17:46:32 +0000 (17:46 +0000)]
"make TABLE" (to follow recent Configure change)

25 years agoMIPS III/IV assembler module is reimplemented.
Andy Polyakov [Tue, 20 Jul 1999 15:50:20 +0000 (15:50 +0000)]
MIPS III/IV assembler module is reimplemented.

25 years agocrypto/bn/asm/mips3.s is moved to crypto/bn/asm/obsolete/
Andy Polyakov [Tue, 20 Jul 1999 13:43:26 +0000 (13:43 +0000)]
crypto/bn/asm/mips3.s is moved to crypto/bn/asm/obsolete/

25 years agocrypto/bn/asm/mips3.s is obsolete. I'm moving it to crypto/bn/asm/obsolete
Andy Polyakov [Tue, 20 Jul 1999 13:40:02 +0000 (13:40 +0000)]
crypto/bn/asm/mips3.s is obsolete. I'm moving it to crypto/bn/asm/obsolete
in order to replace it with a new version.

25 years agoSSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
Bodo Möller [Mon, 19 Jul 1999 12:59:12 +0000 (12:59 +0000)]
SSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
work as intended, both for SSLv2 and TLS.

25 years agoNew compile time option -DCRYPTO_MDEBUG_THREAD.
Bodo Möller [Mon, 19 Jul 1999 10:36:10 +0000 (10:36 +0000)]
New compile time option -DCRYPTO_MDEBUG_THREAD.

25 years agoHave CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
Bodo Möller [Mon, 19 Jul 1999 09:25:35 +0000 (09:25 +0000)]
Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
and make it the default for some debugging configurations.

25 years agoAdd optional (compile-time configurable) time to CRYPTO_mem_leaks output.
Bodo Möller [Sun, 18 Jul 1999 22:39:45 +0000 (22:39 +0000)]
Add optional (compile-time configurable) time to CRYPTO_mem_leaks output.
This is much more helpful than the counter when doing tests with the library
interactively.

25 years ago"make clean" has to delete date.h
Bodo Möller [Sat, 17 Jul 1999 15:17:14 +0000 (15:17 +0000)]
"make clean" has to delete date.h

25 years agoDES library changes.
Ulf Möller [Fri, 16 Jul 1999 00:50:45 +0000 (00:50 +0000)]
DES library changes.

25 years agoDid not check the last SDIR line for excluded algorithms.
Ulf Möller [Fri, 16 Jul 1999 00:49:51 +0000 (00:49 +0000)]
Did not check the last SDIR line for excluded algorithms.

25 years agoMore DES library cleanups: remove references to srand/rand
Ulf Möller [Thu, 15 Jul 1999 23:47:02 +0000 (23:47 +0000)]
More DES library cleanups: remove references to srand/rand
and delete an unused file.

25 years agoRSA private keys without dmp1/dmq1/iqmp are also valid (but slower).
Ulf Möller [Thu, 15 Jul 1999 23:45:04 +0000 (23:45 +0000)]
RSA private keys without dmp1/dmq1/iqmp are also valid (but slower).

25 years agoNO_HMAC.
Ulf Möller [Thu, 15 Jul 1999 23:44:04 +0000 (23:44 +0000)]
NO_HMAC.

25 years agoFix option processing.
Bodo Möller [Wed, 14 Jul 1999 18:37:51 +0000 (18:37 +0000)]
Fix option processing.
Submitted by: Sam Tetherow

25 years agoJudging from various messages on the OpenSSL mailing lists, HP-UX 10
Bodo Möller [Wed, 14 Jul 1999 18:09:59 +0000 (18:09 +0000)]
Judging from various messages on the OpenSSL mailing lists, HP-UX 10
with cc (but not gcc) seems to work well with BN_LLONG; but -O4 is too
much.

25 years agoEliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
Dr. Stephen Henson [Tue, 13 Jul 1999 00:00:05 +0000 (00:00 +0000)]
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
unnecessary cast.

25 years agoContinues NASM support. This might work now. Its still experimental but it
Dr. Stephen Henson [Mon, 12 Jul 1999 23:35:10 +0000 (23:35 +0000)]
Continues NASM support. This might work now. Its still experimental but it
passes all the tests. Added documentation in INSTALL.W32.

25 years agocosmetic changes
Bodo Möller [Mon, 12 Jul 1999 18:50:34 +0000 (18:50 +0000)]
cosmetic changes

25 years agoMore NASM support code it still doesn't work but it doesn't work less than it
Dr. Stephen Henson [Mon, 12 Jul 1999 18:12:43 +0000 (18:12 +0000)]
More NASM support code it still doesn't work but it doesn't work less than it
didn't work before :-)