oweals/openssl.git
24 years agoBug fix.
Ulf Möller [Tue, 29 Feb 2000 14:47:29 +0000 (14:47 +0000)]
Bug fix.

Pointed out by: Gisle Vanem <gvanem@eunet.no>

24 years agoForgot to check correctly for the new options
Richard Levitte [Mon, 28 Feb 2000 23:54:20 +0000 (23:54 +0000)]
Forgot to check correctly for the new options

24 years agoMingw32 can now use assembler.
Ulf Möller [Mon, 28 Feb 2000 21:04:10 +0000 (21:04 +0000)]
Mingw32 can now use assembler.

24 years agoSwitch for turning on the predictable "random" number generator.
Ulf Möller [Mon, 28 Feb 2000 20:19:39 +0000 (20:19 +0000)]
Switch for turning on the predictable "random" number generator.

24 years agoFix for non-monolithic build.
Ulf Möller [Mon, 28 Feb 2000 20:16:06 +0000 (20:16 +0000)]
Fix for non-monolithic build.

Submitted by: Andrew Gray <agray@iconsinc.com>

24 years agoSupport assembler for Mingw32.
Ulf Möller [Mon, 28 Feb 2000 19:16:41 +0000 (19:16 +0000)]
Support assembler for Mingw32.

24 years agoShared library support for Solaris and HPUX
Ulf Möller [Mon, 28 Feb 2000 19:14:46 +0000 (19:14 +0000)]
Shared library support for Solaris and HPUX
by Lutz Behnke and by Lutz Jaenicke.

Hopefully we'll have a unified way of handling shared libraries when
we move to autoconf...

24 years agoSwitch to 0.9.6, and finally remove the annoying message
Bodo Möller [Mon, 28 Feb 2000 18:03:16 +0000 (18:03 +0000)]
Switch to 0.9.6, and finally remove the annoying message
about renamed header files.

24 years agoOuch! PKCS7_encrypt() was heading MIME text headers twice
Dr. Stephen Henson [Mon, 28 Feb 2000 14:11:19 +0000 (14:11 +0000)]
Ouch! PKCS7_encrypt() was heading MIME text headers twice
because it added them manually and as part of SMIME_crlf_copy().
Removed the manual add.

24 years agoTagging has been done, time to switch to 0.9.6-dev.
Richard Levitte [Mon, 28 Feb 2000 12:11:39 +0000 (12:11 +0000)]
Tagging has been done, time to switch to 0.9.6-dev.

24 years agoTime for a release
Richard Levitte [Mon, 28 Feb 2000 11:59:02 +0000 (11:59 +0000)]
Time for a release

24 years agoA few more tests were reported.
Richard Levitte [Mon, 28 Feb 2000 11:32:42 +0000 (11:32 +0000)]
A few more tests were reported.

24 years agoTypo corrected.
Richard Levitte [Mon, 28 Feb 2000 11:30:31 +0000 (11:30 +0000)]
Typo corrected.

24 years agoShort is always promoted to int when passed as a function argument.
Richard Levitte [Sun, 27 Feb 2000 23:17:18 +0000 (23:17 +0000)]
Short is always promoted to int when passed as a function argument.
This is especially true when it's part of a '...'.

24 years agoInclude rand.h so RAND_pseudo_bytes may be declared.
Richard Levitte [Sun, 27 Feb 2000 22:57:53 +0000 (22:57 +0000)]
Include rand.h so RAND_pseudo_bytes may be declared.
Remove one ampersand so the compiler may complain less.
Make rand() static so it will not conflict with the C RTL.
Make bug() static too, for good measure.

24 years agoMore platforms passed the test.
Richard Levitte [Sun, 27 Feb 2000 20:14:03 +0000 (20:14 +0000)]
More platforms passed the test.

24 years agoMore tests passed.
Andy Polyakov [Sun, 27 Feb 2000 19:58:16 +0000 (19:58 +0000)]
More tests passed.

24 years agoworks on solaris
Ulf Möller [Sun, 27 Feb 2000 19:24:57 +0000 (19:24 +0000)]
works on solaris

24 years agoUpdate the OpenVMS/VAX status
Richard Levitte [Sun, 27 Feb 2000 19:06:27 +0000 (19:06 +0000)]
Update the OpenVMS/VAX status

24 years agoIRIX6* tests passed.
Andy Polyakov [Sun, 27 Feb 2000 18:55:01 +0000 (18:55 +0000)]
IRIX6* tests passed.

24 years agoMacOS tidbits. Add new files to the project, update config.
Andy Polyakov [Sun, 27 Feb 2000 18:50:10 +0000 (18:50 +0000)]
MacOS tidbits. Add new files to the project, update config.

24 years agocorrections
Ulf Möller [Sun, 27 Feb 2000 18:35:29 +0000 (18:35 +0000)]
corrections

24 years agoWorks with gcc 2.8.0 as well.
Richard Levitte [Sun, 27 Feb 2000 17:56:54 +0000 (17:56 +0000)]
Works with gcc 2.8.0 as well.

24 years agoNo, the VAX is not a 64 bit architecture.
Richard Levitte [Sun, 27 Feb 2000 17:43:39 +0000 (17:43 +0000)]
No, the VAX is not a 64 bit architecture.

24 years agoUse standard header file string.h for memset prototype (where
Bodo Möller [Sun, 27 Feb 2000 17:37:41 +0000 (17:37 +0000)]
Use standard header file string.h for memset prototype (where
"standard" refers to the C language, probably there's also some
standard that defines memory.h).

24 years agoDon't call BN_rand with zero bits in bntest.c
Dr. Stephen Henson [Sun, 27 Feb 2000 17:34:30 +0000 (17:34 +0000)]
Don't call BN_rand with zero bits in bntest.c

24 years agoMake sure to catch UnixWare 7, even if the version is 7.1.1 or
Richard Levitte [Sun, 27 Feb 2000 17:23:25 +0000 (17:23 +0000)]
Make sure to catch UnixWare 7, even if the version is 7.1.1 or
something like that.

24 years agoUpdate config for the unixware targets by looking at what was done in
Richard Levitte [Sun, 27 Feb 2000 17:17:43 +0000 (17:17 +0000)]
Update config for the unixware targets by looking at what was done in
Apache's GuessOS (from Apache 1.3.1).

24 years agoDeclare memset.
Ben Laurie [Sun, 27 Feb 2000 17:01:20 +0000 (17:01 +0000)]
Declare memset.

24 years agoTypo.
Ben Laurie [Sun, 27 Feb 2000 16:56:48 +0000 (16:56 +0000)]
Typo.

24 years agoAIX and HP-UX are passing the tests.
Richard Levitte [Sun, 27 Feb 2000 16:42:55 +0000 (16:42 +0000)]
AIX and HP-UX are passing the tests.

Warning about old gcc, though (and I recall getting in trouble with
gcc 2.8.0.  I'll try that again).

24 years agoOpenSSL doesn't compile well on OpenVMS/VAX, it seems.
Richard Levitte [Sun, 27 Feb 2000 16:11:06 +0000 (16:11 +0000)]
OpenSSL doesn't compile well on OpenVMS/VAX, it seems.

I'm looking into it, it's probably a simple script error.

24 years agoOne test passed for VMS.
Richard Levitte [Sun, 27 Feb 2000 15:58:09 +0000 (15:58 +0000)]
One test passed for VMS.

24 years agoA new beta has been released, and one test is documented.
Richard Levitte [Sun, 27 Feb 2000 14:44:43 +0000 (14:44 +0000)]
A new beta has been released, and one test is documented.

24 years agoOpenVMS often has problems with files with more than on period in it.
Richard Levitte [Sun, 27 Feb 2000 14:03:58 +0000 (14:03 +0000)]
OpenVMS often has problems with files with more than on period in it.
Here's instructions on what to do if you get into trouble because of
that.

24 years agoremove obsolete BN_CTX info
Ulf Möller [Sun, 27 Feb 2000 12:30:07 +0000 (12:30 +0000)]
remove obsolete BN_CTX info

24 years agoAdd a comment.
Bodo Möller [Sun, 27 Feb 2000 11:48:32 +0000 (11:48 +0000)]
Add a comment.

24 years agoFor lack of a better name, this is now called 0.9.5beta3-dev until the
Richard Levitte [Sun, 27 Feb 2000 11:12:58 +0000 (11:12 +0000)]
For lack of a better name, this is now called 0.9.5beta3-dev until the
release.

24 years agoChange version string to reflect the release of beta 2. OpenSSL_0_9_5beta2
Richard Levitte [Sun, 27 Feb 2000 11:07:23 +0000 (11:07 +0000)]
Change version string to reflect the release of beta 2.

24 years agoStop logging all the files that are copied all over the place...
Richard Levitte [Sun, 27 Feb 2000 11:04:09 +0000 (11:04 +0000)]
Stop logging all the files that are copied all over the place...

24 years agoNew logical names to skip algorithms are now supported.
Richard Levitte [Sun, 27 Feb 2000 10:41:31 +0000 (10:41 +0000)]
New logical names to skip algorithms are now supported.

24 years agoNew logical names to skip algorithms are now supported.
Richard Levitte [Sun, 27 Feb 2000 10:39:41 +0000 (10:39 +0000)]
New logical names to skip algorithms are now supported.
Also, on Alpha, vms.mar is no longer used (it produced a lot of
confusing messages) for BN.  Instead, the assembler part of bn_lcl.h
is used.

24 years agoNew "target": CONFIG. This will build the opensslconf.h file from
Richard Levitte [Sun, 27 Feb 2000 10:35:15 +0000 (10:35 +0000)]
New "target": CONFIG.  This will build the opensslconf.h file from
what is known about VAX and Alpha running VMS, and from the
opensslconf.h.in (in VMS often named OPENSSLCONF.H_IN) file.

24 years agoAdd and change docs for the changes that have been made.
Richard Levitte [Sun, 27 Feb 2000 10:26:35 +0000 (10:26 +0000)]
Add and change docs for the changes that have been made.

24 years agoput function names in the title.
Ulf Möller [Sun, 27 Feb 2000 02:38:41 +0000 (02:38 +0000)]
put function names in the title.

24 years agoStatement that it fails only on 32-bit architectures isn't true.
Andy Polyakov [Sun, 27 Feb 2000 02:34:37 +0000 (02:34 +0000)]
Statement that it fails only on 32-bit architectures isn't true.

24 years agoOverly long lines look ugly in the DOS editor. :)
Ulf Möller [Sun, 27 Feb 2000 02:19:48 +0000 (02:19 +0000)]
Overly long lines look ugly in the DOS editor. :)

24 years agoBug fix!
Ulf Möller [Sun, 27 Feb 2000 02:05:39 +0000 (02:05 +0000)]
Bug fix!

24 years agoFix so Win32 compiles again...
Dr. Stephen Henson [Sun, 27 Feb 2000 01:39:41 +0000 (01:39 +0000)]
Fix so Win32 compiles again...

24 years agoFix so Win32 assembly language works with MASM.
Dr. Stephen Henson [Sun, 27 Feb 2000 01:15:25 +0000 (01:15 +0000)]
Fix so Win32 assembly language works with MASM.

Add info about where to get MASM.

24 years ago*** empty log message ***
Ulf Möller [Sun, 27 Feb 2000 00:00:56 +0000 (00:00 +0000)]
*** empty log message ***

24 years agoworkaround no longer needed
Ulf Möller [Sat, 26 Feb 2000 22:37:43 +0000 (22:37 +0000)]
workaround no longer needed

24 years agoremove
Ulf Möller [Sat, 26 Feb 2000 22:37:34 +0000 (22:37 +0000)]
remove

24 years agoReorganize bn_mul.c (no bugfix yet), remove obsolete files in BN library.
Ulf Möller [Sat, 26 Feb 2000 22:16:47 +0000 (22:16 +0000)]
Reorganize bn_mul.c (no bugfix yet), remove obsolete files in BN library.

24 years agominor clarification
Ulf Möller [Sat, 26 Feb 2000 22:06:02 +0000 (22:06 +0000)]
minor clarification

24 years agoMake ASN1 types real typedefs.
Dr. Stephen Henson [Sat, 26 Feb 2000 19:25:31 +0000 (19:25 +0000)]
Make ASN1 types real typedefs.

Rebuild error files.

24 years agoBN_div_recp fix. I've ran divtest for 10 mins and it didn't exhibit a
Andy Polyakov [Sat, 26 Feb 2000 16:20:05 +0000 (16:20 +0000)]
BN_div_recp fix. I've ran divtest for 10 mins and it didn't exhibit a
single fault:-) Needless to mention that bnbug.c posted couple of days
ago passes as well...

24 years agoA small script to compile mttest.c on VMS as well.
Richard Levitte [Sat, 26 Feb 2000 11:17:33 +0000 (11:17 +0000)]
A small script to compile mttest.c on VMS as well.

24 years agoMake sure there's some entropy, and log a few more errors.
Richard Levitte [Sat, 26 Feb 2000 11:02:31 +0000 (11:02 +0000)]
Make sure there's some entropy, and log a few more errors.

24 years agoMore get0 et al. changes. Also provide fgrep targets in CHANGES
Bodo Möller [Sat, 26 Feb 2000 08:36:46 +0000 (08:36 +0000)]
More get0 et al. changes.  Also provide fgrep targets in CHANGES
where the new functions are mentioned.

24 years agomake update
Richard Levitte [Sat, 26 Feb 2000 04:48:22 +0000 (04:48 +0000)]
make update

24 years agoMake sure that all test files are gone before starting the tests, or
Richard Levitte [Sat, 26 Feb 2000 03:59:46 +0000 (03:59 +0000)]
Make sure that all test files are gone before starting the tests, or
backup will complain about some version not existing.  Perhaps.

24 years agoMove to using the same perl code as Makefile.ssl
Richard Levitte [Sat, 26 Feb 2000 03:58:36 +0000 (03:58 +0000)]
Move to using the same perl code as Makefile.ssl

24 years agoJust as in Unix, make sure to generate some kind of "random data".
Richard Levitte [Sat, 26 Feb 2000 03:57:35 +0000 (03:57 +0000)]
Just as in Unix, make sure to generate some kind of "random data".

24 years agoTypo corrected.
Richard Levitte [Sat, 26 Feb 2000 03:56:09 +0000 (03:56 +0000)]
Typo corrected.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 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().

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

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

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

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

24 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

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

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

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

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

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

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

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

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

24 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

24 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 :-)