Richard Levitte
a9c33b529e
Merge from main trunk. No conflicts.
2000-09-21 07:38:47 +00:00
Richard Levitte
c200ff0446
Merge of main trunk, all conflicts resolved.
2000-09-20 14:44:44 +00:00
cvs2svn
a7ce1f0514
This commit was manufactured by cvs2svn to create branch 'BRANCH_engine'.
2000-09-20 13:55:51 +00:00
Richard Levitte
645749ef98
On VMS, stdout may very well lead to a file that is written to in a
...
record-oriented fashion. That means that every write() will write a
separate record, which will be read separately by the programs trying
to read from it. This can be very confusing.
The solution is to put a BIO filter in the way that will buffer text
until a linefeed is reached, and then write everything a line at a
time, so every record written will be an actual line, not chunks of
lines and not (usually doesn't happen, but I've seen it once) several
lines in one record. Voila, BIO_f_linebuffer() is born.
Since we're so close to release time, I'm making this VMS-only for
now, just to make sure no code is needlessly broken by this. After
the release, this BIO method will be enabled on all other platforms as
well.
2000-09-20 13:55:50 +00:00
Richard Levitte
4cae3ac371
Merge of main trunk, all conflicts resolved.
2000-09-20 13:45:44 +00:00
Bodo Möller
fe03519704
Totally remove the supposedly 'faster' variant in
...
BN_mod_mul_montgomery, which calls bn_sqr_recursive
without much preparation.
bn_sqr_recursive requires the length of its argument to be
a power of 2, which is not always the case here.
There's no reason for not using BN_sqr -- if a simpler
approach to squaring made sense, then why not change
BN_sqr? (Using BN_sqr should also speed up DH where g is chosen
such that it becomes small [e.g., 2] when converted
to Montgomery representation.)
Case closed :-)
2000-09-19 23:25:00 +00:00
Bodo Möller
a45bd29535
Document BN_mod_mul_montgomery bug;
...
make disabled code slightly more correct (this does not solve
the problem though).
2000-09-19 18:02:15 +00:00
Bodo Möller
f4364e0730
Disable buggy code variant in BN_mod_mul_montgomery that was enabled
...
in 0.9.6-beta1 and 0.9.6-beta2 and caused the BN_mont_exp_mont_word()
failure (bug report "openssh 2.2.0p1 fails with openssl 0.9.6-beta1").
2000-09-19 17:21:52 +00:00
Richard Levitte
2aa4e2e2d4
No engine stuff in the main trunk.
2000-09-18 16:07:20 +00:00
Dr. Stephen Henson
730e37edb6
Work around for Netscape PKCS#7 signedData bug.
2000-09-18 12:30:57 +00:00
Richard Levitte
24842e0586
Going through performance statistics sometimes generates an exception,
...
so disable that part.
Reported by Jeffrey Altman <jaltman@columbia.edu>
2000-09-18 11:51:07 +00:00
Richard Levitte
159cf04e86
cyclecount is only used when __GNUC__ isn't defined.
2000-09-18 11:44:40 +00:00
Richard Levitte
676432d4e1
Disable the net statistics gathering code, since different compilers
...
disagree on the proper syntax and type names.
2000-09-18 11:24:32 +00:00
Richard Levitte
4534fb1c86
Unless we cast, thorough compilers will complain
2000-09-18 08:40:55 +00:00
Richard Levitte
362f2b69ff
Jeffrey Altman reminds us to initialize some variables and ercommends the use of LOadLibrary instead of GetModuleHandle
2000-09-18 01:48:38 +00:00
Richard Levitte
ce6990739e
The rest of the merge in of the main trunk, a few conflicts resolved.
2000-09-17 20:37:33 +00:00
Richard Levitte
42cc160301
Merge in the main trunk, a few conflicts resolved.
2000-09-17 20:34:31 +00:00
Richard Levitte
a440d6636f
A new beta is being released. Change the version numbers
...
accordingly.
2000-09-17 20:19:44 +00:00
cvs2svn
0e61cfff53
This commit was manufactured by cvs2svn to create branch 'BRANCH_engine'.
2000-09-17 20:04:43 +00:00
Richard Levitte
d0c2ebf414
A patch from HP for better performance.
...
Submitted by Kevin Steves <ks@hp.se> 3 months ago...
2000-09-17 20:04:42 +00:00
Richard Levitte
1d95fb659d
Jeffrey Altman <jaltman@columbia.edu> sent me a patch that fixes the
...
problems with GetCursorInfo, but also adds network statistics and
performance statistics where available.
2000-09-17 18:42:13 +00:00
Richard Levitte
62324627aa
Use sk_*_new_null() instead of sk_*_new(NULL), since that takes care
...
of complaints from the compiler about data pointers and function
pointers not being compatible with each other.
2000-09-17 18:21:27 +00:00
Richard Levitte
f77600524f
Since there are some big symbols, engine.h needs to include
...
symhacks.h.
2000-09-17 18:16:02 +00:00
Richard Levitte
ebcdd0c43e
Merge from the main trunk and a 'make update'.
2000-09-17 15:56:27 +00:00
Richard Levitte
60dae9985d
Some platforms define NULL as ((void *)0). Unfortunately, a void*
...
can't be used as a function pointer according the the standards. Use
a 0 instead and there will be no trouble.
2000-09-17 14:46:09 +00:00
Richard Levitte
df320c4473
A couple of more names need to be shortened for VMS on VAX.
2000-09-17 14:44:35 +00:00
Richard Levitte
3aa477f6ec
Make sure Compaq C doesn'r complain about dollars, and go around the
...
incompatibility between function and data pointers.
2000-09-17 14:42:46 +00:00
Bodo Möller
07fcf422a1
Rename new BIO_set_shutdown_wr macro to just BIO_shutdown_wr
...
(it's similar to the shutdown(..., SHUT_WR) system call
for sockets).
2000-09-17 01:23:53 +00:00
Richard Levitte
8de7587e02
Merge from main trunk.
2000-09-17 00:10:29 +00:00
Dr. Stephen Henson
2c281ebb6c
New macro BIO_set_shutdown_wr().
...
Update docs.
2000-09-16 21:21:01 +00:00
Richard Levitte
f30839ecaa
Merged in the main trunk, did a 'make update', added a couple of
...
warnings in appropriate places about building a shared library from
the ENGINE source.
2000-09-15 22:36:49 +00:00
Richard Levitte
5ce0e07da7
Compile all dso files on VMS as well.
2000-09-15 22:16:41 +00:00
cvs2svn
eb31944f81
This commit was manufactured by cvs2svn to create branch 'BRANCH_engine'.
2000-09-15 22:12:54 +00:00
Richard Levitte
ea4e4149af
Make sure dso_vms.c compiles on other operating systems as well.
2000-09-15 22:12:53 +00:00
Richard Levitte
0e05f54516
A DSO method for VMS was missing, and I had the code lying around...
2000-09-15 21:22:50 +00:00
Richard Levitte
a4129c6e33
Add a flag for OpenVMS.
2000-09-15 13:59:30 +00:00
Richard Levitte
848f3d40c8
Later, Jeffrey changed his mind. Apparently, GetCursorInfo exists but
...
doesn't quite work on WinNT 4 earlier than SP6. It works fine on
Windows 98 and Windows 2000.
I'm disabling it for now. What's really needed is some kind of check
to see if GetCursorInfo is safe to call, or alternatively, GetCursor
or GetCursorPos could be used, according to Jeffrey.
2000-09-15 11:33:14 +00:00
Ulf Möller
1949e78336
Jeffrey Altman points out that GetQueueStatus() crashes on NT.
2000-09-15 04:20:40 +00:00
Ulf Möller
1d84fd64fc
Bug fix: Montgomery multiplication could produce results with the wrong
...
sign.
2000-09-14 18:37:53 +00:00
Richard Levitte
7abee0cedf
Jeffrey Altman convinced me this patch was really needed, or there is
...
no way to make sure GetCursorInfo will give us a valid answer.
2000-09-14 09:19:19 +00:00
Richard Levitte
0dcf7fd543
Merge of main trunk, conflicts resolved.
2000-09-13 21:20:49 +00:00
Ulf Möller
24b8bf2163
Point to Peter Gutmann's revised paper.
...
The copy at www.usenix.org is the old version.
2000-09-13 14:24:07 +00:00
Richard Levitte
c0366d89f6
3 changes:
...
- Make sure PCURSORINFO is defined even on systems that do not provide it.
- Change the reference to Peter Gutmann's paper.
- Make sure we don't walk the whole heap lists for performance reasons.
Jeffrey Altman suggests following Peter Gutmann's advice to keep it
to 50 heap entries per heap list.
2000-09-13 07:17:35 +00:00
Ulf Möller
c11dead17c
Don't set the two top bits to one when generating a random number < q.:wq
2000-09-13 01:45:54 +00:00
Richard Levitte
2be9694116
Merge of main trunk, conflicts resolved.
2000-09-12 08:37:51 +00:00
Richard Levitte
8e1ec9fb37
Actually, that was perfectly correct. The fault is in the checking
...
elsewhere.
2000-09-11 22:17:31 +00:00
Richard Levitte
dc005a7367
cswift_dsa_verify() incorrectly return -1 on error.
2000-09-11 22:15:53 +00:00
Richard Levitte
74d2b0f112
Don't include e_os.h before the system headers
2000-09-11 16:37:36 +00:00
Richard Levitte
da867a51a0
Time to build the beta of the engine branch. Change version number
...
texts accordingly.
2000-09-11 13:28:35 +00:00
Richard Levitte
25814b9690
Merge of main trunk, no conflicts this time.
...
make update
2000-09-11 13:23:47 +00:00