oweals/openssl.git
25 years agoConvert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
Dr. Stephen Henson [Sun, 20 Jun 1999 22:18:16 +0000 (22:18 +0000)]
Convert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
seemed like a good idea at the time... several hours later it was rather
obvious that these are used all over the place making the changes rather
extensive.

25 years agoNew functions CONF_load_bio() and CONF_load_fp() to load a configuration
Dr. Stephen Henson [Sun, 20 Jun 1999 17:36:11 +0000 (17:36 +0000)]
New functions CONF_load_bio() and CONF_load_fp() to load a configuration
file from a bio or fp. Added some more constification to the BN library.

25 years agoClarification.
Bodo Möller [Fri, 18 Jun 1999 18:22:38 +0000 (18:22 +0000)]
Clarification.

25 years ago"make update"
Bodo Möller [Fri, 18 Jun 1999 16:44:29 +0000 (16:44 +0000)]
"make update"

25 years agoNew function CRYPTO_num_locks.
Bodo Möller [Fri, 18 Jun 1999 16:14:18 +0000 (16:14 +0000)]
New function CRYPTO_num_locks.

25 years agoUse same name in the definition as in the header file declaration :-/
Bodo Möller [Fri, 18 Jun 1999 12:28:29 +0000 (12:28 +0000)]
Use same name in the definition as in the header file declaration :-/
(the extra "get" makes the name quite long, but otherwise it'd sound
as if you could request something rather than obtain information
about what the peer did).

25 years agoDon't access configuration files outside the source tree.
Bodo Möller [Thu, 17 Jun 1999 21:10:35 +0000 (21:10 +0000)]
Don't access configuration files outside the source tree.

25 years agoTypo.
Ulf Möller [Wed, 16 Jun 1999 23:49:39 +0000 (23:49 +0000)]
Typo.

25 years agoRecognize CPU on BSD/OS.
Ulf Möller [Wed, 16 Jun 1999 20:26:46 +0000 (20:26 +0000)]
Recognize CPU on BSD/OS.

25 years agoSome people don't have /dev/fd/0 on Solaris, so use - instead.
Bodo Möller [Tue, 15 Jun 1999 23:17:09 +0000 (23:17 +0000)]
Some people don't have /dev/fd/0 on Solaris, so use - instead.

25 years agoDon't try to use zero-byte buffers.
Bodo Möller [Tue, 15 Jun 1999 18:07:44 +0000 (18:07 +0000)]
Don't try to use zero-byte buffers.

25 years agoObsolete.
Bodo Möller [Mon, 14 Jun 1999 15:52:31 +0000 (15:52 +0000)]
Obsolete.

25 years agolong obsolete
Bodo Möller [Mon, 14 Jun 1999 15:51:26 +0000 (15:51 +0000)]
long obsolete

25 years agoComment adjusted to reality.
Bodo Möller [Mon, 14 Jun 1999 15:48:04 +0000 (15:48 +0000)]
Comment adjusted to reality.

25 years agorc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
Bodo Möller [Mon, 14 Jun 1999 14:48:25 +0000 (14:48 +0000)]
rc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
opensslconf.h always expects HEADER_... (no leading underscore).

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

25 years agoProvide fallback configurations for all hpux... configurations
Bodo Möller [Mon, 14 Jun 1999 13:56:26 +0000 (13:56 +0000)]
Provide fallback configurations for all hpux... configurations
(problems with BN_LLONG have been reported both for hpux-cc
and for hpux10-gcc).

25 years agoBugfix.
Bodo Möller [Sat, 12 Jun 1999 11:07:52 +0000 (11:07 +0000)]
Bugfix.

25 years agoAvoid some warnings (on silly compilers).
Bodo Möller [Sat, 12 Jun 1999 09:52:44 +0000 (09:52 +0000)]
Avoid some warnings (on silly compilers).

25 years ago"make update"
Bodo Möller [Sat, 12 Jun 1999 01:08:14 +0000 (01:08 +0000)]
"make update"

25 years agoBIO pairs.
Bodo Möller [Sat, 12 Jun 1999 01:03:40 +0000 (01:03 +0000)]
BIO pairs.

25 years agoFix to i2d_DSAPublicKey() to return the correct length.
Dr. Stephen Henson [Fri, 11 Jun 1999 22:30:45 +0000 (22:30 +0000)]
Fix to i2d_DSAPublicKey() to return the correct length.
Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>

25 years agoChanges for BSD/OS 4.
Bodo Möller [Fri, 11 Jun 1999 11:45:22 +0000 (11:45 +0000)]
Changes for BSD/OS 4.

25 years agoDon't use unquoted whitespace in "case" case.
Bodo Möller [Fri, 11 Jun 1999 10:54:42 +0000 (10:54 +0000)]
Don't use unquoted whitespace in "case" case.

25 years agoDocument the X509V3 code and change some of the extension function pointers
Dr. Stephen Henson [Fri, 11 Jun 1999 01:58:42 +0000 (01:58 +0000)]
Document the X509V3 code and change some of the extension function pointers
to use 'void *' rather than 'char *' for an "arbitrary extension".

25 years agoNeXT 3.3 can handle -O3 (3.0 can't).
Bodo Möller [Thu, 10 Jun 1999 20:13:33 +0000 (20:13 +0000)]
NeXT 3.3 can handle -O3 (3.0 can't).

25 years agoFix warnings.
Ben Laurie [Thu, 10 Jun 1999 19:45:25 +0000 (19:45 +0000)]
Fix warnings.

25 years agohpux-cc (HPUX 9.x) does not work with BN_LLONG (floating point exceptions).
Bodo Möller [Thu, 10 Jun 1999 18:34:48 +0000 (18:34 +0000)]
hpux-cc (HPUX 9.x) does not work with BN_LLONG (floating point exceptions).

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

25 years agoTry to detect NeXT 3.3 (working Configure entry for this still missing)
Bodo Möller [Thu, 10 Jun 1999 18:05:58 +0000 (18:05 +0000)]
Try to detect NeXT 3.3 (working Configure entry for this still missing)

25 years agoAvoid warning.
Bodo Möller [Thu, 10 Jun 1999 18:03:14 +0000 (18:03 +0000)]
Avoid warning.

25 years agoTwo new functions to write out PKCS#8 private keys. Also fixes for some of
Dr. Stephen Henson [Thu, 10 Jun 1999 17:32:52 +0000 (17:32 +0000)]
Two new functions to write out PKCS#8 private keys. Also fixes for some of
the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default
iteration count if it is passed as zero.

25 years agoAvoid warnings.
Bodo Möller [Thu, 10 Jun 1999 16:29:32 +0000 (16:29 +0000)]
Avoid warnings.

25 years agoFix determination of Perl interpreter: A perl or perl5
Ralf S. Engelschall [Thu, 10 Jun 1999 08:13:52 +0000 (08:13 +0000)]
Fix determination of Perl interpreter: A perl or perl5
_directory_ in $PATH was also accepted as the interpreter.

25 years agoAnother <unistd.h> ...
Bodo Möller [Thu, 10 Jun 1999 08:12:20 +0000 (08:12 +0000)]
Another <unistd.h> ...

25 years agoReformat and "modernise" the sign.c demo.
Dr. Stephen Henson [Wed, 9 Jun 1999 23:33:48 +0000 (23:33 +0000)]
Reformat and "modernise" the sign.c demo.

25 years agoPut SC5 warning back in, future changes might trigger the compiler bug again.
Ulf Möller [Wed, 9 Jun 1999 23:29:23 +0000 (23:29 +0000)]
Put SC5 warning back in, future changes might trigger the compiler bug again.

25 years agotiny optical change
Bodo Möller [Wed, 9 Jun 1999 23:13:03 +0000 (23:13 +0000)]
tiny optical change

25 years agoRepair PEM_write_PrivateKey and PEM_write_bio_PrivateKey.
Bodo Möller [Wed, 9 Jun 1999 23:12:08 +0000 (23:12 +0000)]
Repair PEM_write_PrivateKey and PEM_write_bio_PrivateKey.

25 years agoOops, I forgot to add the dependency "TABLE: Configure".
Bodo Möller [Wed, 9 Jun 1999 21:13:30 +0000 (21:13 +0000)]
Oops, I forgot to add the dependency "TABLE: Configure".

25 years agoCircumvent bug in SC5 without patch #107357-01.
Ulf Möller [Wed, 9 Jun 1999 21:13:27 +0000 (21:13 +0000)]
Circumvent bug in SC5 without patch #107357-01.

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

25 years agoDon't define _ANSI_SOURCE for NetBSD.
Ulf Möller [Wed, 9 Jun 1999 21:09:04 +0000 (21:09 +0000)]
Don't define _ANSI_SOURCE for NetBSD.

Submitted by: Eric Ding <ericding@MIT.EDU>

25 years agoChange the PEM function implementation to use a common set of macros: this
Dr. Stephen Henson [Wed, 9 Jun 1999 18:05:30 +0000 (18:05 +0000)]
Change the PEM function implementation to use a common set of macros: this
should make modifying them easier.

Fix the selfsign demo: it was rather ancient and used deleted functions.

25 years agoDelete unnecessary newlines in TABLE
Bodo Möller [Wed, 9 Jun 1999 18:04:44 +0000 (18:04 +0000)]
Delete unnecessary newlines in TABLE

25 years agodes_cbc_encrypt / des_ncbc_encrypt issue.
Bodo Möller [Wed, 9 Jun 1999 18:01:49 +0000 (18:01 +0000)]
des_cbc_encrypt / des_ncbc_encrypt issue.

25 years agoUpdate dependencies.
Bodo Möller [Wed, 9 Jun 1999 17:38:32 +0000 (17:38 +0000)]
Update dependencies.

25 years agoUnify DES library: ncbc_enc.c wasn't used, but its content was almost
Bodo Möller [Wed, 9 Jun 1999 17:28:30 +0000 (17:28 +0000)]
Unify DES library: ncbc_enc.c wasn't used, but its content was almost
duplicated in cbc_enc.c (without IV updating) and in des_enc.c

As pointed out by others on the openssl-dev list, des_cbc_encrypt (without
IV updating; defined in cbc_enc.c) exists only for historical reasons:
des_ncbc_encrypt should be used instead (and the caller does not have
to manually update the IV).

If des_cbc_enrypt is not needed for backwards compatibility, the
definition of des_ncbc_encrypt should be put back into des_enc.c, and
both cbc_enc.c and ncbc_enc.c can be deleted.

If des_cbc_encrypt *is* needed for backwards compatibility, its behaviour
obviously should not change (i.e., don't add IV updating).

25 years ago"extern" is a C++ reserved word.
Ulf Möller [Wed, 9 Jun 1999 16:33:18 +0000 (16:33 +0000)]
"extern" is a C++ reserved word.

Pointed out by: Janez Jere <jj@void.si>

25 years agoRemove old libdes version number.
Ulf Möller [Wed, 9 Jun 1999 16:26:50 +0000 (16:26 +0000)]
Remove old libdes version number.

25 years ago"make update" (added to top Makefile, and applied).
Bodo Möller [Wed, 9 Jun 1999 16:18:53 +0000 (16:18 +0000)]
"make update" (added to top Makefile, and applied).

25 years agoDES CBC change looks dubious to me.
Bodo Möller [Wed, 9 Jun 1999 13:41:51 +0000 (13:41 +0000)]
DES CBC change looks dubious to me.

25 years agoMention unistd.h.
Bodo Möller [Wed, 9 Jun 1999 13:29:51 +0000 (13:29 +0000)]
Mention unistd.h.

25 years agoSome pre-POSIX systems don't have unistd.h (but e.g. lib.c).
Bodo Möller [Wed, 9 Jun 1999 13:23:38 +0000 (13:23 +0000)]
Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
Allow configuring the name of that header file.

25 years agoOops. Get rid of now incorrect comment.
Ben Laurie [Wed, 9 Jun 1999 11:09:12 +0000 (11:09 +0000)]
Oops. Get rid of now incorrect comment.

25 years agoI keep forgetting to fix this: update the IV! Most important!
Ben Laurie [Wed, 9 Jun 1999 11:08:36 +0000 (11:08 +0000)]
I keep forgetting to fix this: update the IV! Most important!

25 years agoMake "make test" fail if bntest fails an internal selfcheck.
Ben Laurie [Wed, 9 Jun 1999 10:19:53 +0000 (10:19 +0000)]
Make "make test" fail if bntest fails an internal selfcheck.

25 years agoThe des app.
Ulf Möller [Tue, 8 Jun 1999 20:11:02 +0000 (20:11 +0000)]
The des app.

25 years agoSurvive pedanticism.
Ben Laurie [Tue, 8 Jun 1999 18:37:43 +0000 (18:37 +0000)]
Survive pedanticism.

25 years agocrypt(), demos patched.
Ulf Möller [Tue, 8 Jun 1999 17:57:49 +0000 (17:57 +0000)]
crypt(), demos patched.

25 years agoCall our crypt implementation des_crypt(). crypt() now is a wrapper if
Ulf Möller [Tue, 8 Jun 1999 16:35:11 +0000 (16:35 +0000)]
Call our crypt implementation des_crypt(). crypt() now is a wrapper if
there is no system crypt() available.

25 years agoCasts.
Ulf Möller [Tue, 8 Jun 1999 16:25:21 +0000 (16:25 +0000)]
Casts.

25 years agoWarnings and casts.
Ulf Möller [Tue, 8 Jun 1999 16:17:25 +0000 (16:17 +0000)]
Warnings and casts.

25 years agoDon't #define _, and eliminate casts.
Ulf Möller [Tue, 8 Jun 1999 15:52:47 +0000 (15:52 +0000)]
Don't #define _, and eliminate casts.

25 years agoFix to compile the des app.
Ulf Möller [Tue, 8 Jun 1999 15:35:57 +0000 (15:35 +0000)]
Fix to compile the des app.

25 years agoPrevent name conflicts.
Ulf Möller [Tue, 8 Jun 1999 14:50:20 +0000 (14:50 +0000)]
Prevent name conflicts.

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

25 years ago"request" added.
Bodo Möller [Tue, 8 Jun 1999 10:18:48 +0000 (10:18 +0000)]
"request" added.

25 years agoUse mkdir-p.pl more efficiently.
Bodo Möller [Tue, 8 Jun 1999 10:18:19 +0000 (10:18 +0000)]
Use mkdir-p.pl more efficiently.

25 years agoDon't make assumptions on what the path looks like.
Bodo Möller [Tue, 8 Jun 1999 10:17:55 +0000 (10:17 +0000)]
Don't make assumptions on what the path looks like.

25 years agoComplete support for PKCS#5 v2.0. Still needs extensive testing.
Dr. Stephen Henson [Tue, 8 Jun 1999 00:09:51 +0000 (00:09 +0000)]
Complete support for PKCS#5 v2.0. Still needs extensive testing.

25 years agoFix for BIO pairs.
Bodo Möller [Mon, 7 Jun 1999 22:51:55 +0000 (22:51 +0000)]
Fix for BIO pairs.

25 years agoUse locking in a way that makes more sense.
Bodo Möller [Mon, 7 Jun 1999 22:50:12 +0000 (22:50 +0000)]
Use locking in a way that makes more sense.

25 years agoUse the same path to perl in all #! lines in util.
Bodo Möller [Mon, 7 Jun 1999 22:48:50 +0000 (22:48 +0000)]
Use the same path to perl in all #! lines in util.

25 years agoThis is the main PKCS#5 v2.0 key generation function, it parses the ASN1
Dr. Stephen Henson [Mon, 7 Jun 1999 21:00:19 +0000 (21:00 +0000)]
This is the main PKCS#5 v2.0 key generation function, it parses the ASN1
structure and decides what key to generate (if any). Not currently added to
the PBE algorithm list because it is largely untested.

25 years agotreat init properly
Bodo Möller [Mon, 7 Jun 1999 20:34:36 +0000 (20:34 +0000)]
treat init properly

25 years agoDon't mix real tabs with tabs expanded as 8 spaces -- that's
Bodo Möller [Mon, 7 Jun 1999 20:26:51 +0000 (20:26 +0000)]
Don't mix real tabs with tabs expanded as 8 spaces -- that's
a pain to read when using 4-space tabs.

25 years agoIntroduce "BIO pairs", which (when finished) will relay data
Bodo Möller [Mon, 7 Jun 1999 16:04:45 +0000 (16:04 +0000)]
Introduce "BIO pairs", which (when finished) will relay data
so that the SSL library can be used for applications that
have to handle all the actual I/O themselves.

25 years agoMention mkdir-p.pl.
Bodo Möller [Mon, 7 Jun 1999 13:34:25 +0000 (13:34 +0000)]
Mention mkdir-p.pl.

25 years agomkdir -p is not fully portable (according to Marc Crispin,
Bodo Möller [Mon, 7 Jun 1999 13:33:50 +0000 (13:33 +0000)]
mkdir -p is not fully portable (according to Marc Crispin,
NeXTstep creates a directory called -p); now mkdir-p.pl does its job.

25 years agoUse only -O, not -O3 for NeXTstep:
Bodo Möller [Mon, 7 Jun 1999 13:20:41 +0000 (13:20 +0000)]
Use only -O, not -O3 for NeXTstep:

> The nextstep port uses the -O3 switch to gcc.  Support for -O3 didn't appear
> until later (and buggier) versions of NeXTstep.  Use -O instead, or have a
> separate port.

Submitted by: Mark Crispin <MRC@Panda.COM>

25 years agoComments added.
Bodo Möller [Mon, 7 Jun 1999 12:49:47 +0000 (12:49 +0000)]
Comments added.

25 years agolinux-sparc
Bodo Möller [Mon, 7 Jun 1999 00:26:20 +0000 (00:26 +0000)]
linux-sparc

25 years ago"linux-sparc" configuration.
Bodo Möller [Mon, 7 Jun 1999 00:25:08 +0000 (00:25 +0000)]
"linux-sparc" configuration.

Submitted by: Christian Forster <fo@hawo.stw.uni-erlangen.de>

25 years agoMore general definition for S_ISDIR (needed not only for VMS but
Bodo Möller [Mon, 7 Jun 1999 00:20:54 +0000 (00:20 +0000)]
More general definition for S_ISDIR (needed not only for VMS but
also for NeXT).

25 years agoMore PKCS#5 v2.0 development. Add a function to setup a PKCS#5 v2.0
Dr. Stephen Henson [Sun, 6 Jun 1999 23:34:44 +0000 (23:34 +0000)]
More PKCS#5 v2.0 development. Add a function to setup a PKCS#5 v2.0
AlgorithmIdentifier and make various ASN1 fixes.

25 years agoChange PBE handling a bit more: now the key and iv generator does calls
Dr. Stephen Henson [Sun, 6 Jun 1999 18:41:52 +0000 (18:41 +0000)]
Change PBE handling a bit more: now the key and iv generator does calls
EVP_CipherInit() this because the IV wont be easily available when doing
PKCS#5 v2.0

25 years agoRewrite PBE handling read to support PKCS#5 v2.0 and update the function
Dr. Stephen Henson [Sun, 6 Jun 1999 13:07:13 +0000 (13:07 +0000)]
Rewrite PBE handling read to support PKCS#5 v2.0 and update the function
list for Win32.

25 years agoChange so PEM private key read routines can handle PKCS#8 transparently.
Dr. Stephen Henson [Sat, 5 Jun 1999 18:40:51 +0000 (18:40 +0000)]
Change so PEM private key read routines can handle PKCS#8 transparently.

25 years agoMore PKCS#8 stuff. Support for unencrypted forms of private key.
Dr. Stephen Henson [Sat, 5 Jun 1999 12:39:10 +0000 (12:39 +0000)]
More PKCS#8 stuff. Support for unencrypted forms of private key.

25 years agoconst/type fixes.
Ben Laurie [Sat, 5 Jun 1999 12:16:33 +0000 (12:16 +0000)]
const/type fixes.

25 years agoAdd d2i,i2d bio and fp functions for PKCS#8 and add -inform and -outform
Dr. Stephen Henson [Sat, 5 Jun 1999 01:45:20 +0000 (01:45 +0000)]
Add d2i,i2d bio and fp functions for PKCS#8 and add -inform and -outform
arguments to pkcs8 application.

25 years agoAdd a 'pkcs8' application for initial PKCS#8 support. Still needs lots more
Dr. Stephen Henson [Sat, 5 Jun 1999 00:32:16 +0000 (00:32 +0000)]
Add a 'pkcs8' application for initial PKCS#8 support. Still needs lots more
options to handle encrypted and unencrypted forms and DER format input and
output.

25 years agoThe rest of the PKCS#5, PKCS#8 patch I forgot before :-)
Dr. Stephen Henson [Fri, 4 Jun 1999 23:33:48 +0000 (23:33 +0000)]
The rest of the PKCS#5, PKCS#8 patch I forgot before :-)

25 years agoAdd PKCS#5 v1.5 compatible algorithms and initial PKCS#8 support. PKCS#8 needs
Dr. Stephen Henson [Fri, 4 Jun 1999 23:32:14 +0000 (23:32 +0000)]
Add PKCS#5 v1.5 compatible algorithms and initial PKCS#8 support. PKCS#8 needs
more work: need an application and make the private key routines automatically
handle PKCS#8.

25 years agoUpdate.
Bodo Möller [Fri, 4 Jun 1999 23:14:24 +0000 (23:14 +0000)]
Update.

25 years agoAha! That's how pkcs12 got missed from stackification.
Ben Laurie [Fri, 4 Jun 1999 22:25:30 +0000 (22:25 +0000)]
Aha! That's how pkcs12 got missed from stackification.

25 years agoSome constification and stacks that slipped through the cracks (how?).
Ben Laurie [Fri, 4 Jun 1999 22:23:10 +0000 (22:23 +0000)]
Some constification and stacks that slipped through the cracks (how?).

25 years agoSupport the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
Ulf Möller [Fri, 4 Jun 1999 21:54:13 +0000 (21:54 +0000)]
Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).

Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>

25 years agoremove conflict indicator ...
Bodo Möller [Fri, 4 Jun 1999 21:52:12 +0000 (21:52 +0000)]
remove conflict indicator ...

25 years agoSupport the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
Ulf Möller [Fri, 4 Jun 1999 21:47:27 +0000 (21:47 +0000)]
Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).

Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>

25 years ago"linux-sparc64-gcc" configuration
Bodo Möller [Fri, 4 Jun 1999 21:46:35 +0000 (21:46 +0000)]
"linux-sparc64-gcc" configuration
Submitted by: Ray Miller <ray.miller@oucs.ox.ac.uk>

25 years agoSupport the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
Ulf Möller [Fri, 4 Jun 1999 21:35:58 +0000 (21:35 +0000)]
Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).

Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>

25 years agoGenerate no-xxx options for missing ciphers.
Ulf Möller [Fri, 4 Jun 1999 21:32:31 +0000 (21:32 +0000)]
Generate no-xxx options for missing ciphers.