oweals/openssl.git
23 years agoEBCDIC bug fix from main branch.
Ulf Möller [Wed, 7 Feb 2001 22:13:10 +0000 (22:13 +0000)]
EBCDIC bug fix from main branch.

23 years agoFix AES code.
Dr. Stephen Henson [Wed, 7 Feb 2001 18:15:18 +0000 (18:15 +0000)]
Fix AES code.

Update Rijndael source to v3.0

Add AES OIDs.

Change most references of Rijndael to AES.

Add new draft AES ciphersuites.

23 years agoChange preferences for sockets of EGD-style entropy daemons to a more
Lutz Jänicke [Wed, 7 Feb 2001 14:26:43 +0000 (14:26 +0000)]
Change preferences for sockets of EGD-style entropy daemons to a more
reasonable selection.

23 years agoFix typo preventing correct usage of -out option.
Lutz Jänicke [Wed, 7 Feb 2001 14:15:41 +0000 (14:15 +0000)]
Fix typo preventing correct usage of -out option.

23 years agoRijdael CBC mode and partial undebugged SSL support.
Ben Laurie [Tue, 6 Feb 2001 14:09:13 +0000 (14:09 +0000)]
Rijdael CBC mode and partial undebugged SSL support.

23 years agoImprove the state machine.
Ben Laurie [Tue, 6 Feb 2001 13:13:31 +0000 (13:13 +0000)]
Improve the state machine.

23 years agoAvoid coredumps for CONF_get_...(NULL, ...)
Bodo Möller [Tue, 6 Feb 2001 10:26:34 +0000 (10:26 +0000)]
Avoid coredumps for CONF_get_...(NULL, ...)

23 years agoAvoid coredumps for CONF_get_...(NULL, ...)
Bodo Möller [Tue, 6 Feb 2001 10:14:57 +0000 (10:14 +0000)]
Avoid coredumps for CONF_get_...(NULL, ...)

23 years agodon't dump core
Bodo Möller [Tue, 6 Feb 2001 09:47:47 +0000 (09:47 +0000)]
don't dump core

23 years agodon't dump core
Bodo Möller [Tue, 6 Feb 2001 09:47:25 +0000 (09:47 +0000)]
don't dump core

23 years agoformat strings
Ulf Möller [Tue, 6 Feb 2001 02:57:35 +0000 (02:57 +0000)]
format strings

23 years agoFix potential buffer overrun for EBCDIC.
Ulf Möller [Tue, 6 Feb 2001 02:54:02 +0000 (02:54 +0000)]
Fix potential buffer overrun for EBCDIC.

23 years agoMerge in memory leak correction from main trunk.
Richard Levitte [Mon, 5 Feb 2001 13:33:28 +0000 (13:33 +0000)]
Merge in memory leak correction from main trunk.

23 years ago0.9.6a will not be release in Y2K. :-)
Richard Levitte [Mon, 5 Feb 2001 13:32:33 +0000 (13:32 +0000)]
0.9.6a will not be release in Y2K.  :-)

23 years agoFix a memory leak in BIO_get_accept_socket(). This leak was small and
Richard Levitte [Mon, 5 Feb 2001 09:15:09 +0000 (09:15 +0000)]
Fix a memory leak in BIO_get_accept_socket().  This leak was small and
only happened when the port number wasn't parsable ot the host wasn't
possible to convert to an IP address.
Contributed by Niko Baric <Niko.Baric@epost.de>

23 years agoInclude string.h (whis is in all relevant standards) instead of
Bodo Möller [Mon, 5 Feb 2001 09:07:50 +0000 (09:07 +0000)]
Include string.h (whis is in all relevant standards) instead of
memory.h (which is not).

23 years agoNew function to copy nonce values from OCSP
Dr. Stephen Henson [Mon, 5 Feb 2001 00:35:06 +0000 (00:35 +0000)]
New function to copy nonce values from OCSP
request to response.

23 years agoMake depend.
Ben Laurie [Sun, 4 Feb 2001 21:06:55 +0000 (21:06 +0000)]
Make depend.

23 years agoBN assembler is no longer option on x86.
Ben Laurie [Sun, 4 Feb 2001 21:03:22 +0000 (21:03 +0000)]
BN assembler is no longer option on x86.

23 years agoCan't remember why this was needed?
Ben Laurie [Sun, 4 Feb 2001 21:02:22 +0000 (21:02 +0000)]
Can't remember why this was needed?

23 years agoFix a warning.
Ben Laurie [Sun, 4 Feb 2001 21:01:32 +0000 (21:01 +0000)]
Fix a warning.

23 years agoDocumenting session caching, 2nd step.
Lutz Jänicke [Sun, 4 Feb 2001 18:10:54 +0000 (18:10 +0000)]
Documenting session caching, 2nd step.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Sun, 4 Feb 2001 18:05:28 +0000 (18:05 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_6-stable'.

23 years agoDocumenting session caching, 2nd step.
Lutz Jänicke [Sun, 4 Feb 2001 18:05:27 +0000 (18:05 +0000)]
Documenting session caching, 2nd step.

23 years agoFix ASN1_TIME_to_generlizedtime().
Dr. Stephen Henson [Sun, 4 Feb 2001 03:04:43 +0000 (03:04 +0000)]
Fix ASN1_TIME_to_generlizedtime().

Add protoype for OCSP_response_create().

Add OCSP_request_sign() and OCSP_basic_sign()
private key and certificate checks and make
OCSP_NOCERTS consistent with PKCS7_NOCERTS

23 years agoVarious OCSP responder utility functions.
Dr. Stephen Henson [Sat, 3 Feb 2001 19:20:45 +0000 (19:20 +0000)]
Various OCSP responder utility functions.

Delete obsolete OCSP functions.

Largely untested at present...

23 years agoClarify why SSL_CTX_use_certificate_chain_file() should be preferred.
Lutz Jänicke [Sat, 3 Feb 2001 15:15:44 +0000 (15:15 +0000)]
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.

23 years agoClarify why SSL_CTX_use_certificate_chain_file() should be preferred.
Lutz Jänicke [Sat, 3 Feb 2001 15:15:00 +0000 (15:15 +0000)]
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.

23 years agoTypo: on my screen it nicely wrapped around at 80 :-)
Lutz Jänicke [Sat, 3 Feb 2001 11:02:35 +0000 (11:02 +0000)]
Typo: on my screen it nicely wrapped around at 80 :-)

23 years agoTypo: on my screen it nicely wrapped around at 80 :-)
Lutz Jänicke [Sat, 3 Feb 2001 11:02:02 +0000 (11:02 +0000)]
Typo: on my screen it nicely wrapped around at 80 :-)

23 years agoIf the source has already been succesfully queried, do not try to open it
Lutz Jänicke [Sat, 3 Feb 2001 10:59:16 +0000 (10:59 +0000)]
If the source has already been succesfully queried, do not try to open it
again as file.

23 years agoIf the source has already been succesfully queried, do not try to open it
Lutz Jänicke [Sat, 3 Feb 2001 10:59:13 +0000 (10:59 +0000)]
If the source has already been succesfully queried, do not try to open it
again as file.

23 years agoBackport...
Lutz Jänicke [Fri, 2 Feb 2001 14:44:02 +0000 (14:44 +0000)]
Backport...

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Fri, 2 Feb 2001 14:40:53 +0000 (14:40 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_6-stable'.

23 years agoDocument session caching, first step.
Lutz Jänicke [Fri, 2 Feb 2001 14:40:52 +0000 (14:40 +0000)]
Document session caching, first step.

23 years agoVarious function for commmon operations.
Dr. Stephen Henson [Fri, 2 Feb 2001 00:45:54 +0000 (00:45 +0000)]
Various function for commmon operations.

23 years agoTidy up the mess in bss_sock.c and bss_fd.c
Dr. Stephen Henson [Fri, 2 Feb 2001 00:31:45 +0000 (00:31 +0000)]
Tidy up the mess in bss_sock.c and bss_fd.c
by placing them socket/fd code in separate
files rather than trying to have them both
share the same one.

23 years agoTolerate some "variations" used in some
Dr. Stephen Henson [Thu, 1 Feb 2001 02:03:58 +0000 (02:03 +0000)]
Tolerate some "variations" used in some
certificates.

One is a valid CA which has no basicConstraints
but does have certSign keyUsage.

Other is S/MIME signer with nonRepudiation but
no digitalSignature.

23 years agoTolerate some "variations" used in some
Dr. Stephen Henson [Thu, 1 Feb 2001 01:57:32 +0000 (01:57 +0000)]
Tolerate some "variations" used in some
certificates.

One is a valid CA which has no basicConstraints
but does have certSign keyUsage.

Other is S/MIME signer with nonRepudiation but
no digitalSignature.

23 years agoBackport extended documentation.
Lutz Jänicke [Wed, 31 Jan 2001 14:18:43 +0000 (14:18 +0000)]
Backport extended documentation.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Wed, 31 Jan 2001 14:14:21 +0000 (14:14 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_6-stable'.

23 years agoNew manual page for a hardly known but important item :-)
Lutz Jänicke [Wed, 31 Jan 2001 14:14:20 +0000 (14:14 +0000)]
New manual page for a hardly known but important item :-)

23 years agoTransport from development branch.
Richard Levitte [Tue, 30 Jan 2001 13:54:44 +0000 (13:54 +0000)]
Transport from development branch.

23 years agoDocument the change.
Richard Levitte [Tue, 30 Jan 2001 13:47:59 +0000 (13:47 +0000)]
Document the change.

23 years agoIncrease consistency of header data (some mail readers really do not
Richard Levitte [Tue, 30 Jan 2001 13:38:59 +0000 (13:38 +0000)]
Increase consistency of header data (some mail readers really do not
like spaces before the semicolon, and besides, other parts of this
file makes the values without those spaces), and move spacing of
continuation lines to support BIO's that break lines after each
write.

23 years agoRemove serial number file during 'make clean'.
Bodo Möller [Mon, 29 Jan 2001 11:41:12 +0000 (11:41 +0000)]
Remove serial number file during 'make clean'.

23 years agoBackported manual pages from 0.9.7.
Lutz Jänicke [Sun, 28 Jan 2001 18:35:10 +0000 (18:35 +0000)]
Backported manual pages from 0.9.7.

23 years agoBackport documentation added for 0.9.7.
Lutz Jänicke [Sun, 28 Jan 2001 18:31:35 +0000 (18:31 +0000)]
Backport documentation added for 0.9.7.

23 years agoFor CRLs.
Dr. Stephen Henson [Sun, 28 Jan 2001 14:48:13 +0000 (14:48 +0000)]
For CRLs.

Shouldn't use the "encode empty" macros with the
revoked field since that is initialised.

Extensions should now be set to NULL so they
encode as absent if none are added.

23 years agoComment and indentation
Bodo Möller [Sun, 28 Jan 2001 14:38:11 +0000 (14:38 +0000)]
Comment and indentation

23 years agoMake sk_sort tolearate a NULL argument.
Dr. Stephen Henson [Sun, 28 Jan 2001 14:20:13 +0000 (14:20 +0000)]
Make sk_sort tolearate a NULL argument.

23 years agoNew ASN1 macros which will encode an empty SEQUENCE OF.
Dr. Stephen Henson [Sun, 28 Jan 2001 14:18:20 +0000 (14:18 +0000)]
New ASN1 macros which will encode an empty SEQUENCE OF.

Fix CRL encoders to encode empty SEQUENCE OF.

The old code was breaking CRL signatures.

Note: it is best to add new macros because changing the
old ones could break other code which expects that behaviour.
None of this is needed with the new ASN1 code anyway...

23 years agoNew OCSP response verify option OCSP_TRUSTOTHER
Dr. Stephen Henson [Fri, 26 Jan 2001 01:55:52 +0000 (01:55 +0000)]
New OCSP response verify option OCSP_TRUSTOTHER

23 years agoDocumentation language corrections, contributed by Chris Pepper <pepper@mail.reppep...
Richard Levitte [Thu, 25 Jan 2001 14:46:00 +0000 (14:46 +0000)]
Documentation language corrections, contributed by Chris Pepper <pepper@mail.reppep.com>

23 years agoZero the premaster secret after deriving the master secret in DH
Dr. Stephen Henson [Thu, 25 Jan 2001 13:20:39 +0000 (13:20 +0000)]
Zero the premaster secret after deriving the master secret in DH
ciphersuites.

23 years agoZero the premaster secret after deriving the master secret in DH
Dr. Stephen Henson [Thu, 25 Jan 2001 13:15:01 +0000 (13:15 +0000)]
Zero the premaster secret after deriving the master secret in DH
ciphersuites.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Thu, 25 Jan 2001 02:26:59 +0000 (02:26 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_6-stable'.

23 years agoInsert a missing space to stop pod2man giving stroppy "malformed" warnings.
Geoff Thorpe [Thu, 25 Jan 2001 02:26:58 +0000 (02:26 +0000)]
Insert a missing space to stop pod2man giving stroppy "malformed" warnings.

23 years agoupdate
Bodo Möller [Wed, 24 Jan 2001 22:39:29 +0000 (22:39 +0000)]
update

23 years agoAdd debugging info to new ASN1 code to trace memory leaks.
Dr. Stephen Henson [Wed, 24 Jan 2001 18:39:54 +0000 (18:39 +0000)]
Add debugging info to new ASN1 code to trace memory leaks.

Fix PKCS7 and PKCS12 memory leaks.

Initialise encapsulated content type properly.

23 years agoEh, this branch is not version 0.9.6, it's the development of 0.9.6a.
Richard Levitte [Wed, 24 Jan 2001 16:21:21 +0000 (16:21 +0000)]
Eh, this branch is not version 0.9.6, it's the development of 0.9.6a.

23 years agoUpdate "OAEP reconsidered" comment
Bodo Möller [Wed, 24 Jan 2001 14:59:25 +0000 (14:59 +0000)]
Update "OAEP reconsidered" comment

23 years agonew year
Ulf Möller [Wed, 24 Jan 2001 02:56:40 +0000 (02:56 +0000)]
new year

23 years agonew year
Ulf Möller [Wed, 24 Jan 2001 02:56:13 +0000 (02:56 +0000)]
new year

23 years agoEVP_add_digest_alias additions to SS_library_init
Bodo Möller [Tue, 23 Jan 2001 16:39:59 +0000 (16:39 +0000)]
EVP_add_digest_alias additions to SS_library_init

23 years agoEVP_add_digest_alias additions to SSL_library_init
Bodo Möller [Tue, 23 Jan 2001 16:38:15 +0000 (16:38 +0000)]
EVP_add_digest_alias additions to SSL_library_init

23 years agoIrix fix as in main branch
Ulf Möller [Tue, 23 Jan 2001 16:29:06 +0000 (16:29 +0000)]
Irix fix as in main branch

23 years agoThere is no C version of bn_div_3_words
Ulf Möller [Tue, 23 Jan 2001 16:26:15 +0000 (16:26 +0000)]
There is no C version of bn_div_3_words

23 years agoFor improved compatibility with 'strange' certificates, add some
Bodo Möller [Tue, 23 Jan 2001 13:55:26 +0000 (13:55 +0000)]
For improved compatibility with 'strange' certificates, add some
digest aliases (as found in OpenSSL_add_all_digests).

23 years agoFor improved compatibility with 'strange' certificates, add some
Bodo Möller [Tue, 23 Jan 2001 13:55:01 +0000 (13:55 +0000)]
For improved compatibility with 'strange' certificates, add some
digest aliases (as found in OpenSSL_add_all_digests).

23 years agoUse OpenSSL_add_all_algorithms instead of the backwards compatibility
Bodo Möller [Tue, 23 Jan 2001 13:36:57 +0000 (13:36 +0000)]
Use OpenSSL_add_all_algorithms instead of the backwards compatibility
alias SSLeay_add_all_algorithms

23 years agoMore on the e_os.h mess ...
Bodo Möller [Tue, 23 Jan 2001 12:30:43 +0000 (12:30 +0000)]
More on the e_os.h mess ...

23 years agoCopy over just written manpage to the ones still missing.
Lutz Jänicke [Tue, 23 Jan 2001 11:04:52 +0000 (11:04 +0000)]
Copy over just written manpage to the ones still missing.

23 years agoAdd entries for new manpages...
Lutz Jänicke [Tue, 23 Jan 2001 10:47:41 +0000 (10:47 +0000)]
Add entries for new manpages...

23 years agoDefinition of NO_KRB5 in ssl.h for external applications.
Ulf Möller [Mon, 22 Jan 2001 18:46:32 +0000 (18:46 +0000)]
Definition of NO_KRB5 in ssl.h for external applications.

23 years agoUse the correct number of arguments in the example.
Ulf Möller [Sun, 21 Jan 2001 19:46:50 +0000 (19:46 +0000)]
Use the correct number of arguments in the example.

23 years agoremove newline
Ulf Möller [Sun, 21 Jan 2001 18:51:01 +0000 (18:51 +0000)]
remove newline

23 years agoconfig bug fixes from the main branch.
Ulf Möller [Sun, 21 Jan 2001 18:48:11 +0000 (18:48 +0000)]
config bug fixes from the main branch.

23 years agoMention the ./config script fixes.
Ulf Möller [Sun, 21 Jan 2001 18:45:23 +0000 (18:45 +0000)]
Mention the ./config script fixes.

23 years agoDocumentation about SSL_get_ex_data_X509_STORE_CTX_idx and
Lutz Jänicke [Sat, 20 Jan 2001 16:22:43 +0000 (16:22 +0000)]
Documentation about SSL_get_ex_data_X509_STORE_CTX_idx and
SSL_get_ex_new_index() functionality. Extended verify_callback()
example to show the usage.

23 years agoFix to stop X509_time_adj() using GeneralizedTime.
Dr. Stephen Henson [Sat, 20 Jan 2001 13:38:45 +0000 (13:38 +0000)]
Fix to stop X509_time_adj() using GeneralizedTime.

23 years agoUpdate ocsp utility documentation.
Dr. Stephen Henson [Sat, 20 Jan 2001 01:26:28 +0000 (01:26 +0000)]
Update ocsp utility documentation.

23 years agoFixes to various ASN1_INTEGER routines for negative case.
Dr. Stephen Henson [Fri, 19 Jan 2001 14:21:48 +0000 (14:21 +0000)]
Fixes to various ASN1_INTEGER routines for negative case.

Enhance s2i_ASN1_INTEGER().

23 years agoFix openssl passwd -1
Bodo Möller [Fri, 19 Jan 2001 07:38:55 +0000 (07:38 +0000)]
Fix openssl passwd -1

23 years agoFix openssl passwd -1
Bodo Möller [Fri, 19 Jan 2001 07:37:56 +0000 (07:37 +0000)]
Fix openssl passwd -1

23 years agoAdditional functionality in ocsp utility: print summary
Dr. Stephen Henson [Fri, 19 Jan 2001 01:32:23 +0000 (01:32 +0000)]
Additional functionality in ocsp utility: print summary
of status info. Check nonce values. Option to disable
verify. Update usage message.

Rename status to string functions and make them global.

23 years agoAs in the main branch, there's no longer a need to guess the bc
Bodo Möller [Thu, 18 Jan 2001 12:41:25 +0000 (12:41 +0000)]
As in the main branch, there's no longer a need to guess the bc
version at compile time.

23 years agoDon't shadow.
Dr. Stephen Henson [Thu, 18 Jan 2001 01:36:54 +0000 (01:36 +0000)]
Don't shadow.

23 years agoImplement remaining OCSP verify checks in
Dr. Stephen Henson [Thu, 18 Jan 2001 01:35:39 +0000 (01:35 +0000)]
Implement remaining OCSP verify checks in
accordance with RFC2560.

23 years agoMake the change log on the RAND_poll change a bit more explicit. Suggested by Bodo...
Richard Levitte [Wed, 17 Jan 2001 13:43:18 +0000 (13:43 +0000)]
Make the change log on the RAND_poll change a bit more explicit.  Suggested by Bodo Moeller.

23 years agoUse 'bctest' script to test if bc works (as in the main branch).
Bodo Möller [Wed, 17 Jan 2001 10:26:25 +0000 (10:26 +0000)]
Use 'bctest' script to test if bc works (as in the main branch).

23 years agoKeep up with Unix
Richard Levitte [Wed, 17 Jan 2001 01:35:35 +0000 (01:35 +0000)]
Keep up with Unix

23 years agoInitial OCSP certificate verify. Not complete,
Dr. Stephen Henson [Wed, 17 Jan 2001 01:31:34 +0000 (01:31 +0000)]
Initial OCSP certificate verify. Not complete,
it just supports a "trusted OCSP global root CA".

23 years agolink to the new manpage.
Ulf Möller [Mon, 15 Jan 2001 22:19:30 +0000 (22:19 +0000)]
link to the new manpage.

23 years agoNew '-extfile' option for 'openssl ca'.
Bodo Möller [Mon, 15 Jan 2001 11:35:24 +0000 (11:35 +0000)]
New '-extfile' option for 'openssl ca'.
This allows keeping extensions in a separate configuration file.

Submitted by: Massimiliano Pala <madwolf@comune.modena.it>

23 years agoUpdate the LHASH man page.
Geoff Thorpe [Sun, 14 Jan 2001 23:37:42 +0000 (23:37 +0000)]
Update the LHASH man page.

* Correct some prototypes and macros with respect to "const"ness.

* Add the extra macros and examples due to the lh_doall[_arg] modifications
  made recently. The existing example is also reworked for consistency.

* Rewrite, tweak, and supplement bits of the existing comments that seemed
  (IMHO) to be a little convoluted and misleading.

* Add a NOTE section that explains the use of macros and avoiding function
  casts (ie. generate a wrapper as with the macros, or prototype any
  callback functions exactly to not require casting). Also, explain the
  "const" approach taken in LHASH for the purposes of API comprehensibility
  and also application code auditing.

23 years agoFix PKCS#12 PBE routines to cope with passwords
Dr. Stephen Henson [Sun, 14 Jan 2001 14:14:45 +0000 (14:14 +0000)]
Fix PKCS#12 PBE routines to cope with passwords
from PEM callbacks which are not null terminated.

23 years agoChange PKCS#12 key derivation routines to cope with
Dr. Stephen Henson [Sun, 14 Jan 2001 14:07:10 +0000 (14:07 +0000)]
Change PKCS#12 key derivation routines to cope with
non null terminated passwords.

23 years agoFix warning in apps/ca.c
Dr. Stephen Henson [Sun, 14 Jan 2001 13:58:49 +0000 (13:58 +0000)]
Fix warning in apps/ca.c

23 years agoPreliminary ocsp utility documentation.
Dr. Stephen Henson [Sun, 14 Jan 2001 00:52:19 +0000 (00:52 +0000)]
Preliminary ocsp utility documentation.

Fix ocsp usage message.