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

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

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

22 years agomake update
Richard Levitte [Fri, 15 Nov 2002 11:22:25 +0000 (11:22 +0000)]
make update

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

22 years agoThe pointer to the cipher object is not yet set, when session was reloaded
Lutz Jänicke [Fri, 15 Nov 2002 10:51:40 +0000 (10:51 +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

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

22 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:47 +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.

22 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:16:07 +0000 (10:16 +0000)]
I know ANSI C doesn't like 'long long', and I don't want to see it

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

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

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

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

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

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

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

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

22 years agoRemove warnings.
Richard Levitte [Thu, 14 Nov 2002 15:58:01 +0000 (15:58 +0000)]
Remove warnings.

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

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

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

22 years agouse same entry as in more recent CHANGES revision in CVS head
Bodo Möller [Thu, 14 Nov 2002 12:11:44 +0000 (12:11 +0000)]
use same entry as in more recent CHANGES revision in CVS head

22 years agofix order again
Bodo Möller [Thu, 14 Nov 2002 12:08:16 +0000 (12:08 +0000)]
fix order again

22 years agoFix to build better with DJGPP.
Richard Levitte [Thu, 14 Nov 2002 11:22:46 +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.

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

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

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

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

22 years agoThe directory 'rijndael' doesn't exist any more, let's check the aes
Richard Levitte [Thu, 14 Nov 2002 08:23:37 +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...).

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

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

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

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

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

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

22 years agoCorrect support for SunOS 4.1.3_U1.
Richard Levitte [Wed, 13 Nov 2002 15:49:51 +0000 (15:49 +0000)]
Correct support for SunOS 4.1.3_U1.
PR: 227

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

22 years agoMake internal functions static.
Richard Levitte [Wed, 13 Nov 2002 14:31:55 +0000 (14:31 +0000)]
Make internal functions static.

22 years agoChanges from HEAD.
Richard Levitte [Wed, 13 Nov 2002 14:31:01 +0000 (14:31 +0000)]
Changes from HEAD.

22 years agoThe loading functions should be static if we build a dynamic engine.
Richard Levitte [Wed, 13 Nov 2002 14:30:34 +0000 (14:30 +0000)]
The loading functions should be static if we build a dynamic engine.

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

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

22 years agoC++ comments in C code, 'nuff said...
Richard Levitte [Wed, 13 Nov 2002 13:36:29 +0000 (13:36 +0000)]
C++ comments in C code, 'nuff said...

22 years agomake update
Richard Levitte [Wed, 13 Nov 2002 11:35:51 +0000 (11:35 +0000)]
make update

22 years agoMake OpenSSLdie() visible (it's a must to get a proper reference in
Richard Levitte [Wed, 13 Nov 2002 11:35:12 +0000 (11:35 +0000)]
Make OpenSSLdie() visible (it's a must to get a proper reference in
libeay.num).

22 years agoAs main trun
Dr. Stephen Henson [Wed, 13 Nov 2002 01:22:40 +0000 (01:22 +0000)]
As main trun

22 years agofix order of changes -- if B depends on A, A should be listed
Bodo Möller [Tue, 12 Nov 2002 13:35:27 +0000 (13:35 +0000)]
fix order of changes -- if B depends on A, A should be listed
after B (reversed 'chronological' order)

22 years agoMany security improvements (CHATS) and a warning fix.
Ben Laurie [Tue, 12 Nov 2002 13:23:40 +0000 (13:23 +0000)]
Many security improvements (CHATS) and a warning fix.

22 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:33 +0000 (11:25 +0000)]
Make it possible to run individual tests even when linked with libcrypto.so and libssl.so

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

22 years agoVariables on the stack must be initialized or we can't depend on any
Richard Levitte [Mon, 11 Nov 2002 21:35:00 +0000 (21:35 +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

22 years agomake update
Richard Levitte [Mon, 11 Nov 2002 20:51:06 +0000 (20:51 +0000)]
make update

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

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

22 years agoMake sure permissions are friendly when building release tar file.
Lutz Jänicke [Mon, 11 Nov 2002 08:56:37 +0000 (08:56 +0000)]
Make sure permissions are friendly when building release tar file.
Submitted by:
Reviewed by:
PR: 171

22 years agoMore information to the important issue of seeding the PRNG
Lutz Jänicke [Mon, 11 Nov 2002 08:32:37 +0000 (08:32 +0000)]
More information to the important issue of seeding the PRNG
Submitted by:
Reviewed by:
PR: 285

22 years agoX509_NAME_cmp() now compares PrintableString and emailAddress with a value of type
Richard Levitte [Sat, 9 Nov 2002 21:55:12 +0000 (21:55 +0000)]
X509_NAME_cmp() now compares PrintableString and emailAddress with a value of type
ia5String correctly.
PR: 244

22 years ago-CAserial does take a filename argument.
Richard Levitte [Sat, 9 Nov 2002 21:53:56 +0000 (21:53 +0000)]
-CAserial does take a filename argument.
PR: 332

22 years agoTypo
Dr. Stephen Henson [Sat, 9 Nov 2002 18:11:15 +0000 (18:11 +0000)]
Typo

22 years ago-CAcreateserial doesn't take a filename argument.
Richard Levitte [Fri, 8 Nov 2002 21:51:33 +0000 (21:51 +0000)]
-CAcreateserial doesn't take a filename argument.
PR: 332

22 years agoWindows doesn't know sys/file.h
Richard Levitte [Thu, 7 Nov 2002 21:40:17 +0000 (21:40 +0000)]
Windows doesn't know sys/file.h

22 years agoTypo in OCSP ASN1 module
Dr. Stephen Henson [Thu, 7 Nov 2002 17:43:45 +0000 (17:43 +0000)]
Typo in OCSP ASN1 module

22 years agoKeep on using ${CC}, since gcc may act in disguise.
Richard Levitte [Wed, 6 Nov 2002 23:47:16 +0000 (23:47 +0000)]
Keep on using ${CC}, since gcc may act in disguise.
PR: 329

22 years agoGenerate openssl.pc so pkg-config can return proper data.
Richard Levitte [Wed, 6 Nov 2002 23:34:17 +0000 (23:34 +0000)]
Generate openssl.pc so pkg-config can return proper data.
PR: 163

22 years agosome people just can't read the instructions
Richard Levitte [Wed, 6 Nov 2002 06:03:07 +0000 (06:03 +0000)]
some people just can't read the instructions

22 years agoCRL revocation reason docs.
Dr. Stephen Henson [Wed, 6 Nov 2002 01:27:16 +0000 (01:27 +0000)]
CRL revocation reason docs.

22 years agoCheck for NULL ASN1_ITEM when initializeing
Dr. Stephen Henson [Tue, 5 Nov 2002 13:49:04 +0000 (13:49 +0000)]
Check for NULL ASN1_ITEM when initializeing
boolean option in ASN1_TYPE.

22 years agoavoid Purify warnings
Bodo Möller [Tue, 5 Nov 2002 12:28:10 +0000 (12:28 +0000)]
avoid Purify warnings

Submitted by: Nils Larsch

22 years agoReturn my normal debug targets to something not so extreme, and make
Richard Levitte [Mon, 4 Nov 2002 16:33:59 +0000 (16:33 +0000)]
Return my normal debug targets to something not so extreme, and make
the extreme ones special (or 'extreme', if you will :-)).

22 years agoOff-by-one-error corrected.
Richard Levitte [Mon, 4 Nov 2002 11:30:38 +0000 (11:30 +0000)]
Off-by-one-error corrected.
PR: 235

22 years agoCosmetic change
Richard Levitte [Mon, 4 Nov 2002 06:26:27 +0000 (06:26 +0000)]
Cosmetic change

22 years agoRemove all referenses to RSAref, since that's been gone for more than
Richard Levitte [Thu, 31 Oct 2002 16:46:18 +0000 (16:46 +0000)]
Remove all referenses to RSAref, since that's been gone for more than
a year.

22 years agoPlug potential memory leak.
Richard Levitte [Wed, 30 Oct 2002 09:42:47 +0000 (09:42 +0000)]
Plug potential memory leak.
Identified by Goetz Babin-Ebell <babinebell@trustcenter.de>

22 years agoAdd a HISTORY section to the man page to mention the new flags.
Geoff Thorpe [Tue, 29 Oct 2002 18:06:09 +0000 (18:06 +0000)]
Add a HISTORY section to the man page to mention the new flags.

22 years agoThe recent CHANGES note between 0.9.6g and 0.9.6h needs copying into the
Geoff Thorpe [Tue, 29 Oct 2002 17:59:18 +0000 (17:59 +0000)]
The recent CHANGES note between 0.9.6g and 0.9.6h needs copying into the
other branches.

22 years agoCorrect another inconsistency in my recent commits.
Geoff Thorpe [Tue, 29 Oct 2002 17:47:43 +0000 (17:47 +0000)]
Correct another inconsistency in my recent commits.

22 years agoBodo spotted this keyslip in my patch to 0.9.7-stable.
Geoff Thorpe [Tue, 29 Oct 2002 17:00:33 +0000 (17:00 +0000)]
Bodo spotted this keyslip in my patch to 0.9.7-stable.

22 years agoRevert, that was an incorrect change.
Richard Levitte [Tue, 29 Oct 2002 04:34:13 +0000 (04:34 +0000)]
Revert, that was an incorrect change.
PR: 156

22 years agoA small detail: since 0.9.7, DH_new_method() and DSA_new_method()
Richard Levitte [Tue, 29 Oct 2002 04:31:13 +0000 (04:31 +0000)]
A small detail: since 0.9.7, DH_new_method() and DSA_new_method()
don't take an ENGINE* as parameter any more.
PR: 156

22 years agoCorrect and enhance the behaviour of "internal" session caching as it
Geoff Thorpe [Tue, 29 Oct 2002 00:31:14 +0000 (00:31 +0000)]
Correct and enhance the behaviour of "internal" session caching as it
relates to SSL_CTX flags and the use of "external" session caching. The
existing flag, "SSL_SESS_CACHE_NO_INTERNAL_LOOKUP" remains but is
supplemented with a complimentary flag, "SSL_SESS_CACHE_NO_INTERNAL_STORE".
The bitwise OR of the two flags is also defined as
"SSL_SESS_CACHE_NO_INTERNAL" and is the flag that should be used by most
applications wanting to implement session caching *entirely* by its own
provided callbacks. As the documented behaviour contradicted actual
behaviour up until recently, and since that point behaviour has itself been
inconsistent anyway, this change should not introduce any compatibility
problems. I've adjusted the relevant documentation to elaborate about how
this works.

Kudos to "Nadav Har'El" <nyh@math.technion.ac.il> for diagnosing these
anomalies and testing this patch for correctness.

PR: 311

22 years agoincrease permissible message length so that we can handle
Bodo Möller [Mon, 28 Oct 2002 15:47:44 +0000 (15:47 +0000)]
increase permissible message length so that we can handle
CertificateVerify for 4096 bit RSA signatures

22 years agoMake sure toupper() is declared
Richard Levitte [Fri, 25 Oct 2002 09:51:50 +0000 (09:51 +0000)]
Make sure toupper() is declared

22 years agoThere's a name clash between OpenSSL and RSAref. Since this engine handles
Richard Levitte [Thu, 24 Oct 2002 17:02:42 +0000 (17:02 +0000)]
There's a name clash between OpenSSL and RSAref.  Since this engine handles
RSAref data, pretend we don't care for OpenSSL's MD2 and MD5 structures or
implementation.
Remove all kinds of silly warning

22 years agoOn certain platforms, we redefine certain symbols using macros in
Richard Levitte [Thu, 24 Oct 2002 09:41:45 +0000 (09:41 +0000)]
On certain platforms, we redefine certain symbols using macros in
apps.h.  For those, it's better to include apps.h after the system
headers where those symbols may be defined, since there's otherwise a
chance that the C compiler will barf when it sees something that looks
like this after expansion:

int VMS_strcasecmp((str1),(str2))(const char *, const char *);

22 years agoAn engine changed name.
Richard Levitte [Wed, 23 Oct 2002 22:09:08 +0000 (22:09 +0000)]
An engine changed name.

22 years agoSignal an error if the entered output password didn't match itself.
Richard Levitte [Wed, 23 Oct 2002 15:07:18 +0000 (15:07 +0000)]
Signal an error if the entered output password didn't match itself.
PR: 314

22 years agofix warnings, and harmonize indentation
Bodo Möller [Wed, 23 Oct 2002 13:14:10 +0000 (13:14 +0000)]
fix warnings, and harmonize indentation

22 years agoI don't like c-tab-always-indent ...
Bodo Möller [Wed, 23 Oct 2002 13:09:11 +0000 (13:09 +0000)]
I don't like c-tab-always-indent ...

22 years agoTypo.
Dr. Stephen Henson [Mon, 21 Oct 2002 00:10:55 +0000 (00:10 +0000)]
Typo.

22 years agoUpdate docs.
Dr. Stephen Henson [Sun, 20 Oct 2002 13:25:34 +0000 (13:25 +0000)]
Update docs.

22 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Sun, 20 Oct 2002 13:20:58 +0000 (13:20 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_7-stable'.

22 years agoNew docs.
Dr. Stephen Henson [Sun, 20 Oct 2002 13:20:57 +0000 (13:20 +0000)]
New docs.

22 years agoMake pod2man happier.
Geoff Thorpe [Fri, 18 Oct 2002 22:05:19 +0000 (22:05 +0000)]
Make pod2man happier.

22 years agoMake pod2man happier.
Geoff Thorpe [Fri, 18 Oct 2002 22:04:26 +0000 (22:04 +0000)]
Make pod2man happier.

22 years agoIf dynamically-loadable ENGINEs are linked against a shared-library version
Geoff Thorpe [Fri, 18 Oct 2002 20:45:38 +0000 (20:45 +0000)]
If dynamically-loadable ENGINEs are linked against a shared-library version
of libcrypto, then it is possible that when they are loaded they will share
the same static data as the loading application/library. This means it will
be too late to set memory/ERR/ex_data/[etc] callbacks, but entirely
unnecessary to try. This change puts a static variable in the core ENGINE
code (contained in libcrypto) and a function returning a pointer to it. If
the loaded ENGINE's return value from this function matches the loading
application/library's return value - they share static data. If they don't
match, the loaded ENGINE has its own copy of libcrypto's static data and so
the callbacks need to be set.

Also, although 0.9.7 hasn't been released yet, it's clear this will
introduce a binary incompatibility between dynamic ENGINEs built for 0.9.7
and 0.9.8 (though others probably exist already from EC_*** hooks and
what-not) - so the version control values are correspondingly bumped.

22 years agoAnother ENGINE implementation dependant on string.h.
Geoff Thorpe [Fri, 18 Oct 2002 19:23:27 +0000 (19:23 +0000)]
Another ENGINE implementation dependant on string.h.

22 years agoWe need to propogate SHARED_LIBS to sub-directories for "install" targets
Geoff Thorpe [Fri, 18 Oct 2002 19:05:32 +0000 (19:05 +0000)]
We need to propogate SHARED_LIBS to sub-directories for "install" targets
now.

22 years agoThe loop variable is 'l', not 'i'.
Geoff Thorpe [Fri, 18 Oct 2002 19:02:18 +0000 (19:02 +0000)]
The loop variable is 'l', not 'i'.

22 years agoCorrected exchanged parameters in example for EVP_EncryptInit_ex()
Lutz Jänicke [Fri, 18 Oct 2002 09:47:14 +0000 (09:47 +0000)]
Corrected exchanged parameters in example for EVP_EncryptInit_ex()
Submitted by: "Marcus Carey" <marcus.carey@verizon.net>
Reviewed by:
PR: 265

22 years agoCorrected exchanged parameters in example for EVP_EncryptInit_ex()
Lutz Jänicke [Fri, 18 Oct 2002 09:46:01 +0000 (09:46 +0000)]
Corrected exchanged parameters in example for EVP_EncryptInit_ex()
Submitted by: "Marcus Carey" <marcus.carey@verizon.net>
Reviewed by:
PR: 265