oweals/openssl.git
23 years agoBSDI ELF knows dlfcn.
Richard Levitte [Thu, 15 Mar 2001 20:36:19 +0000 (20:36 +0000)]
BSDI ELF knows dlfcn.

23 years agoForgot cvs commands, so only the surrounding changes made it... sigh.
Lutz Jänicke [Thu, 15 Mar 2001 12:42:56 +0000 (12:42 +0000)]
Forgot cvs commands, so only the surrounding changes made it... sigh.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Thu, 15 Mar 2001 12:42:06 +0000 (12:42 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_6-stable'.

23 years agoForgot "cvs add", so only the surrounding changes made it... sigh.
Lutz Jänicke [Thu, 15 Mar 2001 12:42:04 +0000 (12:42 +0000)]
Forgot "cvs add", so only the surrounding changes made it... sigh.

23 years agoError codes are longs, not ints
Bodo Möller [Thu, 15 Mar 2001 11:33:16 +0000 (11:33 +0000)]
Error codes are longs, not ints

23 years agoMore err_data memory leaks
Bodo Möller [Thu, 15 Mar 2001 11:33:00 +0000 (11:33 +0000)]
More err_data memory leaks

23 years agoavoid infinite loop
Bodo Möller [Thu, 15 Mar 2001 11:31:37 +0000 (11:31 +0000)]
avoid infinite loop

23 years agoerror codes are longs, not ints
Bodo Möller [Thu, 15 Mar 2001 11:30:55 +0000 (11:30 +0000)]
error codes are longs, not ints

23 years agoMore error_data memory leaks
Bodo Möller [Thu, 15 Mar 2001 11:30:10 +0000 (11:30 +0000)]
More error_data memory leaks

23 years agoIt is a good thing to prepare the .def files.
Richard Levitte [Thu, 15 Mar 2001 06:51:49 +0000 (06:51 +0000)]
It is a good thing to prepare the .def files.

23 years agoIt is a good thing to prepare the .def files.
Richard Levitte [Thu, 15 Mar 2001 06:51:32 +0000 (06:51 +0000)]
It is a good thing to prepare the .def files.

23 years agoA number of things have now been corrected.
Richard Levitte [Thu, 15 Mar 2001 06:15:26 +0000 (06:15 +0000)]
A number of things have now been corrected.
HP MPE/iX passes.

23 years agoDocument the -certopt option to the x509 utility.
Dr. Stephen Henson [Thu, 15 Mar 2001 01:15:54 +0000 (01:15 +0000)]
Document the -certopt option to the x509 utility.

Add no_issuer option.

Fix X509_print_ex() so it prints out newlines when
certain fields are omitted.

23 years agoThe former ULTRASPARC preprocessor symbol is now called
Bodo Möller [Wed, 14 Mar 2001 14:02:10 +0000 (14:02 +0000)]
The former ULTRASPARC preprocessor symbol is now called
OPENSSL_SYSNAME_ULTRASPARC, so we'd better check for that one

23 years ago0.9.6a-beta1 works for solaris64-sparcv9-cc.
Bodo Möller [Wed, 14 Mar 2001 13:44:59 +0000 (13:44 +0000)]
0.9.6a-beta1 works for solaris64-sparcv9-cc.

23 years agoThe VMS build script was missing a couple of modules.
Richard Levitte [Wed, 14 Mar 2001 13:39:30 +0000 (13:39 +0000)]
The VMS build script was missing a couple of modules.
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>

23 years agoInclude openssl/rand.h so RAND_status() gets properly declared.
Richard Levitte [Wed, 14 Mar 2001 13:36:50 +0000 (13:36 +0000)]
Include openssl/rand.h so RAND_status() gets properly declared.
Reported by Rob Neff <neff.ra@home.com>

23 years agoSigned vs. unsigned problem fix.
Richard Levitte [Wed, 14 Mar 2001 13:32:16 +0000 (13:32 +0000)]
Signed vs. unsigned problem fix.
Reported by Rob Neff <neff.ra@home.com>

23 years agoOn HP-UX 10, shareable libraries end with '.sl', not '.so'.
Richard Levitte [Wed, 14 Mar 2001 13:30:07 +0000 (13:30 +0000)]
On HP-UX 10, shareable libraries end with '.sl', not '.so'.
In part reported by Lynn Gazis <lgazis@IVEA.com>.  The rest of the
report is about SHLIB_PATH being ignored.  It was decided that using
it would break security.

23 years agoIrix fails.
Richard Levitte [Wed, 14 Mar 2001 07:00:57 +0000 (07:00 +0000)]
Irix fails.

23 years agoA few more reports.
Richard Levitte [Wed, 14 Mar 2001 06:57:16 +0000 (06:57 +0000)]
A few more reports.

23 years agoFix: return 0 if no error occured.
Bodo Möller [Tue, 13 Mar 2001 22:17:45 +0000 (22:17 +0000)]
Fix: return 0 if no error occured.

23 years agoFix: return 0 if no error occured.
Bodo Möller [Tue, 13 Mar 2001 22:17:10 +0000 (22:17 +0000)]
Fix: return 0 if no error occured.

23 years agomake update.
Richard Levitte [Tue, 13 Mar 2001 21:47:23 +0000 (21:47 +0000)]
make update.

23 years agoUpdate beta 1 status.
Richard Levitte [Tue, 13 Mar 2001 21:39:34 +0000 (21:39 +0000)]
Update beta 1 status.

23 years agoWe need to build MINFO.
Richard Levitte [Tue, 13 Mar 2001 21:38:53 +0000 (21:38 +0000)]
We need to build MINFO.

23 years agoWe need to build MINFO.
Richard Levitte [Tue, 13 Mar 2001 21:28:44 +0000 (21:28 +0000)]
We need to build MINFO.

23 years agotypo
Bodo Möller [Tue, 13 Mar 2001 16:30:09 +0000 (16:30 +0000)]
typo

23 years agoTagging has now been done, switch over to development of beta 2.
Richard Levitte [Tue, 13 Mar 2001 16:29:03 +0000 (16:29 +0000)]
Tagging has now been done, switch over to development of beta 2.
The tag for beta 1 is OpenSSL_0_9_6a-beta1.

23 years agoRelease Beta 1 of 0.9.6a. OpenSSL_0_9_6a-beta1
Richard Levitte [Tue, 13 Mar 2001 16:08:32 +0000 (16:08 +0000)]
Release Beta 1 of 0.9.6a.

23 years agoA correction from the main trunk that was forgotten.
Richard Levitte [Tue, 13 Mar 2001 14:39:51 +0000 (14:39 +0000)]
A correction from the main trunk that was forgotten.

23 years agomake update
Richard Levitte [Tue, 13 Mar 2001 12:12:05 +0000 (12:12 +0000)]
make update

Since there was some functions added in libeay.num, it means things
are going to move in libeay.num in the OpenSSL-engine-0_9_6-stable
branch and in the main trunk.

23 years agothat was useless - still fails with GCC
Ulf Möller [Tue, 13 Mar 2001 07:12:02 +0000 (07:12 +0000)]
that was useless - still fails with GCC

23 years agoUse err_clear_data macro
Bodo Möller [Tue, 13 Mar 2001 07:03:39 +0000 (07:03 +0000)]
Use err_clear_data macro

23 years agoUse err_clear_data macro
Bodo Möller [Tue, 13 Mar 2001 07:02:59 +0000 (07:02 +0000)]
Use err_clear_data macro

23 years agoAlpha workaround. This is a lot slower!
Ulf Möller [Tue, 13 Mar 2001 06:31:36 +0000 (06:31 +0000)]
Alpha workaround. This is a lot slower!

23 years agofix memory leak in err.c
Bodo Möller [Mon, 12 Mar 2001 18:39:47 +0000 (18:39 +0000)]
fix memory leak in err.c

23 years agofix memory leak in err.c
Bodo Möller [Mon, 12 Mar 2001 18:07:20 +0000 (18:07 +0000)]
fix memory leak in err.c

23 years agoRename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
Bodo Möller [Mon, 12 Mar 2001 07:26:23 +0000 (07:26 +0000)]
Rename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
which indicate its purpose more clearly.

23 years agoAdd various X9.62 OIDs. (GF(2^n) mostly left out.)
Bodo Möller [Sun, 11 Mar 2001 21:54:51 +0000 (21:54 +0000)]
Add various X9.62 OIDs. (GF(2^n) mostly left out.)

23 years agoInitial docs for PEM routines.
Dr. Stephen Henson [Sun, 11 Mar 2001 20:29:28 +0000 (20:29 +0000)]
Initial docs for PEM routines.

23 years agoEC_METHOD based on bn_mont2 (not used in the library)
Bodo Möller [Sun, 11 Mar 2001 17:43:07 +0000 (17:43 +0000)]
EC_METHOD based on bn_mont2 (not used in the library)

23 years agoForcibly enable memory leak checking during "make test"
Bodo Möller [Sun, 11 Mar 2001 14:49:46 +0000 (14:49 +0000)]
Forcibly enable memory leak checking during "make test"

23 years agoTimings are not supposed to be enabled by default ...
Bodo Möller [Sun, 11 Mar 2001 12:30:52 +0000 (12:30 +0000)]
Timings are not supposed to be enabled by default ...

23 years agoAdd functions EC_POINT_mul and EC_GROUP_precompute.
Bodo Möller [Sun, 11 Mar 2001 12:27:24 +0000 (12:27 +0000)]
Add functions EC_POINT_mul and EC_GROUP_precompute.
The latter does nothing for now, but its existence means
that applications can request precomputation when appropriate.

23 years agohandle negative scalars correctly when doing point multiplication
Bodo Möller [Sun, 11 Mar 2001 08:44:50 +0000 (08:44 +0000)]
handle negative scalars correctly when doing point multiplication

23 years agouse fflush
Bodo Möller [Sun, 11 Mar 2001 08:27:11 +0000 (08:27 +0000)]
use fflush

23 years agoChange timing output: We don't have "exponents" here, curves are
Bodo Möller [Sat, 10 Mar 2001 23:49:06 +0000 (23:49 +0000)]
Change timing output: We don't have "exponents" here, curves are
considered additive

23 years agocomment and error code update
Bodo Möller [Sat, 10 Mar 2001 23:37:52 +0000 (23:37 +0000)]
comment and error code update

23 years agoRemove files from Lenka's EC implementation.
Bodo Möller [Sat, 10 Mar 2001 23:26:41 +0000 (23:26 +0000)]
Remove files from Lenka's EC implementation.

23 years agoMore EC stuff, including EC_POINTs_mul() for simultaneous scalar
Bodo Möller [Sat, 10 Mar 2001 23:18:35 +0000 (23:18 +0000)]
More EC stuff, including EC_POINTs_mul() for simultaneous scalar
multiplication of an arbitrary number of points.

23 years agoDocument the change.
Richard Levitte [Sat, 10 Mar 2001 16:28:49 +0000 (16:28 +0000)]
Document the change.

23 years agoFor some experiments, it is sometimes nice to serve files with complete
Richard Levitte [Sat, 10 Mar 2001 16:20:52 +0000 (16:20 +0000)]
For some experiments, it is sometimes nice to serve files with complete
HTTP responses.

23 years agoIn crypto/ec #if 0 out structures which reference (currently)
Dr. Stephen Henson [Sat, 10 Mar 2001 12:37:01 +0000 (12:37 +0000)]
In crypto/ec #if 0 out structures which reference (currently)
non existent functions because this breaks shared libraries.

23 years agodoh
Ulf Möller [Sat, 10 Mar 2001 04:29:05 +0000 (04:29 +0000)]
doh

23 years agoTypo.
Dr. Stephen Henson [Sat, 10 Mar 2001 01:57:38 +0000 (01:57 +0000)]
Typo.

23 years agoAdd the 'ec' directory to mkdef.pl and mkfiles.pl
Dr. Stephen Henson [Sat, 10 Mar 2001 01:56:48 +0000 (01:56 +0000)]
Add the 'ec' directory to mkdef.pl and mkfiles.pl
so the Windows build can see it.

Fixup mkdef.pl so it doesn't mess up with function
names longer than 39 characters in length.

23 years agoUse 32bit longs on Alpha as well, because that's what the VMS
Richard Levitte [Fri, 9 Mar 2001 15:27:41 +0000 (15:27 +0000)]
Use 32bit longs on Alpha as well, because that's what the VMS
assembler code works with.

Of course, the assembler code could differ between platforms.  That
might happen in the future.

23 years agoInstead of telling both 'make' and the user that ranlib
Bodo Möller [Fri, 9 Mar 2001 14:01:42 +0000 (14:01 +0000)]
Instead of telling both 'make' and the user that ranlib
errors can be tolerated, hide the error from 'make'.
This gives shorter output both if ranlib fails and if
it works.

23 years agoUpdate docs.
Dr. Stephen Henson [Fri, 9 Mar 2001 13:57:14 +0000 (13:57 +0000)]
Update docs.

23 years agoWorkaround for solaris64 linking problem (explicit "ar rs" is needed
Bodo Möller [Fri, 9 Mar 2001 13:04:06 +0000 (13:04 +0000)]
Workaround for solaris64 linking problem (explicit "ar rs" is needed
to create a symbol table).

Sun patches such as 109147-06 probably fix this problem,
but we can easily avoid it.

23 years agoWorkaround for solaris64 linking problem (explicit "ar rs" is needed
Bodo Möller [Fri, 9 Mar 2001 13:00:52 +0000 (13:00 +0000)]
Workaround for solaris64 linking problem (explicit "ar rs" is needed
to create a symbol table).

Sun patches such as 109147-06 probably fix this problem,
but we can easily avoid it.

23 years agoConsistently use 'void *' for SSL read, peek and write functions.
Bodo Möller [Fri, 9 Mar 2001 10:09:20 +0000 (10:09 +0000)]
Consistently use 'void *' for SSL read, peek and write functions.

23 years agoConsistently use 'void *' for SSL read, peek and write functions.
Bodo Möller [Fri, 9 Mar 2001 10:08:06 +0000 (10:08 +0000)]
Consistently use 'void *' for SSL read, peek and write functions.

23 years agoChange the EVP_somecipher() and EVP_somedigest()
Dr. Stephen Henson [Fri, 9 Mar 2001 02:51:02 +0000 (02:51 +0000)]
Change the EVP_somecipher() and EVP_somedigest()
functions to return constant EVP_MD and EVP_CIPHER
pointers.

Update docs.

23 years agoBug fixes.
Richard Levitte [Fri, 9 Mar 2001 01:13:23 +0000 (01:13 +0000)]
Bug fixes.

23 years agoFix ec_GFp_simple_cmp.
Bodo Möller [Thu, 8 Mar 2001 22:52:49 +0000 (22:52 +0000)]
Fix ec_GFp_simple_cmp.

Use example group from Annex I of X9.62 in ectest.c.

23 years agossl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:56:34 +0000 (21:56 +0000)]
ssl23_peek

23 years agossl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:55:27 +0000 (21:55 +0000)]
ssl23_peek

23 years agoadd ssl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:54:02 +0000 (21:54 +0000)]
add ssl23_peek

23 years agoadd ssl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:53:29 +0000 (21:53 +0000)]
add ssl23_peek

23 years agoAvoid problems with multi-line NAME sections.
Bodo Möller [Thu, 8 Mar 2001 21:53:01 +0000 (21:53 +0000)]
Avoid problems with multi-line NAME sections.

23 years agoAvoid problems with multi-line NAME sections.
Bodo Möller [Thu, 8 Mar 2001 21:52:53 +0000 (21:52 +0000)]
Avoid problems with multi-line NAME sections.

23 years agoToo many dollars...
Richard Levitte [Thu, 8 Mar 2001 21:12:58 +0000 (21:12 +0000)]
Too many dollars...

23 years agoImplement EC_GFp_mont_method.
Bodo Möller [Thu, 8 Mar 2001 20:55:16 +0000 (20:55 +0000)]
Implement EC_GFp_mont_method.

23 years agoFixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for example)
Bodo Möller [Thu, 8 Mar 2001 19:34:14 +0000 (19:34 +0000)]
Fixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for example)

23 years agoMore method functions for elliptic curves,
Bodo Möller [Thu, 8 Mar 2001 19:14:52 +0000 (19:14 +0000)]
More method functions for elliptic curves,
and an ectest.c that actually tests something.

23 years agoBugfix: previously the serial number file could turn negative
Bodo Möller [Thu, 8 Mar 2001 19:13:24 +0000 (19:13 +0000)]
Bugfix: previously the serial number file could turn negative
because an incompletely initialized ASN1_INTEGER was used.

23 years agoAdd newly learned knowledge from yesterday's discussion.
Lutz Jänicke [Thu, 8 Mar 2001 17:25:49 +0000 (17:25 +0000)]
Add newly learned knowledge from yesterday's discussion.

23 years agoAdd newly learned knowledge from yesterday's discussion.
Lutz Jänicke [Thu, 8 Mar 2001 17:24:02 +0000 (17:24 +0000)]
Add newly learned knowledge from yesterday's discussion.

23 years agoWrite a small comment so we know...
Richard Levitte [Thu, 8 Mar 2001 17:22:38 +0000 (17:22 +0000)]
Write a small comment so we know...

23 years agoBuild ectest too.
Richard Levitte [Thu, 8 Mar 2001 17:22:05 +0000 (17:22 +0000)]
Build ectest too.

23 years agoSome EC function names are really long. Make aliases for VMS on VAX.
Richard Levitte [Thu, 8 Mar 2001 17:20:31 +0000 (17:20 +0000)]
Some EC function names are really long.  Make aliases for VMS on VAX.

23 years agonote the rand_win.c change
Ulf Möller [Thu, 8 Mar 2001 17:00:09 +0000 (17:00 +0000)]
note the rand_win.c change

23 years agoNote the rand_win.c change
Ulf Möller [Thu, 8 Mar 2001 16:58:07 +0000 (16:58 +0000)]
Note the rand_win.c change

23 years agoComment
Bodo Möller [Thu, 8 Mar 2001 16:53:30 +0000 (16:53 +0000)]
Comment

23 years agoreplace rdtsc as in HEAD
Ulf Möller [Thu, 8 Mar 2001 16:49:03 +0000 (16:49 +0000)]
replace rdtsc as in HEAD

23 years agoold MSVC versions don't have rdtsc
Ulf Möller [Thu, 8 Mar 2001 16:46:23 +0000 (16:46 +0000)]
old MSVC versions don't have rdtsc
use _emit instead

Pointed out by Jeremy Cooper <jeremy@baymoo.org>

23 years agoHide BN_CTX structure details.
Bodo Möller [Thu, 8 Mar 2001 15:56:15 +0000 (15:56 +0000)]
Hide BN_CTX structure details.

Incease the number of BIGNUMs in a BN_CTX.

23 years agoVMS catches up on the EC modifications.
Richard Levitte [Thu, 8 Mar 2001 14:40:20 +0000 (14:40 +0000)]
VMS catches up on the EC modifications.

23 years agoMake EVP_Digest*() routines return a value.
Dr. Stephen Henson [Thu, 8 Mar 2001 14:04:22 +0000 (14:04 +0000)]
Make EVP_Digest*() routines return a value.

TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.

23 years agoavoid compiler warning
Bodo Möller [Thu, 8 Mar 2001 14:02:28 +0000 (14:02 +0000)]
avoid compiler warning

23 years agoConstify BN_value_one.
Bodo Möller [Thu, 8 Mar 2001 13:58:09 +0000 (13:58 +0000)]
Constify BN_value_one.

23 years agoIntegrate ec_err.[co].
Bodo Möller [Thu, 8 Mar 2001 12:30:12 +0000 (12:30 +0000)]
Integrate ec_err.[co].

"make depend"

23 years agoThrow out *all* absolute pathnames, not matter what they look like.
Bodo Möller [Thu, 8 Mar 2001 12:27:44 +0000 (12:27 +0000)]
Throw out *all* absolute pathnames, not matter what they look like.
The filenames we are interested in for Makefile dependencies
are always relative.

23 years agoSort openssl.ec, the configuration file for mkerr.pl.
Bodo Möller [Thu, 8 Mar 2001 12:14:25 +0000 (12:14 +0000)]
Sort openssl.ec, the configuration file for mkerr.pl.

Change mkerr.pl so that it puts the ERR_load_..._strings()
prototype in header files that it writes.

23 years agoIntegrate ectest.c (which does not yet do anything).
Bodo Möller [Thu, 8 Mar 2001 11:59:48 +0000 (11:59 +0000)]
Integrate ectest.c (which does not yet do anything).

23 years agoOrder ERR_load_... calls like the stuff in err.h.
Bodo Möller [Thu, 8 Mar 2001 11:59:03 +0000 (11:59 +0000)]
Order ERR_load_... calls like the stuff in err.h.

23 years agoGet rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
Bodo Möller [Thu, 8 Mar 2001 11:45:44 +0000 (11:45 +0000)]
Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
(It cannot possibly help to avoid duplicate 'name of file' strings
in object files because the preprocessor does not work at object file
level.)

23 years agoLet EC_POINT_copy do nothing if dest==src
Bodo Möller [Thu, 8 Mar 2001 11:18:06 +0000 (11:18 +0000)]
Let EC_POINT_copy do nothing if dest==src