openssl.git
24 years agoExtensively changed the DEF file generator mkdef.pl to use a modified version
Dr. Stephen Henson [Mon, 26 Apr 1999 00:23:10 +0000 (00:23 +0000)]
Extensively changed the DEF file generator mkdef.pl to use a modified version
of Ulf's prototype parser, also general tidying and fixing of several problems
with the original. Its still a bit of a hack but should work.

This is the last bit of the old code that uses the K&R prototypes: after some
testing they can finally go away...

24 years agoFixes so it will compile again under Win32.
Dr. Stephen Henson [Sun, 25 Apr 1999 20:57:09 +0000 (20:57 +0000)]
Fixes so it will compile again under Win32.

24 years agoVarious header consistency fixes.
Dr. Stephen Henson [Sun, 25 Apr 1999 16:38:52 +0000 (16:38 +0000)]
Various header consistency fixes.

24 years agoFix mkerr.pl to find functions returning function pointers (thanks Ulf!)
Dr. Stephen Henson [Sun, 25 Apr 1999 11:17:44 +0000 (11:17 +0000)]
Fix mkerr.pl to find functions returning function pointers (thanks Ulf!)
also add a few missing prototypes.

24 years agoSubmitted by:
Ulf Möller [Sun, 25 Apr 1999 11:01:07 +0000 (11:01 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoFixed a typo.
Bodo Möller [Sun, 25 Apr 1999 10:28:26 +0000 (10:28 +0000)]
Fixed a typo.

Submitted by:
Reviewed by:
PR:

24 years agoComment changed.
Bodo Möller [Sun, 25 Apr 1999 09:34:36 +0000 (09:34 +0000)]
Comment changed.

Submitted by:
Reviewed by:
PR:

24 years agoexit on error.
Ulf Möller [Sun, 25 Apr 1999 09:22:05 +0000 (09:22 +0000)]
exit on error.

24 years agoRemoved traces of cryptall.h, and did a "make depend".
Bodo Möller [Sun, 25 Apr 1999 09:21:05 +0000 (09:21 +0000)]
Removed traces of cryptall.h, and did a "make depend".

Submitted by:
Reviewed by:
PR:

24 years ago*** empty log message ***
Ulf Möller [Sat, 24 Apr 1999 23:39:52 +0000 (23:39 +0000)]
*** empty log message ***

24 years agoNew Configure option --openssldir to replace ssldir.pl.
Ulf Möller [Sat, 24 Apr 1999 23:01:36 +0000 (23:01 +0000)]
New Configure option --openssldir to replace ssldir.pl.

24 years agoNew Configure option --openssldir to replace util/ssldir.pl.
Ulf Möller [Sat, 24 Apr 1999 22:59:36 +0000 (22:59 +0000)]
New Configure option --openssldir to replace util/ssldir.pl.

24 years agocryptall.h is not needed for anything and cannot even be #include-d
Bodo Möller [Sat, 24 Apr 1999 18:52:03 +0000 (18:52 +0000)]
cryptall.h is not needed for anything and cannot even be #include-d
without producing error messages.
Submitted by:
Reviewed by:
PR:

24 years agoFix header files so that any one can be included first.
Bodo Möller [Sat, 24 Apr 1999 18:50:40 +0000 (18:50 +0000)]
Fix header files so that any one can be included first.

Submitted by:
Reviewed by:
PR:

24 years agoReplaced by mkerr.pl
Ulf Möller [Sat, 24 Apr 1999 17:49:02 +0000 (17:49 +0000)]
Replaced by mkerr.pl

24 years agoSome instructions for how to handle the <foo.h> => <openssl/foo.h>
Bodo Möller [Sat, 24 Apr 1999 17:41:45 +0000 (17:41 +0000)]
Some instructions for how to handle the <foo.h>  =>  <openssl/foo.h>
transition.

Submitted by:
Reviewed by:
PR:

24 years agoChange the command line options of mkerr.pl so -static is now default and
Dr. Stephen Henson [Sat, 24 Apr 1999 17:28:43 +0000 (17:28 +0000)]
Change the command line options of mkerr.pl so -static is now default and
a -write option is needed to actually change anything. Second attempt at
getting rid of ERR, ERRC definitions: it might even work this time :-)

24 years ago"perl util/mkerr.pl -static -recurse -rebuild" because the previous
Bodo Möller [Sat, 24 Apr 1999 16:15:43 +0000 (16:15 +0000)]
"perl util/mkerr.pl -static -recurse -rebuild" because the previous
codebase apparently was inconsistent.  And crypto/Makefile.ssl
*does* need an ERRC ..
Submitted by:
Reviewed by:
PR:

24 years agoRemoved superfluous reference to ERRC.
Bodo Möller [Sat, 24 Apr 1999 15:58:52 +0000 (15:58 +0000)]
Removed superfluous reference to ERRC.

Submitted by:
Reviewed by:
PR:

24 years agoRestore ERRC definitions that are needed to compile the library.
Bodo Möller [Sat, 24 Apr 1999 15:57:02 +0000 (15:57 +0000)]
Restore ERRC definitions that are needed to compile the library.

Submitted by:
Reviewed by:
PR:

Submitted by:
Reviewed by:
PR:

24 years agoAvoid "incomprehensible" errors when required definitions are missing.
Bodo Möller [Sat, 24 Apr 1999 15:11:39 +0000 (15:11 +0000)]
Avoid "incomprehensible" errors when required definitions are missing.

Submitted by:
Reviewed by:
PR:

24 years agoDelete the unnecessary ERR and ERRC lines in makefiles, add some functionality
Dr. Stephen Henson [Sat, 24 Apr 1999 13:28:57 +0000 (13:28 +0000)]
Delete the unnecessary ERR and ERRC lines in makefiles, add some functionality
to error code script: it can now find untranslatable function codes (usually
because the function is static and not defined in a header: occasionally because
of a typo...) and unreferenced function and reason codes. To see this try:
perl util/mkerr.pl -recurse -debug
Also fixed some typos in crypto/pkcs12 that this found :-)
Also tidy up some error calls that had to be all on one line: the old error
script couldn't find codes unless the call was all on one line.

24 years agoC indentation style definition for Emacs.
Bodo Möller [Sat, 24 Apr 1999 11:49:33 +0000 (11:49 +0000)]
C indentation style definition for Emacs.

Submitted by:
Reviewed by:
PR:

24 years agoANSIfy, fix typo in error message, and remove redundant statement from
Ulf Möller [Sat, 24 Apr 1999 11:23:20 +0000 (11:23 +0000)]
ANSIfy, fix typo in error message, and remove redundant statement from
my code.

24 years agoSubmitted by:
Bodo Möller [Sat, 24 Apr 1999 00:53:29 +0000 (00:53 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoComplete rewrite of the error code generation script. It now runs as a single
Dr. Stephen Henson [Sat, 24 Apr 1999 00:15:18 +0000 (00:15 +0000)]
Complete rewrite of the error code generation script. It now runs as a single
script, translates function codes better and doesn't need the K&R function
prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are
still needed by the DEF generator...). I also ran the script with the -rewrite
option to update all the header and source files.

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 23:28:26 +0000 (23:28 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 23:27:50 +0000 (23:27 +0000)]
Submitted by:
Reviewed by:
PR:

Submitted by:
Reviewed by:
PR:

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 23:13:45 +0000 (23:13 +0000)]
Submitted by:
Reviewed by:
PR:

24 years ago"make depend"
Bodo Möller [Fri, 23 Apr 1999 22:50:50 +0000 (22:50 +0000)]
"make depend"

Submitted by:
Reviewed by:
PR:

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 22:38:22 +0000 (22:38 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoRemove header files from .cvsignore.
Ulf Möller [Fri, 23 Apr 1999 22:32:21 +0000 (22:32 +0000)]
Remove header files from .cvsignore.

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 22:32:04 +0000 (22:32 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 22:20:21 +0000 (22:20 +0000)]
Submitted by:
Reviewed by:
PR:

24 years agoChange #include filenames from <foo.h> to <openssl.h>.
Bodo Möller [Fri, 23 Apr 1999 22:13:45 +0000 (22:13 +0000)]
Change #include filenames from <foo.h> to <openssl.h>.

Submitted by:
Reviewed by:
PR:

24 years ago*.org files are gone for good.
Ulf Möller [Fri, 23 Apr 1999 21:31:54 +0000 (21:31 +0000)]
*.org files are gone for good.

24 years agoAndy Polyakov points out that BF_PTR2 is slower than the generic case.
Ulf Möller [Fri, 23 Apr 1999 21:29:45 +0000 (21:29 +0000)]
Andy Polyakov points out that BF_PTR2 is slower than the generic case.

24 years agoUndo evil cast! <g>
Ulf Möller [Fri, 23 Apr 1999 18:37:21 +0000 (18:37 +0000)]
Undo evil cast! <g>

24 years agoFunction didn't get ANSIfied because of unusual formatting.
Ulf Möller [Fri, 23 Apr 1999 17:49:26 +0000 (17:49 +0000)]
Function didn't get ANSIfied because of unusual formatting.

25 years agoRecognize CPU version on NetBSD and FreeBSD.
Ulf Möller [Fri, 23 Apr 1999 16:32:04 +0000 (16:32 +0000)]
Recognize CPU version on NetBSD and FreeBSD.

NetBSD entry submitted by: Todd Vierling <tv@pobox.com>

25 years agoWork with -pedantic!
Ben Laurie [Fri, 23 Apr 1999 15:01:15 +0000 (15:01 +0000)]
Work with -pedantic!

25 years agoSubmitted by:
Bodo Möller [Fri, 23 Apr 1999 00:05:27 +0000 (00:05 +0000)]
Submitted by:
Reviewed by:
PR:

25 years agoRemove references to .org header file names.
Ulf Möller [Thu, 22 Apr 1999 20:10:06 +0000 (20:10 +0000)]
Remove references to .org header file names.

25 years agoPass the $PROCESSOR variable through.
Ulf Möller [Thu, 22 Apr 1999 19:24:18 +0000 (19:24 +0000)]
Pass the $PROCESSOR variable through.

25 years agoSet the 386 flag automatically when building on i386.
Ulf Möller [Thu, 22 Apr 1999 19:23:56 +0000 (19:23 +0000)]
Set the 386 flag automatically when building on i386.

25 years agoBe more specify about system requirements.
Ulf Möller [Thu, 22 Apr 1999 17:37:07 +0000 (17:37 +0000)]
Be more specify about system requirements.

25 years agoUltrix compatibility.
Ulf Möller [Thu, 22 Apr 1999 16:30:17 +0000 (16:30 +0000)]
Ultrix compatibility.

Submitted by: Bernhard Simon <simon@zid.tuwien.ac.at>

25 years agoCVS confusion?
Bodo Möller [Thu, 22 Apr 1999 15:06:12 +0000 (15:06 +0000)]
CVS confusion?

Submitted by:
Reviewed by:
PR:

25 years agoDon't return 0 from ssl2_read when a packet with empty payload is received.
Bodo Möller [Thu, 22 Apr 1999 14:28:38 +0000 (14:28 +0000)]
Don't return 0 from ssl2_read when a packet with empty payload is received.

Submitted by:
Reviewed by:
PR:

25 years agoReverse unexplained change.
Ben Laurie [Thu, 22 Apr 1999 14:17:12 +0000 (14:17 +0000)]
Reverse unexplained change.

25 years agoSubmitted by:
Bodo Möller [Thu, 22 Apr 1999 13:38:03 +0000 (13:38 +0000)]
Submitted by:
Reviewed by:
PR:

25 years agoFixed some race conditions.
Bodo Möller [Thu, 22 Apr 1999 13:37:46 +0000 (13:37 +0000)]
Fixed some race conditions.

Submitted by:
Reviewed by:
PR:

25 years agoOops! Fixup CHANGES.
Dr. Stephen Henson [Wed, 21 Apr 1999 17:46:23 +0000 (17:46 +0000)]
Oops! Fixup CHANGES.

25 years agoSuppport for CRL distribution points extension. Also document some of
Dr. Stephen Henson [Wed, 21 Apr 1999 17:44:45 +0000 (17:44 +0000)]
Suppport for CRL distribution points extension. Also document some of
this stuff.

25 years agoNew header file opensslconf.h contains the macros set by Configure.
Ulf Möller [Wed, 21 Apr 1999 17:33:52 +0000 (17:33 +0000)]
New header file opensslconf.h contains the macros set by Configure.

The configuration process could use some more clean-ups.

25 years agoMove all autogenerated header file parts to crypto/opensslconf.h.
Ulf Möller [Wed, 21 Apr 1999 17:31:05 +0000 (17:31 +0000)]
Move all autogenerated header file parts to crypto/opensslconf.h.

25 years agoRemove some unnecessary(?) casting.
Ben Laurie [Wed, 21 Apr 1999 13:25:40 +0000 (13:25 +0000)]
Remove some unnecessary(?) casting.

25 years agoFix DES export ciphersuites.
Ben Laurie [Wed, 21 Apr 1999 13:24:58 +0000 (13:24 +0000)]
Fix DES export ciphersuites.

25 years agoFix lots of warnings.
Ulf Möller [Tue, 20 Apr 1999 22:50:42 +0000 (22:50 +0000)]
Fix lots of warnings.

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

25 years agoFix some warnings.
Ulf Möller [Tue, 20 Apr 1999 22:48:55 +0000 (22:48 +0000)]
Fix some warnings.

25 years ago-Wall implies -Wuninitialized.
Ulf Möller [Tue, 20 Apr 1999 22:48:03 +0000 (22:48 +0000)]
-Wall implies -Wuninitialized.

25 years agoProblems with 64-bit long.
Ulf Möller [Tue, 20 Apr 1999 16:23:03 +0000 (16:23 +0000)]
Problems with 64-bit long.

Pointed out by Andy Polyakov <appro@fy.chalmers.se>.

25 years agoRemove useless defines.
Ulf Möller [Tue, 20 Apr 1999 15:54:24 +0000 (15:54 +0000)]
Remove useless defines.

25 years agoProblems with 64-bit long.
Ulf Möller [Tue, 20 Apr 1999 15:54:03 +0000 (15:54 +0000)]
Problems with 64-bit long.
Pointed out by Andy Polyakov <appro@fy.chalmers.se>.

25 years agoArguments are des_cblock.
Ulf Möller [Tue, 20 Apr 1999 15:11:04 +0000 (15:11 +0000)]
Arguments are des_cblock.

25 years agoUpdate dependencies.
Ben Laurie [Tue, 20 Apr 1999 10:38:27 +0000 (10:38 +0000)]
Update dependencies.

25 years agoVarious fixes so Win32 compile may work. Convert GeneralNames to use safe stack.
Dr. Stephen Henson [Tue, 20 Apr 1999 01:10:33 +0000 (01:10 +0000)]
Various fixes so Win32 compile may work. Convert GeneralNames to use safe stack.

25 years agoconst correctness.
Ben Laurie [Mon, 19 Apr 1999 23:43:11 +0000 (23:43 +0000)]
const correctness.

25 years agoMissing #endif.
Ulf Möller [Mon, 19 Apr 1999 22:28:44 +0000 (22:28 +0000)]
Missing #endif.

25 years agoChange functions to ANSI C.
Ulf Möller [Mon, 19 Apr 1999 21:31:43 +0000 (21:31 +0000)]
Change functions to ANSI C.

25 years agoFinish off support for Certificate Policies extension.
Dr. Stephen Henson [Mon, 19 Apr 1999 17:55:11 +0000 (17:55 +0000)]
Finish off support for Certificate Policies extension.

25 years agoClean up prototypes (prepare for removing NOPROTO).
Ulf Möller [Mon, 19 Apr 1999 16:30:06 +0000 (16:30 +0000)]
Clean up prototypes (prepare for removing NOPROTO).

25 years agoDocument additional Configure flags.
Ulf Möller [Mon, 19 Apr 1999 15:19:58 +0000 (15:19 +0000)]
Document additional Configure flags.

25 years agoError in comment.
Ulf Möller [Mon, 19 Apr 1999 14:55:56 +0000 (14:55 +0000)]
Error in comment.

25 years agoFix typos in error codes.
Ulf Möller [Mon, 19 Apr 1999 14:45:02 +0000 (14:45 +0000)]
Fix typos in error codes.

25 years agoDefinition did not match prototype.
Ulf Möller [Mon, 19 Apr 1999 14:33:29 +0000 (14:33 +0000)]
Definition did not match prototype.

Pointed out by: Bernhard Simon <simon@zid.tuwien.ac.at>

25 years agoDefunct assembler files removed; various cleanups.
Ulf Möller [Mon, 19 Apr 1999 13:54:11 +0000 (13:54 +0000)]
Defunct assembler files removed; various cleanups.

New Ultrix and Alpha entries submitted by Bernhard Simon
<simon@zid.tuwien.ac.at>.

25 years agoSPARC v8 assembler BIGNUM code.
Ulf Möller [Mon, 19 Apr 1999 13:41:45 +0000 (13:41 +0000)]
SPARC v8 assembler BIGNUM code.

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

25 years agoNew "Configure" entry (Solaris with debug info)
Bodo Möller [Mon, 19 Apr 1999 13:40:07 +0000 (13:40 +0000)]
New "Configure" entry (Solaris with debug info)

Submitted by:
Reviewed by:
PR:

25 years agoRemoved extra semicolons.
Bodo Möller [Mon, 19 Apr 1999 13:37:35 +0000 (13:37 +0000)]
Removed extra semicolons.

Submitted by:
Reviewed by:
PR:

25 years agoPass $PERL on make errors.
Ulf Möller [Mon, 19 Apr 1999 13:11:32 +0000 (13:11 +0000)]
Pass $PERL on make errors.

25 years agoInitial support for Certificate Policies extension: print out works but setting
Dr. Stephen Henson [Sun, 18 Apr 1999 23:21:03 +0000 (23:21 +0000)]
Initial support for Certificate Policies extension: print out works but setting
isn't fully implemented (yet).

25 years agoFix const declarations.
Ben Laurie [Sun, 18 Apr 1999 11:27:54 +0000 (11:27 +0000)]
Fix const declarations.

25 years agoUpdate dependencies.
Ben Laurie [Sun, 18 Apr 1999 11:10:22 +0000 (11:10 +0000)]
Update dependencies.

25 years agoAllow asn1parse to print out VISIBLESTRING and some code needed for certificate
Dr. Stephen Henson [Sat, 17 Apr 1999 23:55:39 +0000 (23:55 +0000)]
Allow asn1parse to print out VISIBLESTRING and some code needed for certificate
policies extension.

25 years agoMassive constification.
Ben Laurie [Sat, 17 Apr 1999 21:25:43 +0000 (21:25 +0000)]
Massive constification.

25 years agoAdd support for VISIBLESTRING and UTF8String
Dr. Stephen Henson [Sat, 17 Apr 1999 15:53:32 +0000 (15:53 +0000)]
Add support for VISIBLESTRING and UTF8String

25 years agoAnother STACK bites the dust.
Ben Laurie [Sat, 17 Apr 1999 10:28:46 +0000 (10:28 +0000)]
Another STACK bites the dust.

25 years agoAdd initial support for r2i RAW extensions which can access the config database
Dr. Stephen Henson [Fri, 16 Apr 1999 23:57:04 +0000 (23:57 +0000)]
Add initial support for r2i RAW extensions which can access the config database
add various X509V3_CTX helper functions and support for LHASH as the config
database.

25 years agoFix some warnings. Contributed by Anonymous.
Ben Laurie [Fri, 16 Apr 1999 18:13:27 +0000 (18:13 +0000)]
Fix some warnings. Contributed by Anonymous.

25 years agoAnother bug.
Ulf Möller [Fri, 16 Apr 1999 11:32:33 +0000 (11:32 +0000)]
Another bug.

25 years agoWrite random seed file in binary mode.
Ulf Möller [Fri, 16 Apr 1999 11:16:00 +0000 (11:16 +0000)]
Write random seed file in binary mode.

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

25 years agoFix a horrible BN bug in bn_expand2 which caused BN_add_word() et al to fail
Dr. Stephen Henson [Thu, 15 Apr 1999 23:07:00 +0000 (23:07 +0000)]
Fix a horrible BN bug in bn_expand2 which caused BN_add_word() et al to fail
when they cause the destination to expand.

To see how evil this is try this:

#include <pem.h>
main()
{
BIGNUM *bn = NULL;
        int i;
bn = BN_new();
BN_hex2bn(&bn, "FFFFFFFF");
BN_add_word(bn, 1);
printf("Value %s\n", BN_bn2hex(bn));
}

This would typically fail before the patch.

It also screws up if you comment out the BN_hex2bn line above or in any
situation where BN_add_word() causes the number of BN_ULONGs in the result
to change (try doubling the number of FFs).

25 years agoAdd new experimental ciphersuites. Bring naming into line with RFC.
Ben Laurie [Thu, 15 Apr 1999 18:52:13 +0000 (18:52 +0000)]
Add new experimental ciphersuites. Bring naming into line with RFC.

25 years agoJust use an ANSI declaration, instead.
Ben Laurie [Thu, 15 Apr 1999 10:10:21 +0000 (10:10 +0000)]
Just use an ANSI declaration, instead.

25 years ago/* Just some comments. */
Bodo Möller [Wed, 14 Apr 1999 23:47:41 +0000 (23:47 +0000)]
/* Just some comments. */

Submitted by:
Reviewed by:
PR:

25 years agoAdd some utilities to support SXNet extension also add support in DEF files
Dr. Stephen Henson [Wed, 14 Apr 1999 23:44:41 +0000 (23:44 +0000)]
Add some utilities to support SXNet extension also add support in DEF files
generator to typesafe stacks.

25 years agoCleaning up Ben's clean-ups :-)
Bodo Möller [Wed, 14 Apr 1999 23:10:11 +0000 (23:10 +0000)]
Cleaning up Ben's clean-ups :-)

Submitted by:
Reviewed by:
PR:

25 years agoMake Windows compilers happy.
Bodo Möller [Wed, 14 Apr 1999 21:43:02 +0000 (21:43 +0000)]
Make Windows compilers happy.

Submitted by:Tom Titchener
Reviewed by:
PR:

25 years agoSome tiny fixes.
Bodo Möller [Wed, 14 Apr 1999 20:17:23 +0000 (20:17 +0000)]
Some tiny fixes.

Submitted by:
Reviewed by:
PR:

Submitted by:
Reviewed by:
PR: