openssl.git
24 years agoBIO_printf() change
Ulf Möller [Thu, 24 Feb 2000 22:57:42 +0000 (22:57 +0000)]
BIO_printf() change

24 years agosome test results.
Ulf Möller [Thu, 24 Feb 2000 22:24:51 +0000 (22:24 +0000)]
some test results.

24 years agoYet another "unixware" spelling.
Ulf Möller [Thu, 24 Feb 2000 22:24:36 +0000 (22:24 +0000)]
Yet another "unixware" spelling.

24 years agoUse public domain snprintf() implementation by Patrick Powell to avoid
Ulf Möller [Thu, 24 Feb 2000 22:23:45 +0000 (22:23 +0000)]
Use public domain snprintf() implementation by Patrick Powell to avoid
potential buffer overrun in BIO_printf().
----------------------------------------------------------------------
crypto/bio/b_print.c CVS:
----------------------------------------------------------------------

24 years agoVersion 0.9.5beta2-dev (so that the next snapshot will not
Bodo Möller [Thu, 24 Feb 2000 20:40:02 +0000 (20:40 +0000)]
Version 0.9.5beta2-dev (so that the next snapshot will not
claim to be 0.9.5beta1).

(Are the version number examples correct -- the same numerical
code for:
 * 0.9.3beta2-dev 0x00903002
 * 0.9.3beta2     0x00903002
?)

24 years agoDon't use buffered fread() to read from DEVRANDOM,
Bodo Möller [Thu, 24 Feb 2000 20:24:45 +0000 (20:24 +0000)]
Don't use buffered fread() to read from DEVRANDOM,
because this will drain the entropy pool.

24 years agoDo fflush(stdout) when there was an error.
Bodo Möller [Thu, 24 Feb 2000 20:13:27 +0000 (20:13 +0000)]
Do fflush(stdout) when there was an error.

24 years agomention that EGD is used in non-blocking mode.
Ulf Möller [Thu, 24 Feb 2000 19:33:58 +0000 (19:33 +0000)]
mention that EGD is used in non-blocking mode.

24 years agoDon't define platform-dependent preprocessor symbols for OPENSSL_THREAD_DEFINES.
Bodo Möller [Thu, 24 Feb 2000 18:19:50 +0000 (18:19 +0000)]
Don't define platform-dependent preprocessor symbols for OPENSSL_THREAD_DEFINES.

"make update".

24 years agoEGD socket info.
Ulf Möller [Thu, 24 Feb 2000 17:18:51 +0000 (17:18 +0000)]
EGD socket info.

24 years agoremove some (apparently) obsolete entries.
Ulf Möller [Thu, 24 Feb 2000 17:17:29 +0000 (17:17 +0000)]
remove some (apparently) obsolete entries.
please put them back in if they're still valid, and remove others
that are outdated

24 years agoRemove structures that are no longer used.
Richard Levitte [Thu, 24 Feb 2000 14:00:05 +0000 (14:00 +0000)]
Remove structures that are no longer used.

24 years agonicer manpages
Ulf Möller [Thu, 24 Feb 2000 11:55:57 +0000 (11:55 +0000)]
nicer manpages

24 years agoAdd missing prototypes for new functions
Ralf S. Engelschall [Thu, 24 Feb 2000 10:48:36 +0000 (10:48 +0000)]
Add missing prototypes for new functions

24 years agoMake gcc 2.95.2 happy here, too.
Ralf S. Engelschall [Thu, 24 Feb 2000 10:37:58 +0000 (10:37 +0000)]
Make gcc 2.95.2 happy here, too.

24 years agoAdd an evil cast, because POSIX/SUSv2 define connect(2) require
Ralf S. Engelschall [Thu, 24 Feb 2000 10:36:51 +0000 (10:36 +0000)]
Add an evil cast, because POSIX/SUSv2 define connect(2) require
the second argument to be of type ``struct sockaddr *''.

24 years agoAvoid filename "test.c" because otherwise "make test"
Bodo Möller [Thu, 24 Feb 2000 09:48:12 +0000 (09:48 +0000)]
Avoid filename "test.c" because otherwise "make test"
will invoke a default rule built into make.

24 years agoFix NO_RSA (misplaced #endif).
Ulf Möller [Thu, 24 Feb 2000 04:41:03 +0000 (04:41 +0000)]
Fix NO_RSA (misplaced #endif).

24 years agoEGD info, as requested.
Ulf Möller [Thu, 24 Feb 2000 03:36:01 +0000 (03:36 +0000)]
EGD info, as requested.

24 years agoremove test "goto err"
Ulf Möller [Thu, 24 Feb 2000 03:03:01 +0000 (03:03 +0000)]
remove test "goto err"

24 years agoSupport EGD.
Ulf Möller [Thu, 24 Feb 2000 02:51:47 +0000 (02:51 +0000)]
Support EGD.

24 years ago0.9.5beta1 OpenSSL_0_9_5beta1
Richard Levitte [Thu, 24 Feb 2000 02:22:15 +0000 (02:22 +0000)]
0.9.5beta1

24 years agoMake it possible to have differing tar versions.
Richard Levitte [Thu, 24 Feb 2000 01:59:55 +0000 (01:59 +0000)]
Make it possible to have differing tar versions.

24 years agoCorrect a couple of command errors.
Richard Levitte [Thu, 24 Feb 2000 01:20:31 +0000 (01:20 +0000)]
Correct a couple of command errors.

24 years agoCRYPTO_num_locks()
Ulf Möller [Thu, 24 Feb 2000 00:22:17 +0000 (00:22 +0000)]
CRYPTO_num_locks()

24 years agoNew make target "report" to run util/selftest.pl
Ulf Möller [Wed, 23 Feb 2000 23:47:05 +0000 (23:47 +0000)]
New make target "report" to run util/selftest.pl

24 years agoyet another faq.
Ulf Möller [Wed, 23 Feb 2000 23:46:17 +0000 (23:46 +0000)]
yet another faq.

24 years agomake update
Richard Levitte [Wed, 23 Feb 2000 23:38:59 +0000 (23:38 +0000)]
make update

24 years agoAvoid saving any macros starting with a _, since that can create
Richard Levitte [Wed, 23 Feb 2000 22:45:22 +0000 (22:45 +0000)]
Avoid saving any macros starting with a _, since that can create
trouble if header files are included in some "impropper" order.
It's much better if the application programmer has to specify on his
or her own if _REENTRANT shall be defined and when.

24 years agocorrect macro.
Ulf Möller [Wed, 23 Feb 2000 22:11:07 +0000 (22:11 +0000)]
correct macro.

24 years ago*** empty log message ***
Ulf Möller [Wed, 23 Feb 2000 22:07:59 +0000 (22:07 +0000)]
*** empty log message ***

24 years agoRun the test suite and generate a report.
Ulf Möller [Wed, 23 Feb 2000 21:58:06 +0000 (21:58 +0000)]
Run the test suite and generate a report.

24 years agoadd missing names.
Ulf Möller [Wed, 23 Feb 2000 21:57:22 +0000 (21:57 +0000)]
add missing names.

24 years agoSync with Unix
Richard Levitte [Wed, 23 Feb 2000 19:41:09 +0000 (19:41 +0000)]
Sync with Unix

24 years agoanother faq.
Ulf Möller [Wed, 23 Feb 2000 19:26:59 +0000 (19:26 +0000)]
another faq.

24 years agothreads mapage.
Ulf Möller [Wed, 23 Feb 2000 18:10:42 +0000 (18:10 +0000)]
threads mapage.

24 years agominor docs changes (added links is the openssl(1) text)
Ulf Möller [Wed, 23 Feb 2000 17:09:50 +0000 (17:09 +0000)]
minor docs changes (added links is the openssl(1) text)

24 years agoFrequently asked questions.
Ulf Möller [Wed, 23 Feb 2000 17:03:06 +0000 (17:03 +0000)]
Frequently asked questions.

24 years agoAdd PBE algorithms with ciphers, not digests.
Dr. Stephen Henson [Wed, 23 Feb 2000 14:27:47 +0000 (14:27 +0000)]
Add PBE algorithms with ciphers, not digests.

24 years agoAllow ADH to be used but not present in the default cipher
Dr. Stephen Henson [Wed, 23 Feb 2000 01:11:01 +0000 (01:11 +0000)]
Allow ADH to be used but not present in the default cipher
list.

Allow CERTIFICATE to be used in PEM headers for PKCS#7 structures:
some CAs do this.

24 years agoMake pkcs8 work again.
Dr. Stephen Henson [Tue, 22 Feb 2000 18:45:11 +0000 (18:45 +0000)]
Make pkcs8 work again.

Make EVP_CIPHER_type() return NID_undef if the cipher has no
ASN1 OID, modify code to handle this.

24 years agoUpdate docs.
Dr. Stephen Henson [Tue, 22 Feb 2000 14:16:23 +0000 (14:16 +0000)]
Update docs.

24 years agowarning.
Ulf Möller [Tue, 22 Feb 2000 12:53:59 +0000 (12:53 +0000)]
warning.

24 years agoDon't list prototypes for internal functions.
Ulf Möller [Tue, 22 Feb 2000 12:01:50 +0000 (12:01 +0000)]
Don't list prototypes for internal functions.

24 years agoCheck tlen size in all padding_check functions. As called within the rsa
Ulf Möller [Tue, 22 Feb 2000 11:34:01 +0000 (11:34 +0000)]
Check tlen size in all padding_check functions. As called within the rsa
library, the output buffer always is large enough, but if the tlen
parameter is there, it should be checked in the interest of clarity,
as proposed by David Sacerdote <das33@cornell.edu>.

24 years agoCorrection to RSA_padding_check_xxx() docs (this time for real).
Ulf Möller [Tue, 22 Feb 2000 11:16:41 +0000 (11:16 +0000)]
Correction to RSA_padding_check_xxx() docs (this time for real).

24 years agoCorrection for RSA_padding_check_xxx() documentation.
Ulf Möller [Tue, 22 Feb 2000 11:11:41 +0000 (11:11 +0000)]
Correction for RSA_padding_check_xxx() documentation.

24 years agoChange EVP_MD_CTX_type so it is more logical and add EVP_MD_CTX_md for
Dr. Stephen Henson [Tue, 22 Feb 2000 02:59:26 +0000 (02:59 +0000)]
Change EVP_MD_CTX_type so it is more logical and add EVP_MD_CTX_md for
the old functionality.

Various warning fixes.

Initial EVP symmetric cipher docs.

24 years agoWorkarounds to make broken programs happy (such as s_client and s_server).
Bodo Möller [Mon, 21 Feb 2000 17:46:20 +0000 (17:46 +0000)]
Workarounds to make broken programs happy (such as s_client and s_server).

24 years agoFix some bugs and document others
Bodo Möller [Mon, 21 Feb 2000 17:09:54 +0000 (17:09 +0000)]
Fix some bugs and document others

24 years agoMove ssl3_do_write from s3_pkt.c to s3_both.c.
Bodo Möller [Mon, 21 Feb 2000 11:14:40 +0000 (11:14 +0000)]
Move ssl3_do_write from s3_pkt.c to s3_both.c.

24 years agoMore news.
Bodo Möller [Mon, 21 Feb 2000 10:40:36 +0000 (10:40 +0000)]
More news.

24 years agoMove MAC computations for Finished from ssl3_read_bytes into
Bodo Möller [Mon, 21 Feb 2000 10:16:30 +0000 (10:16 +0000)]
Move MAC computations for Finished from ssl3_read_bytes into
ssl3_get_message, which is more logical (and avoids a bug,
in addition to the one that I introduced yesterday :-)
and makes Microsoft "fast SGC" less special.
MS SGC should still work now without an extra state of its own
(it goes directly to SSL3_ST_SR_CLNT_HELLO_C, which is the usual state
for reading the body of a Client Hello message), however this should
be tested to make sure, and I don't have a MS SGC client.

24 years agoBlowfish docs.
Richard Levitte [Mon, 21 Feb 2000 03:01:23 +0000 (03:01 +0000)]
Blowfish docs.

24 years agoMore compact Configure usage message.
Ulf Möller [Mon, 21 Feb 2000 00:55:45 +0000 (00:55 +0000)]
More compact Configure usage message.

24 years agoMove the registration of callback functions to special functions
Richard Levitte [Sun, 20 Feb 2000 23:43:02 +0000 (23:43 +0000)]
Move the registration of callback functions to special functions
designed for that.  This removes the potential error to mix data and
function pointers.

Please note that I'm a little unsure how incorrect calls to the old
ctrl functions should be handled, in som cases.  I currently return 0
and that's it, but it may be more correct to generate a genuine error
in those cases.

24 years agoWorkaround for irrelevant problem.
Bodo Möller [Sun, 20 Feb 2000 23:40:01 +0000 (23:40 +0000)]
Workaround for irrelevant problem.

24 years agoignore Client Hellos when we're in handshake anyway
Bodo Möller [Sun, 20 Feb 2000 23:35:31 +0000 (23:35 +0000)]
ignore Client Hellos when we're in handshake anyway

24 years agoTolerate fragmentation and interleaving in the SSL 3/TLS record layer.
Bodo Möller [Sun, 20 Feb 2000 23:04:06 +0000 (23:04 +0000)]
Tolerate fragmentation and interleaving in the SSL 3/TLS record layer.

24 years agoDocument OPENSSL_VERSION_NUMBER
Ulf Möller [Sun, 20 Feb 2000 21:00:22 +0000 (21:00 +0000)]
Document OPENSSL_VERSION_NUMBER

24 years agoFix gcc warnings.
Ulf Möller [Sun, 20 Feb 2000 20:59:21 +0000 (20:59 +0000)]
Fix gcc warnings.

24 years agoChange the 'other' structure in certificate aux info.
Dr. Stephen Henson [Sun, 20 Feb 2000 18:27:23 +0000 (18:27 +0000)]
Change the 'other' structure in certificate aux info.

24 years agoAllow for higher granularity of entropy estimates by using 'double'
Bodo Möller [Sat, 19 Feb 2000 15:22:53 +0000 (15:22 +0000)]
Allow for higher granularity of entropy estimates by using 'double'
instead of 'unsigned' counters.
Seed PRNG in MacOS/GetHTTPS.src/GetHTTPS.cpp.

Partially submitted by Yoram Meroz <yoram@mail.idrive.com>.

24 years agoAdd -clrext option to 'x509'
Dr. Stephen Henson [Sat, 19 Feb 2000 00:46:02 +0000 (00:46 +0000)]
Add -clrext option to 'x509'

24 years agoKeep variable names consistent with corresponding pre-processor
Bodo Möller [Fri, 18 Feb 2000 21:08:37 +0000 (21:08 +0000)]
Keep variable names consistent with corresponding pre-processor
symbols.

24 years agoMake excluded cipher entry in opensslconf.h a bit more descriptive.
Ulf Möller [Fri, 18 Feb 2000 19:01:55 +0000 (19:01 +0000)]
Make excluded cipher entry in opensslconf.h a bit more descriptive.

24 years agoChange the example to show apr1 with an 8-character salt.
Bodo Möller [Fri, 18 Feb 2000 11:51:58 +0000 (11:51 +0000)]
Change the example to show apr1 with an 8-character salt.

24 years agoStay compatible to older Perl5 releases (see diff -r1.11 -r1.12).
Bodo Möller [Fri, 18 Feb 2000 11:35:10 +0000 (11:35 +0000)]
Stay compatible to older Perl5 releases (see diff -r1.11 -r1.12).

24 years agoAvoid potential conflicts between #defines in opensslconf.h and
Bodo Möller [Fri, 18 Feb 2000 11:15:32 +0000 (11:15 +0000)]
Avoid potential conflicts between #defines in opensslconf.h and
defines when compiling applications, and allow applications to
select what #defines to enable -- OPENSSL_EXLUCDE_DEFINES
enables the "#define NO_whatever" stuff only, which avoids
potential severe confusion caused by "#define _REENTRANT" when
opensslconf.h is not the first header file #included.

24 years agoadd missing 'static'
Bodo Möller [Fri, 18 Feb 2000 10:39:40 +0000 (10:39 +0000)]
add missing 'static'

24 years agoMake Configure add the configuration options that it was copmiled
Richard Levitte [Fri, 18 Feb 2000 09:11:37 +0000 (09:11 +0000)]
Make Configure add the configuration options that it was copmiled
with.

Currently, those defines are protected with a OPENSSL_EXCLUDED.  That
may not be the best strategy, but it will do for now.

24 years agoCosmetic change. No, openssl.h.in is not autogenerated :-)
Richard Levitte [Fri, 18 Feb 2000 09:06:55 +0000 (09:06 +0000)]
Cosmetic change.  No, openssl.h.in is not autogenerated :-)

24 years agoNew functions and option to use NEW in certificate requests.
Dr. Stephen Henson [Fri, 18 Feb 2000 00:54:21 +0000 (00:54 +0000)]
New functions and option to use NEW in certificate requests.

24 years agoMake sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...)
Bodo Möller [Thu, 17 Feb 2000 21:04:40 +0000 (21:04 +0000)]
Make sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...)
aka X509_LOOKUP_load_file(...) is always 0 or 1, not the counter
returned from the recently introduced function X509_load_cert_crl_file.
X509_STORE_load_locations expects X509_LOOKUP_load_file to return 1 on
success, and possibly there's other software that relies on this too.

24 years agoCasts now unnecessary because of changed prototype.
Bodo Möller [Thu, 17 Feb 2000 18:36:21 +0000 (18:36 +0000)]
Casts now unnecessary because of changed prototype.

24 years agoGet rid of evil cast.
Ben Laurie [Thu, 17 Feb 2000 09:39:22 +0000 (09:39 +0000)]
Get rid of evil cast.

24 years agoReflect API changes.
Ben Laurie [Thu, 17 Feb 2000 09:39:01 +0000 (09:39 +0000)]
Reflect API changes.

24 years agoAdd -pass argument to 'enc'.
Dr. Stephen Henson [Thu, 17 Feb 2000 00:41:43 +0000 (00:41 +0000)]
Add -pass argument to 'enc'.
Fix to make Win32 compile work again.

24 years agoPass phrase reorganisation.
Dr. Stephen Henson [Wed, 16 Feb 2000 23:16:01 +0000 (23:16 +0000)]
Pass phrase reorganisation.

24 years agoAdd support for Compaq Atalla crypto accelerator.
Ben Laurie [Wed, 16 Feb 2000 22:15:39 +0000 (22:15 +0000)]
Add support for Compaq Atalla crypto accelerator.

24 years agoMove primes to read-only segment.
Andy Polyakov [Wed, 16 Feb 2000 13:24:06 +0000 (13:24 +0000)]
Move primes to read-only segment.

24 years agoFix signed/unsigned warnings.
Ben Laurie [Wed, 16 Feb 2000 12:09:17 +0000 (12:09 +0000)]
Fix signed/unsigned warnings.

24 years agoInstall manpages below OPENSSLDIR (I think it was meant to be this way?).
Ulf Möller [Tue, 15 Feb 2000 18:34:46 +0000 (18:34 +0000)]
Install manpages below OPENSSLDIR (I think it was meant to be this way?).
New variable for man directory.

24 years agoCreate the man directories where the manpages will be put.
Ulf Möller [Tue, 15 Feb 2000 18:21:33 +0000 (18:21 +0000)]
Create the man directories where the manpages will be put.

24 years agoMove initial key to read-only segment.
Andy Polyakov [Tue, 15 Feb 2000 17:43:12 +0000 (17:43 +0000)]
Move initial key to read-only segment.

24 years agoMove CAST_S_tables to read-only segment.
Andy Polyakov [Tue, 15 Feb 2000 17:37:44 +0000 (17:37 +0000)]
Move CAST_S_tables to read-only segment.

24 years agoAvoid GNU C assembler templates under Solaris x86.
Andy Polyakov [Tue, 15 Feb 2000 17:31:12 +0000 (17:31 +0000)]
Avoid GNU C assembler templates under Solaris x86.

24 years agoNew NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
Andy Polyakov [Tue, 15 Feb 2000 17:20:52 +0000 (17:20 +0000)]
New NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
which can't stand GNU C assembler templates.

24 years agoFix for Netscape "hang" bug.
Dr. Stephen Henson [Tue, 15 Feb 2000 14:19:44 +0000 (14:19 +0000)]
Fix for Netscape "hang" bug.

24 years agotest_mont was exercising 100-bit multiplication modulus X*I-bit, where
Andy Polyakov [Tue, 15 Feb 2000 13:50:02 +0000 (13:50 +0000)]
test_mont was exercising 100-bit multiplication modulus X*I-bit, where
X is 5120 on 32-bit and 151552 on 64-bit architectures and I varies
from 0 to 4. As result the test was *unreasonably* slow and virtually
impossible to complete on 64-bit architectures (e.g. IRIX bc couldn't
even swallow such long lines).

24 years agoRemove the access() call altogether for VMS, since it doesn't quite
Richard Levitte [Tue, 15 Feb 2000 09:44:54 +0000 (09:44 +0000)]
Remove the access() call altogether for VMS, since it doesn't quite
work for directory specifications (this will be reported as a bug to
DEC^H^H^HCompaq).  It could as well be removed for all others as well,
since stat() and open() will return appropriate errors as well, but I
leave that to someone else to decide.

24 years agoTime ran away...
Richard Levitte [Mon, 14 Feb 2000 16:58:40 +0000 (16:58 +0000)]
Time ran away...

24 years agoAdd a couple of forgotten $(PERL), and make the code to run pod2html a
Richard Levitte [Mon, 14 Feb 2000 16:55:23 +0000 (16:55 +0000)]
Add a couple of forgotten $(PERL), and make the code to run pod2html a
tad more readable.

24 years agoModernise 'selfsign.c' to use new X509_NAME code
Dr. Stephen Henson [Sun, 13 Feb 2000 00:28:26 +0000 (00:28 +0000)]
Modernise 'selfsign.c' to use new X509_NAME code
and add example of extension aliasing. Also fix
the extension aliasing because it didn't work :-)

24 years agoHP-UX tune-up: new unified configs, HP C compiler bug workaround.
Andy Polyakov [Sat, 12 Feb 2000 23:33:01 +0000 (23:33 +0000)]
HP-UX tune-up: new unified configs, HP C compiler bug workaround.

24 years agoMake pkcs12 and smime applications seed random number
Dr. Stephen Henson [Sat, 12 Feb 2000 03:03:04 +0000 (03:03 +0000)]
Make pkcs12 and smime applications seed random number
generator (otherwise they don't work) and add -rand
option. Update docs.

24 years agoA hack to make sure access() will give us the correct answer about the
Richard Levitte [Fri, 11 Feb 2000 18:12:47 +0000 (18:12 +0000)]
A hack to make sure access() will give us the correct answer about the
accessability of an "empty" directory.  Thsi *is* weird, and a better
solution will be provided in apps/ca.c, when I get time to hack at it.

24 years agoCorrections.
Bodo Möller [Fri, 11 Feb 2000 17:18:50 +0000 (17:18 +0000)]
Corrections.

24 years agoUpdate.
Bodo Möller [Fri, 11 Feb 2000 16:31:04 +0000 (16:31 +0000)]
Update.

24 years agoImplement MD5-based "apr1" password hash.
Bodo Möller [Fri, 11 Feb 2000 16:25:44 +0000 (16:25 +0000)]
Implement MD5-based "apr1" password hash.