openssl.git
21 years agorename some functions to improve consistency
Bodo Möller [Sat, 23 Nov 2002 18:16:09 +0000 (18:16 +0000)]
rename some functions to improve consistency

Submitted by: Sheueling Chang

21 years agoadd a comment
Bodo Möller [Fri, 22 Nov 2002 09:25:35 +0000 (09:25 +0000)]
add a comment

21 years agoDisable this module if OPENSSL_NO_SOCK is defined.
Richard Levitte [Fri, 22 Nov 2002 08:45:20 +0000 (08:45 +0000)]
Disable this module if OPENSSL_NO_SOCK is defined.

21 years agoTypo. OPENSSL_NO_ECDH, not NO_OPENSSL_ECDH
Richard Levitte [Fri, 22 Nov 2002 08:40:34 +0000 (08:40 +0000)]
Typo.  OPENSSL_NO_ECDH, not NO_OPENSSL_ECDH

21 years agoMention a current showstopper
Richard Levitte [Thu, 21 Nov 2002 22:39:08 +0000 (22:39 +0000)]
Mention a current showstopper

21 years agoavoid uninitialized memory read
Bodo Möller [Wed, 20 Nov 2002 10:55:27 +0000 (10:55 +0000)]
avoid uninitialized memory read

Submitted by: Nils Larsch

21 years agoMake ec_GFp_simple_point_get_affine_coordinates() faster
Bodo Möller [Wed, 20 Nov 2002 10:53:33 +0000 (10:53 +0000)]
Make ec_GFp_simple_point_get_affine_coordinates() faster
for Montgomery representations.

Submitted by: Sheueling Chang, Bodo Moeller

21 years agoFix bug introduced by the attempt to fix client side external session
Lutz Jänicke [Wed, 20 Nov 2002 10:48:58 +0000 (10:48 +0000)]
Fix bug introduced by the attempt to fix client side external session
caching (#288): now internal caching failed (#351):
Make sure, that cipher_id is set before comparing.
Submitted by:
Reviewed by:
PR: 288 (and 351)

21 years agoallocate bio_err before memory debugging is enabled to avoid memory leaks
Bodo Möller [Tue, 19 Nov 2002 11:56:05 +0000 (11:56 +0000)]
allocate bio_err before memory debugging is enabled to avoid memory leaks
(we can't release it before the CRYPTO_mem_leaks() call!)

Submitted by: Nils Larsch

21 years agoIt works on my laptop :-).
Richard Levitte [Tue, 19 Nov 2002 11:52:24 +0000 (11:52 +0000)]
It works on my laptop :-).

21 years agomake update
Richard Levitte [Tue, 19 Nov 2002 11:40:14 +0000 (11:40 +0000)]
make update

21 years agoFix an unsigned/signed mismatch.
Richard Levitte [Tue, 19 Nov 2002 11:28:28 +0000 (11:28 +0000)]
Fix an unsigned/signed mismatch.

21 years agoUpdate STATUS
Richard Levitte [Tue, 19 Nov 2002 09:34:34 +0000 (09:34 +0000)]
Update STATUS

21 years agoAdd news items for 0.9.6h and expand on the 0.9.7 news as well.
Richard Levitte [Mon, 18 Nov 2002 23:58:24 +0000 (23:58 +0000)]
Add news items for 0.9.6h and expand on the 0.9.7 news as well.

21 years agoDocument the addition of certificate pairs.
Richard Levitte [Mon, 18 Nov 2002 23:56:15 +0000 (23:56 +0000)]
Document the addition of certificate pairs.

21 years agoAdd the ASN.1 structures and functions for CertificatePair, which is
Richard Levitte [Mon, 18 Nov 2002 23:54:27 +0000 (23:54 +0000)]
Add the ASN.1 structures and functions for CertificatePair, which is
defined as follows (according to X.509_4thEditionDraftV6.pdf):

CertificatePair ::= SEQUENCE {
forward [0] Certificate OPTIONAL,
reverse [1] Certificate OPTIONAL,
-- at least one of the pair shall be present -- }

The only thing I'm not sure about is if it's implicit or explicit tags
that I should count on.  For now, I'm thinking explicit, but will
gladly stand corrected.

Also implement the PEM functions to read and write certificate pairs,
and defined the PEM tag as "CERTIFICATE PAIR".

This needed to be defined, mostly for the sake of the LDAP attribute
crossCertificatePair, but may prove useful elsewhere as well.

21 years agoDetermine HZ exactly as in apps/speed.c.
Richard Levitte [Mon, 18 Nov 2002 23:06:36 +0000 (23:06 +0000)]
Determine HZ exactly as in apps/speed.c.

21 years agoMake sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).
Richard Levitte [Mon, 18 Nov 2002 23:05:39 +0000 (23:05 +0000)]
Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).

21 years agoremove redundant functions
Bodo Möller [Mon, 18 Nov 2002 14:37:35 +0000 (14:37 +0000)]
remove redundant functions

21 years agouse consistent order of function definitions
Bodo Möller [Mon, 18 Nov 2002 14:33:39 +0000 (14:33 +0000)]
use consistent order of function definitions

21 years agofix memory leak in memory debuggin code ...
Bodo Möller [Mon, 18 Nov 2002 14:00:42 +0000 (14:00 +0000)]
fix memory leak in memory debuggin code ...

Submitted by: Nils Larsch

21 years agoallocate bio_err before memory debugging is enabled to avoid memory leaks
Bodo Möller [Mon, 18 Nov 2002 13:37:40 +0000 (13:37 +0000)]
allocate bio_err before memory debugging is enabled to avoid memory leaks
(we can't release it before the CRYPTO_mem_leaks() call!)

Submitted by: Nils Larsch

21 years agoA variable of type time_t is supposed to be a time measurement starting at
Richard Levitte [Mon, 18 Nov 2002 13:04:08 +0000 (13:04 +0000)]
A variable of type time_t is supposed to be a time measurement starting at
Epoch.  offset isn't such a measurement, so let's stop pretend it is.

21 years agoBetter workaround to the "=head1 NAME OPTIONS" pod2latex problem:
Lutz Jänicke [Mon, 18 Nov 2002 08:15:45 +0000 (08:15 +0000)]
Better workaround to the "=head1 NAME OPTIONS" pod2latex problem:
NAME OPTIONS are a subset of OPTIONS, so just make it =head2!
Submitted by:
Reviewed by:
PR: 333

21 years agoMake it possible to build for more than one CPU.
Richard Levitte [Sun, 17 Nov 2002 19:48:19 +0000 (19:48 +0000)]
Make it possible to build for more than one CPU.
Clarify what the CE tests do.

21 years agoIgnore openssl.pc. This way, there's no risk that I'll add it again :-).
Richard Levitte [Sun, 17 Nov 2002 08:07:08 +0000 (08:07 +0000)]
Ignore openssl.pc.  This way, there's no risk that I'll add it again :-).

21 years agoAdding openssl.pc to the repository was a mistake,
Richard Levitte [Sun, 17 Nov 2002 08:05:38 +0000 (08:05 +0000)]
Adding openssl.pc to the repository was a mistake,
since it's generated.

21 years agoAdd the file openssl.pc that I forgot a while ago.
Richard Levitte [Sun, 17 Nov 2002 08:03:24 +0000 (08:03 +0000)]
Add the file openssl.pc that I forgot a while ago.

21 years agoI forgot this is compiled in test/, not crypto/ec/...
Richard Levitte [Sat, 16 Nov 2002 10:10:39 +0000 (10:10 +0000)]
I forgot this is compiled in test/, not crypto/ec/...

21 years agoWe don't want TARGETCPU expanded here.
Richard Levitte [Sat, 16 Nov 2002 09:42:04 +0000 (09:42 +0000)]
We don't want TARGETCPU expanded here.

21 years agoMention ActiveState Perl much earlier in INSTALL.WCE.
Richard Levitte [Fri, 15 Nov 2002 22:54:13 +0000 (22:54 +0000)]
Mention ActiveState Perl much earlier in INSTALL.WCE.

21 years agoWinCE patches
Richard Levitte [Fri, 15 Nov 2002 22:37:18 +0000 (22:37 +0000)]
WinCE patches

21 years agoFix buggy #! magic and update ssleay->openssl
Lutz Jänicke [Fri, 15 Nov 2002 21:26:42 +0000 (21:26 +0000)]
Fix buggy #! magic and update ssleay->openssl
Submitted by:
Reviewed by:
PR: 305

21 years agoAdd the INHIBIT_SYMLINKS flag variable to help Cygwin.
Richard Levitte [Fri, 15 Nov 2002 16:56:36 +0000 (16:56 +0000)]
Add the INHIBIT_SYMLINKS flag variable to help Cygwin.
Add missing semicolons.
Add a comment explaining a bunch of targets without any action lines.

21 years agoChanges to make shared library building and use work better with Cygwin
Richard Levitte [Fri, 15 Nov 2002 16:48:38 +0000 (16:48 +0000)]
Changes to make shared library building and use work better with Cygwin

21 years agoDocument the change to remove the 'done' flag variable in the
Richard Levitte [Fri, 15 Nov 2002 13:58:11 +0000 (13:58 +0000)]
Document the change to remove the 'done' flag variable in the
OpenSSL_add_all_*() routines

21 years agothis method does not need field_data1
Bodo Möller [Fri, 15 Nov 2002 12:43:15 +0000 (12:43 +0000)]
this method does not need field_data1

21 years agomake update
Richard Levitte [Fri, 15 Nov 2002 11:20:43 +0000 (11:20 +0000)]
make update

21 years agoA few more Microsoft OIDs added
Richard Levitte [Fri, 15 Nov 2002 11:17:50 +0000 (11:17 +0000)]
A few more Microsoft OIDs added

21 years agoThe pointer to the cipher object is not yet set, when session was reloaded
Lutz Jänicke [Fri, 15 Nov 2002 10:53:33 +0000 (10:53 +0000)]
The pointer to the cipher object is not yet set, when session was reloaded
from external cache (using d2i_SSL_SESSION). Perform comparison based on
the cipher's id instead.
Submitted by: Steve Haslam <araqnid@innocent.com>
Reviewed by:
PR: 288

21 years agoThe architecture name is i486, not just 486
Richard Levitte [Fri, 15 Nov 2002 10:28:28 +0000 (10:28 +0000)]
The architecture name is i486, not just 486

21 years ago-Wid-clash-n isn't support in gcc 3, and I get better result from continuously
Richard Levitte [Fri, 15 Nov 2002 10:19:23 +0000 (10:19 +0000)]
-Wid-clash-n isn't support in gcc 3, and I get better result from continuously
rebuilding on a VMS box.

21 years agoI know ANSI C doesn't like 'long long', and I don't want to see it
Richard Levitte [Fri, 15 Nov 2002 10:15:56 +0000 (10:15 +0000)]
I know ANSI C doesn't like 'long long', and I don't want to see it

21 years agoSpell prototypes correctly :-).
Richard Levitte [Fri, 15 Nov 2002 09:56:01 +0000 (09:56 +0000)]
Spell prototypes correctly :-).

21 years agoAdd -Wstrict-prototype and -Wmissing-prototype to my debugging targets
Richard Levitte [Fri, 15 Nov 2002 09:53:46 +0000 (09:53 +0000)]
Add -Wstrict-prototype and -Wmissing-prototype to my debugging targets

21 years agoWe need to read one more byte of the REQUEST-CERTIFICATE message.
Richard Levitte [Fri, 15 Nov 2002 09:15:55 +0000 (09:15 +0000)]
We need to read one more byte of the REQUEST-CERTIFICATE message.
PR: 300

21 years agoAdd SETWRAP modifier to ASN1 generate.
Dr. Stephen Henson [Fri, 15 Nov 2002 00:26:07 +0000 (00:26 +0000)]
Add SETWRAP modifier to ASN1 generate.

21 years agomake update
Richard Levitte [Thu, 14 Nov 2002 23:56:12 +0000 (23:56 +0000)]
make update

21 years agoClose the implicitely opened registry key.
Richard Levitte [Thu, 14 Nov 2002 23:33:28 +0000 (23:33 +0000)]
Close the implicitely opened registry key.
PR: 264

21 years agoUse =back to finish =over (found using pod2latex).
Lutz Jänicke [Thu, 14 Nov 2002 21:50:30 +0000 (21:50 +0000)]
Use =back to finish =over (found using pod2latex).
Submitted by:
Reviewed by:
PR:

21 years agoNo such reference to link to (found running pod2latex).
Lutz Jänicke [Thu, 14 Nov 2002 21:41:54 +0000 (21:41 +0000)]
No such reference to link to (found running pod2latex).
Submitted by:
Reviewed by:
PR:

21 years agoFix documentation of i2d_X509_fp and i2d_X509_bio.
Dr. Stephen Henson [Thu, 14 Nov 2002 18:15:52 +0000 (18:15 +0000)]
Fix documentation of i2d_X509_fp and i2d_X509_bio.

21 years agoAdd Tandem OSS target.
Richard Levitte [Thu, 14 Nov 2002 16:30:11 +0000 (16:30 +0000)]
Add Tandem OSS target.
PR: 192

21 years agoRemove warnings.
Richard Levitte [Thu, 14 Nov 2002 15:57:38 +0000 (15:57 +0000)]
Remove warnings.

21 years agoDCL logic bugs fixed.
Richard Levitte [Thu, 14 Nov 2002 15:38:47 +0000 (15:38 +0000)]
DCL logic bugs fixed.

(I really need to review my knowledge of the language)

21 years agoIt seems like gcc 2.9aix5.1 doesn't do will with optimization level 3.
Richard Levitte [Thu, 14 Nov 2002 14:07:48 +0000 (14:07 +0000)]
It seems like gcc 2.9aix5.1 doesn't do will with optimization level 3.
PR: 115

21 years agoAdd a FAQ on how to check the authenticity of the openSSL distribution.
Richard Levitte [Thu, 14 Nov 2002 13:00:59 +0000 (13:00 +0000)]
Add a FAQ on how to check the authenticity of the openSSL distribution.
PR: 292

21 years agoCygwin fixes
Richard Levitte [Thu, 14 Nov 2002 12:39:39 +0000 (12:39 +0000)]
Cygwin fixes

21 years agoharmonize with 0.9.7 tree
Bodo Möller [Thu, 14 Nov 2002 12:17:47 +0000 (12:17 +0000)]
harmonize with 0.9.7 tree

21 years agoFix to build better with DJGPP.
Richard Levitte [Thu, 14 Nov 2002 11:22:01 +0000 (11:22 +0000)]
Fix to build better with DJGPP.
PR: 338

Here's the description, submitted by Gisle Vanem <giva@bgnett.no>:

1. sock_init() renamed to ssl_sock_init() in ./apps/s_socket.c due
   to name-clash with Watt-32.

2. rand() renamed to Rand() in ./crypto/bn/divtest.c due to name-clash
   with <stdlib.h>

3. Added calls to dbug_init()/sock_init() in some demo programs.

4. Changed cflags/lflags in configure. Watt-32 install root now taken
   from $WATT_ROOT.

21 years agoDon't declare 2 WARNINGS sections
Lutz Jänicke [Thu, 14 Nov 2002 11:13:01 +0000 (11:13 +0000)]
Don't declare 2 WARNINGS sections
Submitted by:
Reviewed by:
PR:

21 years agoOpportunistic change to work around pod2latex bug: rename NAME OPTIONS
Lutz Jänicke [Thu, 14 Nov 2002 11:09:07 +0000 (11:09 +0000)]
Opportunistic change to work around pod2latex bug: rename NAME OPTIONS
section to SUBJECT AND ISSUER NAME OPTIONS
Submitted by:
Reviewed by:
PR: 333

21 years agoCorrect reference to section name.
Lutz Jänicke [Thu, 14 Nov 2002 11:03:30 +0000 (11:03 +0000)]
Correct reference to section name.
Submitted by:
Reviewed by:
PR:

21 years agofix output
Bodo Möller [Thu, 14 Nov 2002 10:57:45 +0000 (10:57 +0000)]
fix output

Submitted by: Nils Larsch

21 years agouse new BIO_indent() function here as well
Bodo Möller [Thu, 14 Nov 2002 10:56:59 +0000 (10:56 +0000)]
use new BIO_indent() function here as well

Submitted by: Nils Larsch

21 years agoMissing =back
Lutz Jänicke [Thu, 14 Nov 2002 10:51:54 +0000 (10:51 +0000)]
Missing =back
Submitted by:
Reviewed by:
PR:

21 years agoThe directory 'rijndael' doesn't exist any more, let's check the aes
Richard Levitte [Thu, 14 Nov 2002 08:23:32 +0000 (08:23 +0000)]
The directory 'rijndael' doesn't exist any more, let's check the aes
directory instead (this should have been done long ago...).

21 years agoWhen AES is skipped because the option 'no-rijndael' was given,
Richard Levitte [Thu, 14 Nov 2002 08:20:40 +0000 (08:20 +0000)]
When AES is skipped because the option 'no-rijndael' was given,
make sure it's skipped from SDIRS as well.

21 years agoMake the Windows test scripts consistent in their echoing
Richard Levitte [Thu, 14 Nov 2002 08:08:55 +0000 (08:08 +0000)]
Make the Windows test scripts consistent in their echoing

21 years agoHandle last lines that aren't properly terminated.
Richard Levitte [Thu, 14 Nov 2002 06:51:18 +0000 (06:51 +0000)]
Handle last lines that aren't properly terminated.
PR: 308

21 years agoFix get_email: 0 is a valid return value
Dr. Stephen Henson [Thu, 14 Nov 2002 00:46:11 +0000 (00:46 +0000)]
Fix get_email: 0 is a valid return value

21 years agoConstification needed.
Richard Levitte [Wed, 13 Nov 2002 23:47:31 +0000 (23:47 +0000)]
Constification needed.
PR: 241

21 years agofree() -> OPENSSL_free()
Richard Levitte [Wed, 13 Nov 2002 20:25:47 +0000 (20:25 +0000)]
free() -> OPENSSL_free()

21 years agoMerge from 0.9.7-stable.
Richard Levitte [Wed, 13 Nov 2002 18:10:30 +0000 (18:10 +0000)]
Merge from 0.9.7-stable.

21 years agoThis didn't get to the 0.9.8-dev thread...
Richard Levitte [Wed, 13 Nov 2002 18:09:27 +0000 (18:09 +0000)]
This didn't get to the 0.9.8-dev thread...

21 years agoCorrect support for SunOS 4.1.3_U1.
Richard Levitte [Wed, 13 Nov 2002 16:11:14 +0000 (16:11 +0000)]
Correct support for SunOS 4.1.3_U1.
PR: 227

21 years agoSecurity fixes brought forward from 0.9.7.
Ben Laurie [Wed, 13 Nov 2002 15:43:43 +0000 (15:43 +0000)]
Security fixes brought forward from 0.9.7.

21 years agoWhen build as dynamic engines, the loading functions should be defined
Richard Levitte [Wed, 13 Nov 2002 15:30:25 +0000 (15:30 +0000)]
When build as dynamic engines, the loading functions should be defined
static.

21 years agoMake internal functions static.
Richard Levitte [Wed, 13 Nov 2002 14:34:53 +0000 (14:34 +0000)]
Make internal functions static.

21 years agoName the flag files correctly.
Richard Levitte [Wed, 13 Nov 2002 14:31:34 +0000 (14:31 +0000)]
Name the flag files correctly.

21 years agoTypo
Dr. Stephen Henson [Wed, 13 Nov 2002 14:07:37 +0000 (14:07 +0000)]
Typo

21 years agodisable weird assert()s
Bodo Möller [Wed, 13 Nov 2002 14:01:34 +0000 (14:01 +0000)]
disable weird assert()s

21 years agoremove unused old directory crypto/rijndael (superseded by crypto/aes)
Bodo Möller [Wed, 13 Nov 2002 13:55:41 +0000 (13:55 +0000)]
remove unused old directory crypto/rijndael (superseded by crypto/aes)

21 years agoUpdate docs
Dr. Stephen Henson [Wed, 13 Nov 2002 13:18:14 +0000 (13:18 +0000)]
Update docs

21 years agoFix warnings, makefile cockup.
Ben Laurie [Wed, 13 Nov 2002 11:59:48 +0000 (11:59 +0000)]
Fix warnings, makefile cockup.

21 years agoPut NAME in right place, fix typo
Dr. Stephen Henson [Wed, 13 Nov 2002 01:20:43 +0000 (01:20 +0000)]
Put NAME in right place, fix typo

21 years agoOnly accept exact match for modifier or tag name
Dr. Stephen Henson [Wed, 13 Nov 2002 00:57:41 +0000 (00:57 +0000)]
Only accept exact match for modifier or tag name

21 years agoAdd header ctype.h
Dr. Stephen Henson [Wed, 13 Nov 2002 00:42:11 +0000 (00:42 +0000)]
Add header ctype.h

21 years agoFix memory leak in s2i_ASN_INTEGER and return an error
Dr. Stephen Henson [Wed, 13 Nov 2002 00:40:51 +0000 (00:40 +0000)]
Fix memory leak in s2i_ASN_INTEGER and return an error
if any invalid characters are present.

21 years agoUpdate docs
Dr. Stephen Henson [Wed, 13 Nov 2002 00:14:15 +0000 (00:14 +0000)]
Update docs

21 years agoInitial ASN1 generation documentation.
Dr. Stephen Henson [Tue, 12 Nov 2002 18:20:28 +0000 (18:20 +0000)]
Initial ASN1 generation documentation.

21 years agoSynchronise...
Richard Levitte [Tue, 12 Nov 2002 13:55:20 +0000 (13:55 +0000)]
Synchronise...

21 years agoInitial ASN1 generation code. This can construct
Dr. Stephen Henson [Tue, 12 Nov 2002 13:34:51 +0000 (13:34 +0000)]
Initial ASN1 generation code. This can construct
arbitrary encodings from strings and config files.

Documentation to follow...

21 years agoMake it possible to run individual tests even when linked with libcrypto.so and libssl.so
Richard Levitte [Tue, 12 Nov 2002 11:25:23 +0000 (11:25 +0000)]
Make it possible to run individual tests even when linked with libcrypto.so and libssl.so

21 years agoMake the CBC mode od AES accept lengths that aren't multiples of 16.
Richard Levitte [Tue, 12 Nov 2002 11:00:25 +0000 (11:00 +0000)]
Make the CBC mode od AES accept lengths that aren't multiples of 16.
PR: 330

21 years agoVariables on the stack must be initialized or we can't depend on any
Richard Levitte [Mon, 11 Nov 2002 21:34:21 +0000 (21:34 +0000)]
Variables on the stack must be initialized or we can't depend on any
initial value.  For errline/errorline, we did depend on that, erroneously

21 years agoMake the programs link against the static library on MacOS X.
Richard Levitte [Mon, 11 Nov 2002 20:46:52 +0000 (20:46 +0000)]
Make the programs link against the static library on MacOS X.
PR: 335

21 years agoTypo.
Lutz Jänicke [Mon, 11 Nov 2002 11:19:15 +0000 (11:19 +0000)]
Typo.
Submitted by: assar <assar@kth.se>
Reviewed by:
PR:

21 years agodo tests with all built-in curves
Bodo Möller [Mon, 11 Nov 2002 10:25:12 +0000 (10:25 +0000)]
do tests with all built-in curves

Submitted by: Nils Larsch

21 years agocorrections to built-in curves
Bodo Möller [Mon, 11 Nov 2002 10:24:52 +0000 (10:24 +0000)]
corrections to built-in curves

Submitted by: Nils Larsch