Richard Levitte
eec6e53851
Eh, this branch is not version 0.9.6, it's the development of 0.9.6a.
2001-01-24 16:21:21 +00:00
Ulf Möller
0a0a261d64
Irix fix as in main branch
2001-01-23 16:29:06 +00:00
Bodo Möller
2e72fde15f
As in the main branch, there's no longer a need to guess the bc
...
version at compile time.
2001-01-18 12:41:25 +00:00
Dr. Stephen Henson
8bcceacf34
Fix PKCS#12 PBE routines to cope with passwords
...
from PEM callbacks which are not null terminated.
2001-01-14 14:14:45 +00:00
Dr. Stephen Henson
5860ecb8ec
Fix uni2asc() so it can properly convert zero length
...
unicode strings. Certain PKCS#12 files contain these
in BMPStrings and it used to crash on them.
2001-01-10 01:14:23 +00:00
Bodo Möller
2fb0c899c6
Include CRYPTO_mem_leaks deadlock fix.
2000-12-20 10:07:31 +00:00
Bodo Möller
73bc0cfd93
fix indentation
2000-12-19 12:39:12 +00:00
Bodo Möller
cbfa030de7
Don't hold CRYPTO_LOCK_RSA during time-consuming operations.
2000-12-19 12:19:16 +00:00
Bodo Möller
bb617a9646
Obtain lock CRYPTO_LOCK_RSA before creating BN_MONT_CTX
...
structures and setting rsa->_method_mod_{n,p,q}.
Submitted by: "Reddie, Steven" <Steven.Reddie@ca.com>
2000-12-18 16:36:07 +00:00
Bodo Möller
79370621ea
Change error message to "bignum too long"
2000-12-04 09:32:26 +00:00
Bodo Möller
4c4f1ee4de
include <limits.h>
2000-12-03 09:55:01 +00:00
Bodo Möller
fe772376ec
Don't allow BIGNUMs to become so large that computations with dmax
...
might overflow.
2000-12-03 09:37:15 +00:00
Ulf Möller
99cf5acd5c
fix for Borland C
2000-12-01 03:06:55 +00:00
Bodo Möller
d2c38b1c73
Fix BN_rshift.
2000-11-30 22:35:52 +00:00
Bodo Möller
ddf72ed59f
SSL_CTX-related fixes.
2000-11-08 10:09:10 +00:00
Dr. Stephen Henson
6502735b9c
Fix from main trunk, 2000-10-04 03:16:34 steve:
...
Fix for bug in DirectoryString mask setting.
Fix from main trunk, 2000-10-20 01:16:49 steve:
Move expired CA certificate.
Fix from main trunk, 2000-10-20 02:36:47 steve:
Stop MASM debug warning.
2000-10-27 23:52:35 +00:00
Richard Levitte
0188a53d19
Fix from main trunk, 2000-10-22 14:47 levitte:
...
Pointer error corrected
2000-10-27 20:29:10 +00:00
Richard Levitte
1433ae4790
Fix from main trunk, 2000-10-13 10:30 levitte:
...
Make the new conf implementatoin bug-compatible with the old one.
Actually, it's a feature that it goes looking at environment
variables. It's just a pity that it's at the cost of the error
checking... I'll see if I can come up with a better interface for
this.
Fix from main trunk, 2000-10-16 15:08 ben:
Always return a value.
2000-10-27 20:18:00 +00:00
Richard Levitte
a506153219
Fix from main trunk, 2000-10-16 08:01 levitte:
...
CRYPTO_get_ex_new_index would never return an error.
2000-10-27 20:12:05 +00:00
Richard Levitte
bee4756251
Fix from main trunk, 2000-10-15 01:51 steve:
...
Fix for typo in certificate directory lookup code.
2000-10-27 20:09:13 +00:00
Richard Levitte
4c3853abea
Fix from main trunk, 2000-10-09 18:40 bodo:
...
BIO_sock_init() returns 1 for success and -1 for failure, not 0; thus
the condition '!BIO_sock_init()' doesn't make sense.
2000-10-11 10:24:06 +00:00
Richard Levitte
43cbb1e3dd
Fix from main trunk, 2000-09-27 15:54 levitte:
...
A compiler warning removed. Thanks to the folks at HP!
2000-10-11 09:46:34 +00:00
Richard Levitte
eb3633164e
Fix from main trunk, 2000-09-25 10:52 levitte:
...
'ranlib' doesn't always run on some systems. That's actually
acceptable, since all that happens if it fails is a library with an
index, which makes linking slower, but still working correctly.
2000-10-11 02:04:16 +00:00
Richard Levitte
a08d14fef4
Fix from main trunk, 2000-09-25 10:49 levitte:
...
Make the algorithm implementations depend on the corresponding
selection macros.
2000-10-11 01:57:07 +00:00
Richard Levitte
0e8f2fdfdd
Time to build the release. Bump the version info accordingly.
2000-09-24 15:21:30 +00:00
Dr. Stephen Henson
dbba890cf1
Only use the new informational verify codes if we
...
specifically ask for them.
Fix typo in docs.
2000-09-22 21:32:08 +00:00
Richard Levitte
3f8b90c345
Catch V_ASN1_NULL.
2000-09-22 13:15:16 +00:00
Dr. Stephen Henson
6cffb201f3
Fix ASN1_TYPE bug.
2000-09-21 18:57:00 +00:00
Richard Levitte
d40898dfab
Time to build beta 3. Bump the version numbers accordingly.
2000-09-21 09:08:44 +00:00
Richard Levitte
10bb0dbfec
Changes by Jeffrey Altman <jaltman@columbia.edu> to make RAND_poll()
...
work better in Win32. Verified by zhu qun-ying <qyzhu@krdl.org.sg>.
2000-09-21 07:02:27 +00:00
Richard Levitte
c5f8bbbc0b
Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
2000-09-21 05:42:01 +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
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
a440d6636f
A new beta is being released. Change the version numbers
...
accordingly.
2000-09-17 20:19:44 +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
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