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

25 years agotypo
Bodo Möller [Fri, 2 Jul 1999 14:23:33 +0000 (14:23 +0000)]
typo

25 years agoNew functions SSL[_CTX]_{set,get}_mode; the initial set of mode flags is
Bodo Möller [Fri, 2 Jul 1999 13:55:32 +0000 (13:55 +0000)]
New functions SSL[_CTX]_{set,get}_mode; the initial set of mode flags is
SSL_MODE_ENABLE_PARTIAL_WRITE, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER.

25 years agoDon't use ...-oldgcc for egcs compiler.
Bodo Möller [Fri, 2 Jul 1999 13:38:17 +0000 (13:38 +0000)]
Don't use ...-oldgcc for egcs compiler.

25 years agoMore no-xxx option tweaks.
Ulf Möller [Wed, 30 Jun 1999 00:42:56 +0000 (00:42 +0000)]
More no-xxx option tweaks.

25 years agoFix no-hmac and no-ripemd.
Ulf Möller [Tue, 29 Jun 1999 23:52:08 +0000 (23:52 +0000)]
Fix no-hmac and no-ripemd.

25 years agoNew functions to allow RSA_METHODs to be changed without poking round in
Dr. Stephen Henson [Tue, 29 Jun 1999 22:22:42 +0000 (22:22 +0000)]
New functions to allow RSA_METHODs to be changed without poking round in
RSA structure internals.

25 years agoUse "long long" for all Win32 gcc ports.
Ulf Möller [Mon, 28 Jun 1999 16:17:38 +0000 (16:17 +0000)]
Use "long long" for all Win32 gcc ports.

25 years agoWith mingw32, use "long long" rather than "_int64" (the latter does
Bodo Möller [Mon, 28 Jun 1999 14:38:31 +0000 (14:38 +0000)]
With mingw32, use "long long" rather than "_int64" (the latter does
not work, at least the package mentioned in INSTALL.W32 does not know
about it).

25 years agoFix comments.
Bodo Möller [Mon, 28 Jun 1999 12:14:06 +0000 (12:14 +0000)]
Fix comments.
Submitted by: Anonymous

25 years agoThe Mingw32 configuration entry was missing one colon (found by
Bodo Möller [Sat, 26 Jun 1999 21:25:01 +0000 (21:25 +0000)]
The Mingw32 configuration entry was missing one colon (found by
"Zot O'Connor" <zot@ZotConsulting.com>).
Also, Windows probably does not need the warning about multi-threading.

25 years agoconfiguration change for debugging
Bodo Möller [Sat, 26 Jun 1999 01:59:00 +0000 (01:59 +0000)]
configuration change for debugging

25 years agoUpdate TABLE.
Bodo Möller [Fri, 25 Jun 1999 21:33:51 +0000 (21:33 +0000)]
Update TABLE.

25 years agoMemory leak checks.
Bodo Möller [Fri, 25 Jun 1999 14:04:10 +0000 (14:04 +0000)]
Memory leak checks.

25 years agoClose another memory hole.
Bodo Möller [Fri, 25 Jun 1999 13:49:55 +0000 (13:49 +0000)]
Close another memory hole.

25 years agoAvoid some memory holes, one of which was pointed out by
Bodo Möller [Fri, 25 Jun 1999 13:41:35 +0000 (13:41 +0000)]
Avoid some memory holes, one of which was pointed out by
"Chad C. Mulligan" <mulligan@antipope.org>.

25 years agoUse the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
Ulf Möller [Thu, 24 Jun 1999 19:39:23 +0000 (19:39 +0000)]
Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)

25 years agoFix d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() so it correctly works out
Dr. Stephen Henson [Thu, 24 Jun 1999 01:50:27 +0000 (01:50 +0000)]
Fix d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() so it correctly works out
the length of negative integers.

25 years agoDon't use inline assembler when configured for "no-asm".
Bodo Möller [Wed, 23 Jun 1999 12:18:31 +0000 (12:18 +0000)]
Don't use inline assembler when configured for "no-asm".

25 years agoNew function PKCS7_signatureVerify to allow the signing certificate to
Dr. Stephen Henson [Tue, 22 Jun 1999 13:33:22 +0000 (13:33 +0000)]
New function PKCS7_signatureVerify to allow the signing certificate to
be explicitly stated with PKCS#7 verify.

Also fix for util/mkerr.pl: if the -nostatic option is being used this will be
for an external library so the autogenerated C file should include the
header file as:
#include "any/path/to/header.h"
rather than the internal library form:
#include <openssl/header.h>

25 years agoChange the PEM_* function prototypes to use DECLARE_PEM macros and change
Dr. Stephen Henson [Tue, 22 Jun 1999 01:38:31 +0000 (01:38 +0000)]
Change the PEM_* function prototypes to use DECLARE_PEM macros and change
util/mkdef.pl to handle this. Also do a 'make update'.

25 years agoImplement STACK_OF(ANS1_OBJECT) for extended key usage extension, change the
Dr. Stephen Henson [Mon, 21 Jun 1999 23:59:09 +0000 (23:59 +0000)]
Implement STACK_OF(ANS1_OBJECT) for extended key usage extension, change the
documentation to reflect the STACK_OF(CONF_VALUE) change to the CONF lib and
use ANSI typedefs for X509V3_EXT_I2D and X509V3_EXT_FREE.

25 years agoMake some debug-... configurations more useful for debugging.
Bodo Möller [Mon, 21 Jun 1999 21:04:18 +0000 (21:04 +0000)]
Make some debug-... configurations more useful for debugging.

25 years agoPerl variable names are case-sensitive ...
Bodo Möller [Mon, 21 Jun 1999 11:32:25 +0000 (11:32 +0000)]
Perl variable names are case-sensitive ...

25 years agoDon't shadow.
Ben Laurie [Mon, 21 Jun 1999 10:08:56 +0000 (10:08 +0000)]
Don't shadow.

25 years ago"make update"
Bodo Möller [Mon, 21 Jun 1999 10:04:48 +0000 (10:04 +0000)]
"make update"

25 years agoConvert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
Dr. Stephen Henson [Sun, 20 Jun 1999 22:18:16 +0000 (22:18 +0000)]
Convert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
seemed like a good idea at the time... several hours later it was rather
obvious that these are used all over the place making the changes rather
extensive.

25 years agoNew functions CONF_load_bio() and CONF_load_fp() to load a configuration
Dr. Stephen Henson [Sun, 20 Jun 1999 17:36:11 +0000 (17:36 +0000)]
New functions CONF_load_bio() and CONF_load_fp() to load a configuration
file from a bio or fp. Added some more constification to the BN library.

25 years agoClarification.
Bodo Möller [Fri, 18 Jun 1999 18:22:38 +0000 (18:22 +0000)]
Clarification.

25 years ago"make update"
Bodo Möller [Fri, 18 Jun 1999 16:44:29 +0000 (16:44 +0000)]
"make update"

25 years agoNew function CRYPTO_num_locks.
Bodo Möller [Fri, 18 Jun 1999 16:14:18 +0000 (16:14 +0000)]
New function CRYPTO_num_locks.

25 years agoUse same name in the definition as in the header file declaration :-/
Bodo Möller [Fri, 18 Jun 1999 12:28:29 +0000 (12:28 +0000)]
Use same name in the definition as in the header file declaration :-/
(the extra "get" makes the name quite long, but otherwise it'd sound
as if you could request something rather than obtain information
about what the peer did).

25 years agoDon't access configuration files outside the source tree.
Bodo Möller [Thu, 17 Jun 1999 21:10:35 +0000 (21:10 +0000)]
Don't access configuration files outside the source tree.

25 years agoTypo.
Ulf Möller [Wed, 16 Jun 1999 23:49:39 +0000 (23:49 +0000)]
Typo.

25 years agoRecognize CPU on BSD/OS.
Ulf Möller [Wed, 16 Jun 1999 20:26:46 +0000 (20:26 +0000)]
Recognize CPU on BSD/OS.

25 years agoSome people don't have /dev/fd/0 on Solaris, so use - instead.
Bodo Möller [Tue, 15 Jun 1999 23:17:09 +0000 (23:17 +0000)]
Some people don't have /dev/fd/0 on Solaris, so use - instead.

25 years agoDon't try to use zero-byte buffers.
Bodo Möller [Tue, 15 Jun 1999 18:07:44 +0000 (18:07 +0000)]
Don't try to use zero-byte buffers.

25 years agoObsolete.
Bodo Möller [Mon, 14 Jun 1999 15:52:31 +0000 (15:52 +0000)]
Obsolete.

25 years agolong obsolete
Bodo Möller [Mon, 14 Jun 1999 15:51:26 +0000 (15:51 +0000)]
long obsolete

25 years agoComment adjusted to reality.
Bodo Möller [Mon, 14 Jun 1999 15:48:04 +0000 (15:48 +0000)]
Comment adjusted to reality.

25 years agorc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
Bodo Möller [Mon, 14 Jun 1999 14:48:25 +0000 (14:48 +0000)]
rc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
opensslconf.h always expects HEADER_... (no leading underscore).

Submitted by: Andy Polyakov <appro@fy.chalmers.se>

25 years agoProvide fallback configurations for all hpux... configurations
Bodo Möller [Mon, 14 Jun 1999 13:56:26 +0000 (13:56 +0000)]
Provide fallback configurations for all hpux... configurations
(problems with BN_LLONG have been reported both for hpux-cc
and for hpux10-gcc).

25 years agoBugfix.
Bodo Möller [Sat, 12 Jun 1999 11:07:52 +0000 (11:07 +0000)]
Bugfix.

25 years agoAvoid some warnings (on silly compilers).
Bodo Möller [Sat, 12 Jun 1999 09:52:44 +0000 (09:52 +0000)]
Avoid some warnings (on silly compilers).

25 years ago"make update"
Bodo Möller [Sat, 12 Jun 1999 01:08:14 +0000 (01:08 +0000)]
"make update"

25 years agoBIO pairs.
Bodo Möller [Sat, 12 Jun 1999 01:03:40 +0000 (01:03 +0000)]
BIO pairs.

25 years agoFix to i2d_DSAPublicKey() to return the correct length.
Dr. Stephen Henson [Fri, 11 Jun 1999 22:30:45 +0000 (22:30 +0000)]
Fix to i2d_DSAPublicKey() to return the correct length.
Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>

25 years agoChanges for BSD/OS 4.
Bodo Möller [Fri, 11 Jun 1999 11:45:22 +0000 (11:45 +0000)]
Changes for BSD/OS 4.

25 years agoDon't use unquoted whitespace in "case" case.
Bodo Möller [Fri, 11 Jun 1999 10:54:42 +0000 (10:54 +0000)]
Don't use unquoted whitespace in "case" case.

25 years agoDocument the X509V3 code and change some of the extension function pointers
Dr. Stephen Henson [Fri, 11 Jun 1999 01:58:42 +0000 (01:58 +0000)]
Document the X509V3 code and change some of the extension function pointers
to use 'void *' rather than 'char *' for an "arbitrary extension".

25 years agoNeXT 3.3 can handle -O3 (3.0 can't).
Bodo Möller [Thu, 10 Jun 1999 20:13:33 +0000 (20:13 +0000)]
NeXT 3.3 can handle -O3 (3.0 can't).