openssl.git
20 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

20 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)...

20 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...

20 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.

20 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>

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

20 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.

20 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

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

20 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.

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

20 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.

20 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...

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

20 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.

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

20 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.

20 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.

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

20 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 ...

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

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

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

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

20 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.

20 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.

20 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

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

20 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.

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

20 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).

20 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.

20 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

20 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...

20 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

20 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.

20 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

20 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'.

20 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.

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

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

20 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.

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

20 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).

20 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.

20 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).

20 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>

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

20 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.

20 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.

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

20 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.

20 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

20 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.

20 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

20 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!

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

20 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.

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

20 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.

20 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);

20 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.

20 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

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

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

20 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"

20 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??)

20 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.

20 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

20 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>

20 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.

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

20 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)

20 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.

20 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)

20 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.

20 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/

20 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.

20 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.

20 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.

20 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.

20 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.

20 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

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

20 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.

20 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.

20 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).

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

20 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

20 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.

20 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.

20 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.

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

20 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 :-)

20 years agofix memory leak in s3_clnt.c
Bodo Möller [Mon, 12 Jul 1999 17:15:42 +0000 (17:15 +0000)]
fix memory leak in s3_clnt.c

20 years agotypo in string
Bodo Möller [Mon, 12 Jul 1999 16:46:28 +0000 (16:46 +0000)]
typo in string

20 years agoLooks like another memory leak ...
Bodo Möller [Mon, 12 Jul 1999 15:20:08 +0000 (15:20 +0000)]
Looks like another memory leak ...

20 years agoBeginnings of experimental support for NASM assembler. This is a free
Dr. Stephen Henson [Mon, 12 Jul 1999 12:33:16 +0000 (12:33 +0000)]
Beginnings of experimental support for NASM assembler. This is a free
assembler for various X86 platforms including Win32. It can output object files
that VC++ will tolerate so it could be used to provide assembly language support
to Win32 without the need for MASM.

This is preliminary stuff: it doesn't even work yet.

20 years agocorrect error handling
Bodo Möller [Mon, 12 Jul 1999 09:46:34 +0000 (09:46 +0000)]
correct error handling

insert spaces in products that occur in error codes

20 years agotypo
Bodo Möller [Sun, 11 Jul 1999 22:06:54 +0000 (22:06 +0000)]
typo