openssl.git
20 years agoVarious bugfixes: Uses locking for some more of the stuff that is not
Bodo Möller [Fri, 14 May 1999 12:40:39 +0000 (12:40 +0000)]
Various bugfixes: Uses locking for some more of the stuff that is not
thread-safe (where thread-safe counterparts are not available on all
platforms), and don't memcpy to NULL-pointers
Submitted by: Anonymous
Reviewed by: Bodo Moeller

Also, clean up htons vs. ntohs confusions.

20 years agoFix cryptlib.c.
Bodo Möller [Fri, 14 May 1999 11:57:17 +0000 (11:57 +0000)]
Fix cryptlib.c.
Submitted by:
Reviewed by:
PR:

20 years agoIntroduce and use function typedef pem_password_cb so that we don't call
Bodo Möller [Fri, 14 May 1999 11:52:49 +0000 (11:52 +0000)]
Introduce and use function typedef pem_password_cb so that we don't call
those functions without having a parameter list declaration.
(There are various similar cases left ...)

20 years ago*** empty log message ***
Bodo Möller [Fri, 14 May 1999 11:50:46 +0000 (11:50 +0000)]
*** empty log message ***

20 years agoDelete a wish.
Bodo Möller [Fri, 14 May 1999 11:48:31 +0000 (11:48 +0000)]
Delete a wish.

20 years agoChange cast in function calls to that which is, I think, the right
Bodo Möller [Fri, 14 May 1999 11:47:29 +0000 (11:47 +0000)]
Change cast in function calls to that which is, I think, the right
one for those functions (is it?).

20 years agoAdd release dates to the "CHANGES" file, because that's an obvious
Bodo Möller [Thu, 13 May 1999 21:17:03 +0000 (21:17 +0000)]
Add release dates to the "CHANGES" file, because that's an obvious
place to look for them.

20 years agoMissed one line.
Ulf Möller [Thu, 13 May 1999 17:55:08 +0000 (17:55 +0000)]
Missed one line.

20 years agoDon't use reserved name "_encrypt" for parameters;
Bodo Möller [Thu, 13 May 1999 17:51:35 +0000 (17:51 +0000)]
Don't use reserved name "_encrypt" for parameters;
instead I've picked "enc", because that's what's in the prototypes.
("_encrypt" is reserved only as an external name, but still
using it in an application doesn't look like good style to me --
and it certainly isn't if the point is just avoiding shadowing,
which is apparently why the previous name "encrypt" was changed.)

20 years agoUpdate dependencies.
Ben Laurie [Thu, 13 May 1999 17:33:27 +0000 (17:33 +0000)]
Update dependencies.

20 years agoCut&paste error.
Ulf Möller [Thu, 13 May 1999 17:25:05 +0000 (17:25 +0000)]
Cut&paste error.

20 years agoOops. Close the file.
Ulf Möller [Thu, 13 May 1999 17:24:35 +0000 (17:24 +0000)]
Oops. Close the file.

20 years agoAvoid shadowing, and a bit of constification while I'm at it.
Ben Laurie [Thu, 13 May 1999 17:10:42 +0000 (17:10 +0000)]
Avoid shadowing, and a bit of constification while I'm at it.

20 years agoSome tiny clean-ups related to the cert_st / sess_cert_st change.
Bodo Möller [Thu, 13 May 1999 15:27:45 +0000 (15:27 +0000)]
Some tiny clean-ups related to the cert_st / sess_cert_st change.

20 years agoNew structure type SESS_CERT used instead of CERT inside SSL_SESSION.
Bodo Möller [Thu, 13 May 1999 15:09:38 +0000 (15:09 +0000)]
New structure type SESS_CERT used instead of CERT inside SSL_SESSION.
While modifying the sources, I found some inconsistencies on the use of
s->cert vs. s->session->sess_cert; I don't know if those could
really have caused problems, but possibly this is a proper bug-fix
and not just a clean-up.

20 years agoFor solaris-usparc configurations, avoid problems with GNU as, which
Bodo Möller [Thu, 13 May 1999 15:02:49 +0000 (15:02 +0000)]
For solaris-usparc configurations, avoid problems with GNU as, which
cannot handle all opcodes we need.

20 years agoRemove redundant ifdef.
Ulf Möller [Thu, 13 May 1999 13:29:41 +0000 (13:29 +0000)]
Remove redundant ifdef.

20 years agoVMS support bug fixes.
Ulf Möller [Thu, 13 May 1999 13:21:17 +0000 (13:21 +0000)]
VMS support bug fixes.

20 years agoVMS support.
Ulf Möller [Thu, 13 May 1999 13:20:21 +0000 (13:20 +0000)]
VMS support.

Submitted by: Richard Levitte <richard@levitte.org>

20 years agoReorganize and speed up MD5.
Ulf Möller [Thu, 13 May 1999 13:16:42 +0000 (13:16 +0000)]
Reorganize and speed up MD5.

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

20 years agoVMS support.
Ulf Möller [Thu, 13 May 1999 11:37:32 +0000 (11:37 +0000)]
VMS support.

Submitted by: Richard Levitte <richard@levitte.org>

20 years agoSpacing in comment corrected.
Bodo Möller [Thu, 13 May 1999 10:36:29 +0000 (10:36 +0000)]
Spacing in comment corrected.

20 years agoFirst tiny changes in preparation of changing of "sess_cert" handling.
Bodo Möller [Thu, 13 May 1999 10:32:04 +0000 (10:32 +0000)]
First tiny changes in preparation of changing of "sess_cert" handling.
Also I've subsituted real tabs for 8-spaces sequences in some lines so that
things don't look that weird with a tab-width of 4.

20 years agomk1mf.pl and mkdef.pl read OPTIONS from toplevel Makefile.
Ulf Möller [Thu, 13 May 1999 10:28:14 +0000 (10:28 +0000)]
mk1mf.pl and mkdef.pl read OPTIONS from toplevel Makefile.
Configure no longer changes files in place.

20 years agoSeveral of the EVP_CIPHER structures had the get and set asn1 parameter
Dr. Stephen Henson [Wed, 12 May 1999 23:11:08 +0000 (23:11 +0000)]
Several of the EVP_CIPHER structures had the get and set asn1 parameter
functions transposed.

20 years agoAdd new -out option to asn1parse to allow the parsed data to be output.
Dr. Stephen Henson [Wed, 12 May 1999 01:56:27 +0000 (01:56 +0000)]
Add new -out option to asn1parse to allow the parsed data to be output.
Fixed -strparse option: it didn't work if used more than once (this was due
to the d2i_ASN1_TYPE call parsing a freed buffer). On Win32 the file wincrypt.h
#define's X509_NAME and PKCS7_SIGNER_INFO causing clashes so these are #undef'ed

20 years agoCaldera OpenLinux passes test now.
Ulf Möller [Wed, 12 May 1999 01:52:58 +0000 (01:52 +0000)]
Caldera OpenLinux passes test now.

20 years agoMissing argument in prototype.
Ulf Möller [Wed, 12 May 1999 00:45:42 +0000 (00:45 +0000)]
Missing argument in prototype.

Submitted by: Andreas Ley <ley@rz.uni-karlsruhe.de>

20 years agoUse ifndef PEDANTIC for all inline assembler.
Ulf Möller [Tue, 11 May 1999 22:14:29 +0000 (22:14 +0000)]
Use ifndef PEDANTIC for all inline assembler.

20 years agoComment.
Bodo Möller [Tue, 11 May 1999 22:05:39 +0000 (22:05 +0000)]
Comment.
Submitted by:
Reviewed by:
PR:

20 years agoargc counting bug fixed.
Bodo Möller [Tue, 11 May 1999 15:44:58 +0000 (15:44 +0000)]
argc counting bug fixed.
Submitted by: Tomas Hulek
Reviewed by:
PR:

20 years agoClarify comment.
Bodo Möller [Tue, 11 May 1999 14:26:14 +0000 (14:26 +0000)]
Clarify comment.
Submitted by:
Reviewed by:
PR:

20 years agoMove openssl.cnf out of lib/.
Ulf Möller [Tue, 11 May 1999 10:42:28 +0000 (10:42 +0000)]
Move openssl.cnf out of lib/.

Submitted by: Richard Levitte <levitte@stacken.kth.se>

20 years agoAnd I thought I could spell ... but in caps really everything looks the same.
Bodo Möller [Tue, 11 May 1999 07:54:38 +0000 (07:54 +0000)]
And I thought I could spell ... but in caps really everything looks the same.
Submitted by:
Reviewed by:
PR:

20 years agoMake SSL library a little more fool-proof by not requiring any longer
Bodo Möller [Tue, 11 May 1999 07:43:16 +0000 (07:43 +0000)]
Make SSL library a little more fool-proof by not requiring any longer
that SSL_set_{accept,connect}_state be called before
SSL_{accept,connect} may be used.
Submitted by:
Reviewed by:
PR:

20 years agoVarious PKCS#7 related fixes,tidies and comments.
Dr. Stephen Henson [Tue, 11 May 1999 00:52:46 +0000 (00:52 +0000)]
Various PKCS#7 related fixes,tidies and comments.

20 years agoMove openssl.cnf out of lib/.
Ulf Möller [Mon, 10 May 1999 23:59:28 +0000 (23:59 +0000)]
Move openssl.cnf out of lib/.

20 years agoUpdate.
Ulf Möller [Mon, 10 May 1999 23:56:11 +0000 (23:56 +0000)]
Update.

20 years agoFix for +xxx options.
Ulf Möller [Mon, 10 May 1999 20:38:47 +0000 (20:38 +0000)]
Fix for +xxx options.

Submitted by: Anonymous

20 years agoOk, give us more time....
Ralf S. Engelschall [Mon, 10 May 1999 19:28:00 +0000 (19:28 +0000)]
Ok, give us more time....

20 years agoChanged a comment.
Bodo Möller [Mon, 10 May 1999 15:10:11 +0000 (15:10 +0000)]
Changed a comment.
Submitted by:
Reviewed by:
PR:

20 years agoThe various character predicates (isspace and the like) may not be
Bodo Möller [Mon, 10 May 1999 11:18:26 +0000 (11:18 +0000)]
The various character predicates (isspace and the like) may not be
used with negative char values, so I've added casts to unsigned char.
Maybe what really should be done is change all those arrays and
pointers to type unsigned char [] or unsigned char *, respectively;
but using plain char with those predicates is just wrong, so something
had to be done.
Submitted by:
Reviewed by:
PR:

20 years agoMoved some variable declarations inside blocks where they are needed
Bodo Möller [Mon, 10 May 1999 11:10:38 +0000 (11:10 +0000)]
Moved some variable declarations inside blocks where they are needed
so that warnings about unused variables (for certain
-D... constellations) are avoided; this corresponds to the earlier
change for SHA1.
Submitted by:
Reviewed by:
PR:

20 years agoNew entry debug-solaris-usparc-gcc, as debug-solaris-sparc-gcc no longer
Bodo Möller [Mon, 10 May 1999 11:07:50 +0000 (11:07 +0000)]
New entry debug-solaris-usparc-gcc, as debug-solaris-sparc-gcc no longer
applies to usparc systems.
Submitted by:
Reviewed by:
PR:

20 years agoFix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -Wshadow
Ralf S. Engelschall [Mon, 10 May 1999 08:33:56 +0000 (08:33 +0000)]
Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline'' with EGCS 1.1.2+

20 years agoVarious PKCS#7 fixes to properly (maybe!) handle PKCS#7 enveloped data.
Dr. Stephen Henson [Mon, 10 May 1999 00:47:42 +0000 (00:47 +0000)]
Various PKCS#7 fixes to properly (maybe!) handle PKCS#7 enveloped data.
Containts elements of code by Sebastian Akerman <sak@parallelconsulting.com>
and made a bit less "naughty" by Steve.

20 years agoNo actual change, but the cert_st member of struct ssl_session_st is now
Bodo Möller [Sun, 9 May 1999 21:22:45 +0000 (21:22 +0000)]
No actual change, but the cert_st member of struct ssl_session_st is now
called sess_cert instead of just cert.  This is in preparation of further
changes: Probably often when s->session->sess_cert is used, we should
use s->cert instead; s->session->sess_cert should be a new structure
containing only the stuff that is for just one connection (e.g.
the peer's certificate, which the SSL client implementations currently
store in s->session->[sess_]cert, which is a very confusing thing to do).
Submitted by:
Reviewed by:
PR:

20 years agoCreate a duplicate of the SSL_CTX's CERT in SSL_new instead of copying
Bodo Möller [Sun, 9 May 1999 20:12:44 +0000 (20:12 +0000)]
Create a duplicate of the SSL_CTX's CERT in SSL_new instead of copying
pointers.  The cert_st handling is changed by this in various ways.
Submitted by:
Reviewed by:
PR:

20 years agoOne comment was in the wrong line ... some others are new.
Bodo Möller [Sun, 9 May 1999 16:41:00 +0000 (16:41 +0000)]
One comment was in the wrong line ... some others are new.
Submitted by:
Reviewed by:
PR:

20 years agoKill evil casts, fix PKCS#7 and add new X509V3 Function.
Dr. Stephen Henson [Sun, 9 May 1999 16:39:11 +0000 (16:39 +0000)]
Kill evil casts, fix PKCS#7 and add new X509V3 Function.

20 years agoMakefile.save was missing here.
Bodo Möller [Sun, 9 May 1999 15:47:35 +0000 (15:47 +0000)]
Makefile.save was missing here.
Submitted by:
Reviewed by:
PR:

20 years agoSome tiny changes to the source code to make future diffs smaller
Bodo Möller [Sun, 9 May 1999 15:45:38 +0000 (15:45 +0000)]
Some tiny changes to the source code to make future diffs smaller
when restructuring the cert_st handling (removed unnused parts,
and the like).
Submitted by:
Reviewed by:
PR:

20 years agoMove variable definitions into the blocks where they are really needed,
Bodo Möller [Sun, 9 May 1999 10:16:46 +0000 (10:16 +0000)]
Move variable definitions into the blocks where they are really needed,
so that warnings about unused variables don't appear if those blocks
are removed by the C preprocessor.

Submitted by:
Reviewed by:
PR:

20 years agoUse "const char *" instead of "char *" for filenames passed to functions.
Bodo Möller [Sun, 9 May 1999 10:12:10 +0000 (10:12 +0000)]
Use "const char *" instead of "char *" for filenames passed to functions.

Submitted by:
Reviewed by:
PR:

20 years agoVarious Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for a
Dr. Stephen Henson [Sat, 8 May 1999 22:46:51 +0000 (22:46 +0000)]
Various Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for a
Win32 version of rename() ). There isn't a precise rename() equivalent under
Win95: the standard rename() complains if the destination already exists so
replaced with a combination of unlink() and MoveFile().

20 years agoAllows PKCS#12 password to be placed on command line and add allow config
Dr. Stephen Henson [Sat, 8 May 1999 12:59:50 +0000 (12:59 +0000)]
Allows PKCS#12 password to be placed on command line and add allow config
file name for 'ca' to come from the environment.

20 years agoGeneralizedTime setting fixes.
Dr. Stephen Henson [Sat, 8 May 1999 11:08:25 +0000 (11:08 +0000)]
GeneralizedTime setting fixes.

20 years agono-xxx option to exclude ciphers.
Ulf Möller [Sat, 8 May 1999 10:42:06 +0000 (10:42 +0000)]
no-xxx option to exclude ciphers.

20 years agoThe libssl32.dll definition file is called ssleay32.def. (why?)
Ulf Möller [Sat, 8 May 1999 10:40:38 +0000 (10:40 +0000)]
The libssl32.dll definition file is called ssleay32.def. (why?)

20 years agoMingw32.
Ulf Möller [Sat, 8 May 1999 10:40:13 +0000 (10:40 +0000)]
Mingw32.

20 years agopass $PERL on make files.
Ulf Möller [Sat, 8 May 1999 10:40:01 +0000 (10:40 +0000)]
pass $PERL on make files.

20 years agoSuperseded by sparcv8.S and sparcv8plus.s.
Ulf Möller [Sat, 8 May 1999 10:39:15 +0000 (10:39 +0000)]
Superseded by sparcv8.S and sparcv8plus.s.

20 years agoThis was an unused derivate of an old version of s_client.c that had
Bodo Möller [Sat, 8 May 1999 10:12:48 +0000 (10:12 +0000)]
This was an unused derivate of an old version of s_client.c that had
been changed so that it almost could be used under Windows.
No one asked to keep it (and no one volunteered to bring it into useable
state), so away with it.
Submitted by:
Reviewed by:
PR:

20 years agoGenerate DLLs with Mingw32.
Ulf Möller [Fri, 7 May 1999 22:55:27 +0000 (22:55 +0000)]
Generate DLLs with Mingw32.

20 years agoGet the Mingw32 makefiles right.
Ulf Möller [Fri, 7 May 1999 17:51:29 +0000 (17:51 +0000)]
Get the Mingw32 makefiles right.

20 years agoMake -pedantic work again.
Ben Laurie [Fri, 7 May 1999 15:42:23 +0000 (15:42 +0000)]
Make -pedantic work again.

20 years agoBodo didn't do that.
Ben Laurie [Fri, 7 May 1999 09:18:25 +0000 (09:18 +0000)]
Bodo didn't do that.

20 years agoRestored path names that were changed by a previous "Configure" run.
Bodo Möller [Thu, 6 May 1999 23:46:26 +0000 (23:46 +0000)]
Restored path names that were changed by a previous "Configure" run.
(Rather than changing the files in places, we really should use .in files.)
Submitted by:
Reviewed by:
PR:

20 years agoSome comments.
Bodo Möller [Thu, 6 May 1999 23:36:54 +0000 (23:36 +0000)]
Some comments.

Submitted by:
Reviewed by:
PR:

20 years agoconfig is Unix specific.
Ulf Möller [Thu, 6 May 1999 11:50:03 +0000 (11:50 +0000)]
config is Unix specific.

20 years agoAdd missing semicolon.
Ulf Möller [Thu, 6 May 1999 11:45:47 +0000 (11:45 +0000)]
Add missing semicolon.

Submitted by: Janez Jere <jj@void.si>

20 years agoTypo.
Ulf Möller [Thu, 6 May 1999 01:29:57 +0000 (01:29 +0000)]
Typo.

20 years agoBorland C++ builder.
Ulf Möller [Thu, 6 May 1999 00:54:01 +0000 (00:54 +0000)]
Borland C++ builder.

Submitted by: Janez Jere <jj@void.si>

20 years agoSupport additional Win32 compilers.
Ulf Möller [Thu, 6 May 1999 00:46:34 +0000 (00:46 +0000)]
Support additional Win32 compilers.

Borland C submitted by: Janez Jere <jj@void.si>

20 years agoInfo on how to submit patches.
Ulf Möller [Thu, 6 May 1999 00:40:46 +0000 (00:40 +0000)]
Info on how to submit patches.

20 years agoRemove unreachable return statements.
Ulf Möller [Wed, 5 May 1999 22:06:44 +0000 (22:06 +0000)]
Remove unreachable return statements.

20 years agov8plus must be specified.
Ulf Möller [Wed, 5 May 1999 22:03:50 +0000 (22:03 +0000)]
v8plus must be specified.

20 years agoNote about required SC5.0 patches.
Ulf Möller [Wed, 5 May 1999 17:58:11 +0000 (17:58 +0000)]
Note about required SC5.0 patches.

20 years agoUse ANSI stdarg.
Ulf Möller [Wed, 5 May 1999 12:35:27 +0000 (12:35 +0000)]
Use ANSI stdarg.

20 years agoC++ bug fix.
Ulf Möller [Wed, 5 May 1999 11:54:39 +0000 (11:54 +0000)]
C++ bug fix.

Submitted by: Franco Papacella <franco@arpage.ch>

20 years agoFix problem with /usr/ccs/lib/cpp.
Ulf Möller [Wed, 5 May 1999 11:27:56 +0000 (11:27 +0000)]
Fix problem with /usr/ccs/lib/cpp.

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

20 years agoSHA-1 cleanups and performance enhancements.
Ulf Möller [Wed, 5 May 1999 00:23:53 +0000 (00:23 +0000)]
SHA-1 cleanups and performance enhancements.

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

20 years agoRecognise Ultra Sparc and compiler version number.
Ulf Möller [Tue, 4 May 1999 23:18:24 +0000 (23:18 +0000)]
Recognise Ultra Sparc and compiler version number.

20 years agosolaris64 entry.
Ulf Möller [Tue, 4 May 1999 22:28:11 +0000 (22:28 +0000)]
solaris64 entry.

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

20 years agoAndy Polyakov points out there are default rules in make in gmake for this.
Ulf Möller [Tue, 4 May 1999 22:06:53 +0000 (22:06 +0000)]
Andy Polyakov points out there are default rules in make in gmake for this.

20 years agoSparc v8plus assembler.
Ulf Möller [Tue, 4 May 1999 20:35:18 +0000 (20:35 +0000)]
Sparc v8plus assembler.

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

20 years agoc_rehash doesn't work at that point of the installation, so don't even
Ulf Möller [Tue, 4 May 1999 15:41:01 +0000 (15:41 +0000)]
c_rehash doesn't work at that point of the installation, so don't even
try.

20 years agoUpdate HPUX config, work around HPUX library incompatibility.
Ulf Möller [Tue, 4 May 1999 11:52:26 +0000 (11:52 +0000)]
Update HPUX config, work around HPUX library incompatibility.

Submitted by: Anonymous

20 years agoTypo. (You ought to trademark "Configurion". :)
Ulf Möller [Tue, 4 May 1999 11:17:11 +0000 (11:17 +0000)]
Typo. (You ought to trademark "Configurion". :)

20 years agoAdd other people who've done stackification.
Ben Laurie [Tue, 4 May 1999 10:34:08 +0000 (10:34 +0000)]
Add other people who've done stackification.

20 years agoBundle stack'ification entries on Bens request
Ralf S. Engelschall [Tue, 4 May 1999 10:27:10 +0000 (10:27 +0000)]
Bundle stack'ification entries on Bens request

20 years agoAdd missing sk_<type>_unshift() function to safestack.h
Ralf S. Engelschall [Tue, 4 May 1999 10:15:02 +0000 (10:15 +0000)]
Add missing sk_<type>_unshift() function to safestack.h

20 years agoConvert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
Ralf S. Engelschall [Tue, 4 May 1999 08:56:51 +0000 (08:56 +0000)]
Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).

PS: Feel free to move the IMPLEMENT_STACK_OF(X509_INFO) from
    crypto/asn1/x_info.c to any other place where you think it fits better.
    X509_INFO is a structure slightly spreaded over ASN.1, X509 and PEM code,
    so I found no definitive location for IMPLEMENT_STACK_OF(X509_INFO).  In
    crypto/asn1/x_info.c it's at least now bundled with X509_INFO_new() and
    friends.

20 years agoconsistency cosmetics
Ralf S. Engelschall [Tue, 4 May 1999 06:50:45 +0000 (06:50 +0000)]
consistency cosmetics

20 years agoSome more stack stuff.
Ben Laurie [Mon, 3 May 1999 19:55:00 +0000 (19:55 +0000)]
Some more stack stuff.

20 years agoYet another stack.
Ben Laurie [Sun, 2 May 1999 21:36:58 +0000 (21:36 +0000)]
Yet another stack.

20 years agoAnnotate a bug.
Bodo Möller [Sun, 2 May 1999 04:03:22 +0000 (04:03 +0000)]
Annotate a bug.

Submitted by:
Reviewed by:
PR:

20 years agoUpdate dependencies.
Ben Laurie [Sat, 1 May 1999 22:36:10 +0000 (22:36 +0000)]
Update dependencies.

20 years agoEntry for resolved error macro confusion.
Bodo Möller [Sat, 1 May 1999 20:16:35 +0000 (20:16 +0000)]
Entry for resolved error macro confusion.

Submitted by:
Reviewed by:
PR:

Submitted by:
Reviewed by:
PR:

20 years agoAnother stack.
Ben Laurie [Sat, 1 May 1999 18:29:59 +0000 (18:29 +0000)]
Another stack.