oweals/openssl.git
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 :-)

25 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

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

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

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

25 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

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

25 years agoNew function RSA_check_key.
Bodo Möller [Sun, 11 Jul 1999 22:01:41 +0000 (22:01 +0000)]
New function RSA_check_key.

25 years agoNew function RSA_check_key,
Bodo Möller [Sun, 11 Jul 1999 22:00:55 +0000 (22:00 +0000)]
New function RSA_check_key,
openssl rsa -check

25 years agoVarious changes to stop VC++ choking under Win32.
Dr. Stephen Henson [Sun, 11 Jul 1999 17:09:04 +0000 (17:09 +0000)]
Various changes to stop VC++ choking under Win32.

25 years agoAdd a debugging option to PKCS#5 v2.0 key generation function.
Dr. Stephen Henson [Sun, 11 Jul 1999 12:40:46 +0000 (12:40 +0000)]
Add a debugging option to PKCS#5 v2.0 key generation function.

25 years agoCopy flags in ASN1_STRING_dup()
Dr. Stephen Henson [Sun, 11 Jul 1999 12:30:55 +0000 (12:30 +0000)]
Copy flags in ASN1_STRING_dup()

25 years agoFix a bug in x509.c that omitted DSA parameters when they didn't match the
Dr. Stephen Henson [Sun, 11 Jul 1999 01:48:21 +0000 (01:48 +0000)]
Fix a bug in x509.c that omitted DSA parameters when they didn't match the
signers parameters. Changed it to never omit parameters.

25 years agoSXnet code was freeing up the extension data rather than the temporary
Dr. Stephen Henson [Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)]
SXnet code was freeing up the extension data rather than the temporary
zone number.

25 years agoFix memory checking.
Bodo Möller [Fri, 9 Jul 1999 16:27:30 +0000 (16:27 +0000)]
Fix memory checking.

25 years agoObsolete/experimental code.
Ulf Möller [Fri, 9 Jul 1999 15:23:11 +0000 (15:23 +0000)]
Obsolete/experimental code.

25 years agoProvide CFLAGS and PLATFORM information on Windows platforms.
Bodo Möller [Fri, 9 Jul 1999 14:04:57 +0000 (14:04 +0000)]
Provide CFLAGS and PLATFORM information on Windows platforms.

25 years agoremove editing artifacts
Bodo Möller [Fri, 9 Jul 1999 13:02:14 +0000 (13:02 +0000)]
remove editing artifacts

25 years agoMention modification to Configure.
Bodo Möller [Fri, 9 Jul 1999 12:01:40 +0000 (12:01 +0000)]
Mention modification to Configure.

25 years agoDon't confuse mk1mf.pl by combining multiple options into one.
Bodo Möller [Fri, 9 Jul 1999 12:00:34 +0000 (12:00 +0000)]
Don't confuse mk1mf.pl by combining multiple options into one.

25 years agoUpdated to reflect recent "Configure" modification.
Bodo Möller [Fri, 9 Jul 1999 11:30:20 +0000 (11:30 +0000)]
Updated to reflect recent "Configure" modification.

25 years agoBroken HPUX cc.
Ulf Möller [Fri, 9 Jul 1999 01:17:51 +0000 (01:17 +0000)]
Broken HPUX cc.

25 years agoimprove readability of #if conditions (ELF, if defined, supersedes BSDI
Bodo Möller [Tue, 6 Jul 1999 17:28:29 +0000 (17:28 +0000)]
improve readability of #if conditions (ELF, if defined, supersedes BSDI
[which we don't really define if ELF is defined, but who knows])

25 years agoavoid confliction definitions of NDEBUG
Bodo Möller [Mon, 5 Jul 1999 11:01:16 +0000 (11:01 +0000)]
avoid confliction definitions of NDEBUG

25 years agoDisable asserts for standard configurations.
Bodo Möller [Mon, 5 Jul 1999 10:18:51 +0000 (10:18 +0000)]
Disable asserts for standard configurations.

25 years agomake debug-solaris-[u]sparc-gcc more useful
Bodo Möller [Mon, 5 Jul 1999 10:09:24 +0000 (10:09 +0000)]
make debug-solaris-[u]sparc-gcc more useful

25 years agotypo
Bodo Möller [Fri, 2 Jul 1999 17:52:21 +0000 (17:52 +0000)]
typo