oweals/openssl.git
22 years agoAdd missing brackets.
Lutz Jänicke [Wed, 25 Sep 2002 20:19:04 +0000 (20:19 +0000)]
Add missing brackets.
Submitted by: "Chris Brook" <cbrook@v-one.com>

22 years agoreally fix race conditions
Bodo Möller [Wed, 25 Sep 2002 15:38:57 +0000 (15:38 +0000)]
really fix race conditions

Submitted by: "Patrick McCormick" <patrick@tellme.com>

PR: 262
PR: 291

22 years agoMake sure that the signal storage is regarded as volatile.
Richard Levitte [Wed, 25 Sep 2002 14:14:11 +0000 (14:14 +0000)]
Make sure that the signal storage is regarded as volatile.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.

22 years agoIt makes more sense to refer to specific function manuals than the concept
Richard Levitte [Wed, 25 Sep 2002 13:33:28 +0000 (13:33 +0000)]
It makes more sense to refer to specific function manuals than the concept
manual when the specific function is refered to in the current manual text.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.

22 years agoRemove *all* references to RSA_PKCS1_RSAref, since it doesn't exist any more.
Richard Levitte [Wed, 25 Sep 2002 13:26:36 +0000 (13:26 +0000)]
Remove *all* references to RSA_PKCS1_RSAref, since it doesn't exist any more.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.

22 years agoRemove reference to RSA_PKCS1_RSAref, since it doesn't exist any more.
Richard Levitte [Wed, 25 Sep 2002 13:25:44 +0000 (13:25 +0000)]
Remove reference to RSA_PKCS1_RSAref, since it doesn't exist any more.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.

22 years agoIt makes more sense to refer to specific function manuals than the concept
Richard Levitte [Wed, 25 Sep 2002 13:11:12 +0000 (13:11 +0000)]
It makes more sense to refer to specific function manuals than the concept
manual when the specific function is refered to in the current manual text.
This correction was originally introduced in OpenBSD's tracking of OpenSSL.

22 years agoIncorrect argument order to memset()
Richard Levitte [Wed, 25 Sep 2002 12:52:13 +0000 (12:52 +0000)]
Incorrect argument order to memset()

22 years agoMissing ;
Richard Levitte [Wed, 25 Sep 2002 12:49:40 +0000 (12:49 +0000)]
Missing ;

22 years ago-elapsed is also useful when using gettimeofday
Richard Levitte [Wed, 25 Sep 2002 12:41:59 +0000 (12:41 +0000)]
-elapsed is also useful when using gettimeofday

22 years agoreally fix race condition
Bodo Möller [Mon, 23 Sep 2002 14:25:07 +0000 (14:25 +0000)]
really fix race condition

PR: 262

22 years agouse OPENSSL_SYS_MSDOS rather than __DJGPP__ to disable egd, this is not
Ulf Möller [Sun, 22 Sep 2002 08:49:22 +0000 (08:49 +0000)]
use OPENSSL_SYS_MSDOS rather than __DJGPP__ to disable egd, this is not
compiler specific

22 years agomake files didn't work on case insensitive filesystems
Ulf Möller [Sun, 22 Sep 2002 08:44:03 +0000 (08:44 +0000)]
make files didn't work on case insensitive filesystems

22 years agothere is no minimum length for session IDs
Bodo Möller [Thu, 19 Sep 2002 11:44:07 +0000 (11:44 +0000)]
there is no minimum length for session IDs

PR: 274

22 years agofix race condition
Bodo Möller [Thu, 19 Sep 2002 11:26:45 +0000 (11:26 +0000)]
fix race condition

PR: 262

22 years agomake sure 'neg' flag (which does not really matter for GF(2^m), but
Bodo Möller [Mon, 16 Sep 2002 13:52:48 +0000 (13:52 +0000)]
make sure 'neg' flag (which does not really matter for GF(2^m), but
could cause confusion for ECDSA) is set to zero

Submitted by: Sheueling Chang

22 years agoadd URL for Internet Draft
Bodo Möller [Mon, 16 Sep 2002 13:45:14 +0000 (13:45 +0000)]
add URL for Internet Draft

22 years ago1. switch from "-newkey ecdsa:..." to "-newkey ec:..."
Bodo Möller [Tue, 10 Sep 2002 07:36:52 +0000 (07:36 +0000)]
1. switch from "-newkey ecdsa:..." to "-newkey ec:..."
2. automatically create required sub-directories

Submitted by: Vipul Gupta <Vipul.Gupta@sun.com>

22 years agoLet 'openssl req' fail if an argument to '-newkey' is not
Bodo Möller [Tue, 10 Sep 2002 07:34:45 +0000 (07:34 +0000)]
Let 'openssl req' fail if an argument to '-newkey' is not
recognized instead of using RSA as a default.

22 years agoReally fix PKCS7_set_detached this time...
Dr. Stephen Henson [Sun, 8 Sep 2002 16:25:03 +0000 (16:25 +0000)]
Really fix PKCS7_set_detached this time...

22 years agoFix typos in PKCS#12 ASN1 code.
Dr. Stephen Henson [Sat, 7 Sep 2002 22:57:49 +0000 (22:57 +0000)]
Fix typos in PKCS#12 ASN1 code.

Make PKCS7_set_detached work again.

22 years agoConsequently use term URI instead of URL
Lutz Jänicke [Thu, 5 Sep 2002 07:52:05 +0000 (07:52 +0000)]
Consequently use term URI instead of URL
Submitted by: TJ Saunders <tj@castaglia.org>
Reviewed by:
PR: 268

22 years ago-nameopt fix has been moved to 0.9.7
Bodo Möller [Mon, 2 Sep 2002 14:22:51 +0000 (14:22 +0000)]
-nameopt fix has been moved to 0.9.7

22 years agomention EC_get_builtin_curves()
Bodo Möller [Mon, 2 Sep 2002 07:12:08 +0000 (07:12 +0000)]
mention EC_get_builtin_curves()

22 years agochange API for looking at the internal curve list
Bodo Möller [Mon, 2 Sep 2002 07:08:33 +0000 (07:08 +0000)]
change API for looking at the internal curve list

Submitted by: Nils Larsch

22 years agoFix ASN1_STRING_to_UTF8: remove non sensical !*out test.
Dr. Stephen Henson [Fri, 30 Aug 2002 17:18:22 +0000 (17:18 +0000)]
Fix ASN1_STRING_to_UTF8: remove non sensical !*out test.

22 years agodon't memset(data,0,...) if data is NULL
Bodo Möller [Thu, 29 Aug 2002 11:45:40 +0000 (11:45 +0000)]
don't memset(data,0,...) if data is NULL

Submitted by: anonymous
PR: 254

22 years agoFix a bug to allow the 4758 ENGINE to build as a DSO.
Geoff Thorpe [Wed, 28 Aug 2002 19:11:08 +0000 (19:11 +0000)]
Fix a bug to allow the 4758 ENGINE to build as a DSO.

22 years agodon't write beyond buffer
Bodo Möller [Tue, 27 Aug 2002 13:32:35 +0000 (13:32 +0000)]
don't write beyond buffer

Submitted by: Nils Larsch

22 years agochange 'usage' formatting
Bodo Möller [Tue, 27 Aug 2002 10:38:09 +0000 (10:38 +0000)]
change 'usage' formatting

22 years agoless specific interface for EC_GROUP_get_basis_type
Bodo Möller [Mon, 26 Aug 2002 18:08:53 +0000 (18:08 +0000)]
less specific interface for EC_GROUP_get_basis_type

Submitted by: Nils Larsch, Bodo Moeller

22 years agofix spacing
Bodo Möller [Mon, 26 Aug 2002 14:50:52 +0000 (14:50 +0000)]
fix spacing

22 years agomove EC_GROUP_get_basis_type() from ec_lib.c to ec_asn1.c
Bodo Möller [Mon, 26 Aug 2002 11:33:13 +0000 (11:33 +0000)]
move EC_GROUP_get_basis_type() from ec_lib.c to ec_asn1.c

22 years agoASN1 for binary curves
Bodo Möller [Mon, 26 Aug 2002 11:25:54 +0000 (11:25 +0000)]
ASN1 for binary curves

Submitted by: Nils Larsch

22 years agofix offsets
Bodo Möller [Mon, 26 Aug 2002 11:25:14 +0000 (11:25 +0000)]
fix offsets

Submitted by: Nils Larsch

22 years agoecdsa => ec
Bodo Möller [Mon, 26 Aug 2002 11:20:50 +0000 (11:20 +0000)]
ecdsa => ec

Submitted by: Nils Larsch

22 years agoReinstate the check for invalid length BIT STRINGS,
Dr. Stephen Henson [Fri, 23 Aug 2002 00:02:11 +0000 (00:02 +0000)]
Reinstate the check for invalid length BIT STRINGS,
which was effectively bypassed in the ASN1 changed.

22 years agoMake -nameopt work in req and add support for -reqopt
Dr. Stephen Henson [Thu, 22 Aug 2002 23:43:48 +0000 (23:43 +0000)]
Make -nameopt work in req and add support for -reqopt

22 years agoChange C++ style comments
Dr. Stephen Henson [Thu, 22 Aug 2002 23:03:04 +0000 (23:03 +0000)]
Change C++ style comments

22 years ago#if out unused function to shut the compiler up.
Dr. Stephen Henson [Thu, 22 Aug 2002 23:00:54 +0000 (23:00 +0000)]
#if out unused function to shut the compiler up.

22 years agoFix crahses and leaks in pkcs12 utility -chain option
Dr. Stephen Henson [Thu, 22 Aug 2002 21:54:51 +0000 (21:54 +0000)]
Fix crahses and leaks in pkcs12 utility -chain option

22 years agoTypo, I assigned the variable ld instead of my_ld...
Richard Levitte [Sun, 18 Aug 2002 21:32:19 +0000 (21:32 +0000)]
Typo, I assigned the variable ld instead of my_ld...

22 years agoSo, I discovered that if you have your $PATH set so a ld different from
Richard Levitte [Sat, 17 Aug 2002 13:46:42 +0000 (13:46 +0000)]
So, I discovered that if you have your $PATH set so a ld different from
GNU ld comes first, checking the usage of collect2 gives that instead of
GNU ld, even if GNU ld would be the one that would get used if we link using
gcc.  It's much better, apparently, to ask gcc directly what the path to
GNU ld is (provided it's there at all and gcc knows about it), and ask
the result if it's a GNU or not.  The bonus is that our GNU ld detection
mechanism got shorter and easier to understand...

22 years agoReorder cleanup sequence in SSL_CTX_free() to leave ex_data for remove_cb().
Lutz Jänicke [Fri, 16 Aug 2002 17:04:04 +0000 (17:04 +0000)]
Reorder cleanup sequence in SSL_CTX_free() to leave ex_data for remove_cb().
Submitted by:
Reviewed by:
PR: 212

22 years agotypo
Bodo Möller [Fri, 16 Aug 2002 11:19:59 +0000 (11:19 +0000)]
typo

Submitted by: Nils Larsch

22 years ago'EC' vs. 'ECDSA'
Bodo Möller [Fri, 16 Aug 2002 11:19:07 +0000 (11:19 +0000)]
'EC' vs. 'ECDSA'

Submitted by: Nils Larsch

22 years agoisalist was less trustable than I thought (or rather, one can trust it to
Richard Levitte [Fri, 16 Aug 2002 09:41:14 +0000 (09:41 +0000)]
isalist was less trustable than I thought (or rather, one can trust it to
come up with all kinds of names we don't have in our targets).
Besides, our sparcv9 targets currently generate sparcv8 code, I'm told.

22 years agoAdd -lz to the ld flags when the user has chosen to link in zlib *statically*.
Richard Levitte [Fri, 16 Aug 2002 06:15:41 +0000 (06:15 +0000)]
Add -lz to the ld flags when the user has chosen to link in zlib *statically*.
Notified by Doug Kaufman <dkaufman@rahul.net>

22 years agoFix block_size field for CFB and OFB modes: it should be 1.
Dr. Stephen Henson [Fri, 16 Aug 2002 01:53:24 +0000 (01:53 +0000)]
Fix block_size field for CFB and OFB modes: it should be 1.

22 years agoq may be used uninitialised
Richard Levitte [Thu, 15 Aug 2002 22:06:00 +0000 (22:06 +0000)]
q may be used uninitialised

22 years agouse correct function code in error message
Bodo Möller [Thu, 15 Aug 2002 16:17:20 +0000 (16:17 +0000)]
use correct function code in error message

22 years agoIt seems like sun4u doesn't always have a sparcv9 inside. Trust isalist.
Richard Levitte [Thu, 15 Aug 2002 15:20:48 +0000 (15:20 +0000)]
It seems like sun4u doesn't always have a sparcv9 inside.  Trust isalist.
PR: 220

22 years agofix warnings (CHARSET_EBCDIC)
Bodo Möller [Thu, 15 Aug 2002 14:52:54 +0000 (14:52 +0000)]
fix warnings (CHARSET_EBCDIC)

Submitted by: Lorinczy Zsigmond <lzsiga@mail.ahiv.hu>

22 years agofix manpage
Bodo Möller [Thu, 15 Aug 2002 14:23:23 +0000 (14:23 +0000)]
fix manpage

22 years agoadd crypto/ecdh
Bodo Möller [Thu, 15 Aug 2002 14:17:19 +0000 (14:17 +0000)]
add crypto/ecdh

22 years agoMissing =back.
Richard Levitte [Thu, 15 Aug 2002 10:59:55 +0000 (10:59 +0000)]
Missing =back.
Part of PR 196

22 years agoAdd a FAQ entry for yet another bc failure.
Richard Levitte [Thu, 15 Aug 2002 10:50:31 +0000 (10:50 +0000)]
Add a FAQ entry for yet another bc failure.
PR: 199

22 years agoYet a couple of modules forgotten. These weren't important for
Richard Levitte [Thu, 15 Aug 2002 09:39:01 +0000 (09:39 +0000)]
Yet a couple of modules forgotten.  These weren't important for
OpenSSL itself, since they aren't used there (yet).  It became quite
visible qhen building a shared library, however...

22 years agoSimplify handling of named curves: get rid of EC_GROUP_new_by_name(),
Bodo Möller [Thu, 15 Aug 2002 09:21:31 +0000 (09:21 +0000)]
Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),
EC_GROUP_new_by_nid() should be enough.  This avoids a lot of
redundancy.

Submitted by: Nils Larsch

22 years agoSometimes, the value of the variable containing the compiler call can
Richard Levitte [Thu, 15 Aug 2002 08:28:38 +0000 (08:28 +0000)]
Sometimes, the value of the variable containing the compiler call can
become rather large.  This becomes a problem when the default 1024
character large buffer that WRITE uses isn't enough.  WRITE/SYMBOL
uses a 2048 byte large buffer instead.

22 years agochange how pod2man is handled: explicitly invoke '$PERL' only when
Bodo Möller [Wed, 14 Aug 2002 14:04:24 +0000 (14:04 +0000)]
change how pod2man is handled: explicitly invoke '$PERL' only when
needed, call 'pod2man' directly if this works

PR: 217

22 years agoInstead of returning errors when certain flags are unusable, just ignore them.
Richard Levitte [Wed, 14 Aug 2002 12:16:27 +0000 (12:16 +0000)]
Instead of returning errors when certain flags are unusable, just ignore them.
That will make the test go through even if DH (or in some cases ECDH) aren't
built into OpenSSL.
PR: 216, part 2

22 years agoThe applications 'ecdsa' and 'ecparam' were missing from the VMS
Richard Levitte [Wed, 14 Aug 2002 11:16:20 +0000 (11:16 +0000)]
The applications 'ecdsa' and 'ecparam' were missing from the VMS
build.

22 years agoMake sure that the test input file comes in the same record format as the
Richard Levitte [Wed, 14 Aug 2002 11:08:43 +0000 (11:08 +0000)]
Make sure that the test input file comes in the same record format as the
typical output from a program in C.
PR: 222

22 years agomove a TODO from CHANGES to STATUS
Bodo Möller [Wed, 14 Aug 2002 11:07:29 +0000 (11:07 +0000)]
move a TODO from CHANGES to STATUS

22 years agoadd 'TODO' items
Bodo Möller [Wed, 14 Aug 2002 10:49:29 +0000 (10:49 +0000)]
add 'TODO' items

22 years agoFix typo in OBJ_txt2obj which incorrectly passed the content
Dr. Stephen Henson [Wed, 14 Aug 2002 00:48:02 +0000 (00:48 +0000)]
Fix typo in OBJ_txt2obj which incorrectly passed the content
length, instead of the encoding length to d2i_ASN1_OBJECT.

This wasn't visible before becuse ASN1_get_object() used
to read past the length of the supplied buffer.

22 years agoSome files deserve to be ignored
Richard Levitte [Tue, 13 Aug 2002 22:41:18 +0000 (22:41 +0000)]
Some files deserve to be ignored

22 years agoMerge in demo engines from 0.9.7-stable.
Richard Levitte [Tue, 13 Aug 2002 12:30:27 +0000 (12:30 +0000)]
Merge in demo engines from 0.9.7-stable.

22 years agoComma forgotten.
Richard Levitte [Tue, 13 Aug 2002 11:49:47 +0000 (11:49 +0000)]
Comma forgotten.

22 years agoOh, ec2_smpt.c is #included by ec2_smpl.c!
Richard Levitte [Tue, 13 Aug 2002 11:47:26 +0000 (11:47 +0000)]
Oh, ec2_smpt.c is #included by ec2_smpl.c!

22 years agoDo not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
Richard Levitte [Mon, 12 Aug 2002 21:22:00 +0000 (21:22 +0000)]
Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
PR: 216, point 1

22 years agoDo not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
Richard Levitte [Mon, 12 Aug 2002 21:20:25 +0000 (21:20 +0000)]
Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
PR: 216, point 3

22 years agoScripts for testing ECC ciphersuites.
Bodo Möller [Mon, 12 Aug 2002 15:18:48 +0000 (15:18 +0000)]
Scripts for testing ECC ciphersuites.

Submitted by: Sun Microsystems Labs

22 years agoA few files in the ENGINE and EVP sections forgotten.
Richard Levitte [Mon, 12 Aug 2002 13:31:57 +0000 (13:31 +0000)]
A few files in the ENGINE and EVP sections forgotten.

22 years agofix previous commit (there's no SSLEAY_VERSION_TEXT)
Bodo Möller [Mon, 12 Aug 2002 11:21:02 +0000 (11:21 +0000)]
fix previous commit (there's no SSLEAY_VERSION_TEXT)

22 years agoremove comment
Bodo Möller [Mon, 12 Aug 2002 08:54:40 +0000 (08:54 +0000)]
remove comment

Submitted by: Douglas Stebila

22 years agoremove debug messages
Bodo Möller [Mon, 12 Aug 2002 08:52:23 +0000 (08:52 +0000)]
remove debug messages

Submitted by: Douglas Stebila

22 years agofix comment
Bodo Möller [Mon, 12 Aug 2002 08:51:30 +0000 (08:51 +0000)]
fix comment

Submitted by: Douglas Stebila

22 years agoget rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
Bodo Möller [Mon, 12 Aug 2002 08:47:41 +0000 (08:47 +0000)]
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)

Submitted by: Nils Larsch

22 years agoadd 0.9.6g information
Bodo Möller [Mon, 12 Aug 2002 08:45:00 +0000 (08:45 +0000)]
add 0.9.6g information

22 years agoUpdate with the status for 0.9.6g.
Richard Levitte [Mon, 12 Aug 2002 06:54:54 +0000 (06:54 +0000)]
Update with the status for 0.9.6g.

22 years agoIn case of shared libraries, we might run one version of the
Richard Levitte [Sun, 11 Aug 2002 21:48:44 +0000 (21:48 +0000)]
In case of shared libraries, we might run one version of the
application with a different version of the library.  Detect if there
is a difference of versions, and print both versions in that case.
This might prove to be a good enough debugging tool in case of doubt.

22 years agoOne more file to compile on VMS as well.
Richard Levitte [Sun, 11 Aug 2002 12:27:28 +0000 (12:27 +0000)]
One more file to compile on VMS as well.

22 years agoRemove clashes between symbols that have the same name except for
Richard Levitte [Sun, 11 Aug 2002 12:23:08 +0000 (12:23 +0000)]
Remove clashes between symbols that have the same name except for
casing.

22 years agoMore long symbols to shorten.
Richard Levitte [Sun, 11 Aug 2002 11:50:32 +0000 (11:50 +0000)]
More long symbols to shorten.

22 years agomem* functions are declared in string.h.
Richard Levitte [Sat, 10 Aug 2002 01:36:14 +0000 (01:36 +0000)]
mem* functions are declared in string.h.

22 years agoSynchronise tests with Unix.
Richard Levitte [Sat, 10 Aug 2002 01:35:10 +0000 (01:35 +0000)]
Synchronise tests with Unix.

22 years agoA new header.
Richard Levitte [Fri, 9 Aug 2002 22:34:57 +0000 (22:34 +0000)]
A new header.

22 years agoSynchronise with Unix.
Richard Levitte [Fri, 9 Aug 2002 22:32:32 +0000 (22:32 +0000)]
Synchronise with Unix.
(I expect the next run will generate lots of errors on VMS :-)).

22 years agoMore long names to shorten.
Richard Levitte [Fri, 9 Aug 2002 22:23:33 +0000 (22:23 +0000)]
More long names to shorten.

22 years ago.cvsignore for crypto/ecdh
Bodo Möller [Fri, 9 Aug 2002 12:17:03 +0000 (12:17 +0000)]
.cvsignore for crypto/ecdh

22 years agomake update
Bodo Möller [Fri, 9 Aug 2002 12:16:15 +0000 (12:16 +0000)]
make update

22 years agofix warnings
Bodo Möller [Fri, 9 Aug 2002 11:58:28 +0000 (11:58 +0000)]
fix warnings

22 years agoadd field type to text output
Bodo Möller [Fri, 9 Aug 2002 10:44:44 +0000 (10:44 +0000)]
add field type to text output
don't print seed value as a number (leading zeros must not be removed)

Submitted by: Nils Larsch

22 years agouse 0, not NULL
Bodo Möller [Fri, 9 Aug 2002 09:39:53 +0000 (09:39 +0000)]
use 0, not NULL

Submitted by: Nils Larsch

22 years agoECDH engine support
Bodo Möller [Fri, 9 Aug 2002 09:39:11 +0000 (09:39 +0000)]
ECDH engine support

Submitted by: Douglas Stebila

22 years agoECC ciphersuite support
Bodo Möller [Fri, 9 Aug 2002 08:56:08 +0000 (08:56 +0000)]
ECC ciphersuite support

Submitted by: Douglas Stebila <douglas.stebila@sun.com>
(Authors: Vipul Gupta and Sumit Gupta, Sun Microsystems Laboratories)

22 years agoWhen we want to give a -f argument to $(MAKE), we'd better make sure the
Richard Levitte [Fri, 9 Aug 2002 08:50:30 +0000 (08:50 +0000)]
When we want to give a -f argument to $(MAKE), we'd better make sure the
variable doesn't already contain a -f argument.
PR: 203, part 4

22 years agoAdd ECDH support.
Bodo Möller [Fri, 9 Aug 2002 08:43:04 +0000 (08:43 +0000)]
Add ECDH support.

Additional changes:
 - use EC_GROUP_get_degree() in apps/req.c
 - add ECDSA and ECDH to apps/speed.c
 - adds support for EC curves over binary fields to ECDSA
 - new function EC_KEY_up_ref() in crypto/ec/ec_key.c
 - reorganize crypto/ecdsa/ecdsatest.c
 - add engine support for ECDH
 - fix a few bugs in ECDSA engine support

Submitted by: Douglas Stebila <douglas.stebila@sun.com>