Richard Levitte [Wed, 20 Sep 2000 13:55:50 +0000 (13:55 +0000)]
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.
Bodo Möller [Tue, 19 Sep 2000 23:25:00 +0000 (23:25 +0000)]
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.)
Bodo Möller [Tue, 19 Sep 2000 17:21:52 +0000 (17:21 +0000)]
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").
Richard Levitte [Sun, 17 Sep 2000 18:42:13 +0000 (18:42 +0000)]
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.
Richard Levitte [Sun, 17 Sep 2000 18:21:27 +0000 (18:21 +0000)]
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.
Richard Levitte [Sun, 17 Sep 2000 14:46:09 +0000 (14:46 +0000)]
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.
Richard Levitte [Sat, 16 Sep 2000 23:32:33 +0000 (23:32 +0000)]
Move text that isn't really descriptions of the functions in the page
to the NOTES section, and add references to the functions mentioned
(and perhaps a few more).
Richard Levitte [Fri, 15 Sep 2000 11:33:14 +0000 (11:33 +0000)]
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.
Richard Levitte [Thu, 14 Sep 2000 21:23:28 +0000 (21:23 +0000)]
In the name section, all the functions described shoud be enumerated.
This will also make it much simpler to generate softlinks name like
each function to man-pages containing the info.
Richard Levitte [Thu, 14 Sep 2000 20:24:56 +0000 (20:24 +0000)]
BIO_seed() and BIO_tell() were documented in two other documents,
which is redundant. They are now in their own document.
Also, in the name section, all the functions described shoud be
enumerated. This will also make it much simpler to generate softlinks
name like each function to man-pages containing the info.
This combines several manual pages provided by
Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>,
various comments by Bodo to the lists and a bit
of source examination by me.
Richard Levitte [Thu, 14 Sep 2000 13:17:55 +0000 (13:17 +0000)]
Remove indentation in the NAME section. There's really no need to
indent there, especially since the pod2* scripts will regard that as
preformated text. In one case, indent a code section one step.