openssl.git
19 years agoDon't include sys/types.h if NO_SYS_TYPES_H is defined.
Richard Levitte [Sat, 26 Feb 2000 03:55:15 +0000 (03:55 +0000)]
Don't include sys/types.h if NO_SYS_TYPES_H is defined.

19 years agoThe OpenVMS library is most definitely not built for anything but
Richard Levitte [Sat, 26 Feb 2000 03:53:58 +0000 (03:53 +0000)]
The OpenVMS library is most definitely not built for anything but
files, unless it's all in unixly syntax.  We can't guarantee that
right now, so let's skip the whole test suit.  There are other places
(like the open()) where errors are detected anyway.

19 years agoAdd support for Unixware 7. Thanks to Ron Record <rr@sco.com> for the
Richard Levitte [Sat, 26 Feb 2000 03:51:55 +0000 (03:51 +0000)]
Add support for Unixware 7.  Thanks to Ron Record <rr@sco.com> for the
patch.

19 years agoMake clear which naming convention is meant.
Ulf Möller [Sat, 26 Feb 2000 02:24:16 +0000 (02:24 +0000)]
Make clear which naming convention is meant.

19 years agoFix shadow warning.
Dr. Stephen Henson [Sat, 26 Feb 2000 02:16:36 +0000 (02:16 +0000)]
Fix shadow warning.

19 years agoftruncate() and fileno() are not supported on all versions of OpenVMS
Richard Levitte [Sat, 26 Feb 2000 01:55:56 +0000 (01:55 +0000)]
ftruncate() and fileno() are not supported on all versions of OpenVMS
(they don't really exist before version 7), so that solution was toast.
Instead, let's do it the way it's done on Unix, but then remove older
versions of the file.

That new mechanism *may* fail for some unixly formated file spec,
although I wouldn't worry too much about it.

19 years agoRename functions for new convention.
Dr. Stephen Henson [Sat, 26 Feb 2000 01:55:33 +0000 (01:55 +0000)]
Rename functions for new convention.

19 years agoLet's avoid compiler warnings over types.
Richard Levitte [Sat, 26 Feb 2000 01:45:17 +0000 (01:45 +0000)]
Let's avoid compiler warnings over types.

Actually, this should be resolved by using size_t a bit more, but
that'll be for later.

19 years agoCompile rand_egd.c on VMS as well.
Richard Levitte [Sat, 26 Feb 2000 00:29:33 +0000 (00:29 +0000)]
Compile rand_egd.c on VMS as well.

19 years agoFor safety, check __VMS as well.
Richard Levitte [Sat, 26 Feb 2000 00:26:17 +0000 (00:26 +0000)]
For safety, check __VMS as well.

19 years agoCorrect small typo
Richard Levitte [Sat, 26 Feb 2000 00:18:48 +0000 (00:18 +0000)]
Correct small typo

19 years agoSince a stack with quite long name is declared here, vms_idhacks.h is
Richard Levitte [Sat, 26 Feb 2000 00:01:16 +0000 (00:01 +0000)]
Since a stack with quite long name is declared here, vms_idhacks.h is
also needed to get around C compilers on VMS that set the symbol limit
to 31 characters.  Bot the macros VMS and __VMS are checked, since
there's no real way to know if e_os.h has been included yet.

19 years agoSmall error fix.
Richard Levitte [Fri, 25 Feb 2000 23:33:16 +0000 (23:33 +0000)]
Small error fix.

19 years agoAdjust all the old scripts to deal with the new location.
Richard Levitte [Fri, 25 Feb 2000 23:18:27 +0000 (23:18 +0000)]
Adjust all the old scripts to deal with the new location.

19 years agoNew script to compile on systems that already have pthreads in the
Richard Levitte [Fri, 25 Feb 2000 23:17:46 +0000 (23:17 +0000)]
New script to compile on systems that already have pthreads in the
system.

19 years agoUpdate the two threads modules to conform to our recommendations (use
Richard Levitte [Fri, 25 Feb 2000 23:16:56 +0000 (23:16 +0000)]
Update the two threads modules to conform to our recommendations (use
CRYPTO_num_locks() instead of CRYPTO_NUM_LOCKS!), and correct all the
inconsistencies with the rest of OpenSSL.

At least, this compiles nicely on Linux using PTHREADS.  I've done no
other tests so far.

19 years agoSome time in history, SSL_CTX_sessions() disappeared. It is now
Richard Levitte [Fri, 25 Feb 2000 22:50:28 +0000 (22:50 +0000)]
Some time in history, SSL_CTX_sessions() disappeared.  It is now
restored, but not as a macro this time...

19 years agoflush output.
Ulf Möller [Fri, 25 Feb 2000 22:08:37 +0000 (22:08 +0000)]
flush output.
Looks like it fails when b is a power of 2, but I never get incorrect
results.

19 years agoAnother test passed
Richard Levitte [Fri, 25 Feb 2000 20:46:09 +0000 (20:46 +0000)]
Another test passed

19 years agoEnhance consistency by using BIO_flush() instead of fflush().
Richard Levitte [Fri, 25 Feb 2000 20:40:12 +0000 (20:40 +0000)]
Enhance consistency by using BIO_flush() instead of fflush().

19 years agoChanges to synchronise with Unix.
Richard Levitte [Fri, 25 Feb 2000 20:37:46 +0000 (20:37 +0000)]
Changes to synchronise with Unix.
(actually, much more is needed, like a real config script)

19 years agoTest the division functions.
Ulf Möller [Fri, 25 Feb 2000 20:28:54 +0000 (20:28 +0000)]
Test the division functions.

Apparently BN_div_recp reports an error for small divisors
(1,2,4,8,40).

I haven't got mismatches so far. If you can, please run the test
program for a few days (nohup divtest >out& or something), and if it
reports a mismatch, post the output.

19 years agoStatus update
Richard Levitte [Fri, 25 Feb 2000 20:21:46 +0000 (20:21 +0000)]
Status update

19 years agoLinux is almost the only one where getpid() == thread-id. IRIX is
Andy Polyakov [Fri, 25 Feb 2000 17:59:42 +0000 (17:59 +0000)]
Linux is almost the only one where getpid() == thread-id. IRIX is
another one, but only if you stick to sproc(2).

19 years agoUse unsigned loop index to make compilers happy
Bodo Möller [Fri, 25 Feb 2000 16:36:07 +0000 (16:36 +0000)]
Use unsigned loop index to make compilers happy

19 years agoThe main() return value is a program's exit code.
Ulf Möller [Fri, 25 Feb 2000 16:04:52 +0000 (16:04 +0000)]
The main() return value is a program's exit code.

19 years agolinks
Ulf Möller [Fri, 25 Feb 2000 16:00:24 +0000 (16:00 +0000)]
links

19 years agoThere're two (incompatible) ways to write multi-threaded programs under
Andy Polyakov [Fri, 25 Feb 2000 15:44:03 +0000 (15:44 +0000)]
There're two (incompatible) ways to write multi-threaded programs under
IRIX, one is to call sproc(2) when every thread does get own pid and
POSIX threads when all the threads share same pid.

19 years agomention RAND_egd()
Ulf Möller [Fri, 25 Feb 2000 15:43:33 +0000 (15:43 +0000)]
mention RAND_egd()

19 years agoThe previous revision should have generated _more_ warnings, not less ...
Bodo Möller [Fri, 25 Feb 2000 15:32:36 +0000 (15:32 +0000)]
The previous revision should have generated _more_ warnings, not less ...
The return value of handshake_func is signed, not unsigned.

19 years agoMore VC++ pickiness. (destest.c doesn't have a "return" and the usual
Geoff Thorpe [Fri, 25 Feb 2000 15:09:04 +0000 (15:09 +0000)]
More VC++ pickiness. (destest.c doesn't have a "return" and the usual
signed/unsigned stuff in s3_pkt.c)

Submitted by:
Reviewed by:
PR:

19 years agoGets around VC++ compiler pickiness. (long != double)
Geoff Thorpe [Fri, 25 Feb 2000 14:50:37 +0000 (14:50 +0000)]
Gets around VC++ compiler pickiness. (long != double)

PR:

19 years agoAdd OpenSSL licen[cs]e.
Bodo Möller [Fri, 25 Feb 2000 14:47:38 +0000 (14:47 +0000)]
Add OpenSSL licen[cs]e.

19 years agomt contained an old copy of mttest.c. remove it and move the other
Ulf Möller [Fri, 25 Feb 2000 14:40:31 +0000 (14:40 +0000)]
mt contained an old copy of mttest.c. remove it and move the other
files to crypto/threads

19 years agoFix off-by-one error :-)
Bodo Möller [Fri, 25 Feb 2000 14:40:11 +0000 (14:40 +0000)]
Fix off-by-one error :-)

19 years agoIn "make clean", delete files created by "make report".
Bodo Möller [Fri, 25 Feb 2000 14:34:55 +0000 (14:34 +0000)]
In "make clean", delete files created by "make report".

19 years agoFix warnings by using unsigned int where appropriate.
Bodo Möller [Fri, 25 Feb 2000 14:27:31 +0000 (14:27 +0000)]
Fix warnings by using unsigned int where appropriate.

19 years agoIgnore files that, well, should be ignored.
Bodo Möller [Fri, 25 Feb 2000 14:23:44 +0000 (14:23 +0000)]
Ignore files that, well, should be ignored.

19 years agoVC++ problem
Ulf Möller [Fri, 25 Feb 2000 14:19:45 +0000 (14:19 +0000)]
VC++ problem

19 years ago*** empty log message ***
Ulf Möller [Fri, 25 Feb 2000 14:19:17 +0000 (14:19 +0000)]
*** empty log message ***

19 years agoEGD bugfix.
Ulf Möller [Fri, 25 Feb 2000 14:16:43 +0000 (14:16 +0000)]
EGD bugfix.

Submitted by: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

19 years agoispell
Ulf Möller [Fri, 25 Feb 2000 14:07:51 +0000 (14:07 +0000)]
ispell

19 years agolinux-ppc
Ulf Möller [Fri, 25 Feb 2000 14:06:27 +0000 (14:06 +0000)]
linux-ppc

Submitted by: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

19 years agosigned/unsigned mismatch (VC++)
Ulf Möller [Fri, 25 Feb 2000 14:03:21 +0000 (14:03 +0000)]
signed/unsigned mismatch (VC++)

Submitted by: Peter 'Luna' Runestig" <peter+openssl-users@runestig.com>

19 years agodifferent snprintf version.
Ulf Möller [Fri, 25 Feb 2000 14:00:24 +0000 (14:00 +0000)]
different snprintf version.

19 years agoUse threads for linux-ppc.
Bodo Möller [Fri, 25 Feb 2000 13:45:30 +0000 (13:45 +0000)]
Use threads for linux-ppc.

19 years agoClarification.
Bodo Möller [Fri, 25 Feb 2000 07:48:02 +0000 (07:48 +0000)]
Clarification.

19 years agohandle entropy estimate correctly
Bodo Möller [Fri, 25 Feb 2000 07:40:53 +0000 (07:40 +0000)]
handle entropy estimate correctly

19 years agoAllow code which calls RSA temp key callback to cope
Dr. Stephen Henson [Fri, 25 Feb 2000 00:23:48 +0000 (00:23 +0000)]
Allow code which calls RSA temp key callback to cope
with a failure.

Fix typos in some error codes.

19 years agodivide the correct number...
Ulf Möller [Fri, 25 Feb 2000 00:14:50 +0000 (00:14 +0000)]
divide the correct number...

19 years agowork around a bug in BN_div_recp or BN_reciprocal
Ulf Möller [Thu, 24 Feb 2000 23:37:15 +0000 (23:37 +0000)]
work around a bug in BN_div_recp or BN_reciprocal

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

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

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

19 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:
----------------------------------------------------------------------

19 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
?)

19 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.

19 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.

19 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.

19 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".

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

19 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

19 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.

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

19 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

19 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.

19 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 *''.

19 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.

19 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).

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

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

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

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

19 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.

19 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.

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

19 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

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

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

19 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.

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

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

19 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.

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

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

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

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

19 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)

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

19 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.

19 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.

19 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.

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

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

19 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.

19 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>.

19 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).

19 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.

19 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.

19 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).