Ulf Möller
e64dceab74
Switch for turning on the predictable "random" number generator.
2000-02-28 20:19:39 +00:00
Ulf Möller
c9e1fe33be
Fix for non-monolithic build.
...
Submitted by: Andrew Gray <agray@iconsinc.com>
2000-02-28 20:16:06 +00:00
Ulf Möller
2da0c11926
Support assembler for Mingw32.
2000-02-28 19:16:41 +00:00
Dr. Stephen Henson
82b931860a
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.
2000-02-28 14:11:19 +00:00
Richard Levitte
11750113c6
Tagging has been done, time to switch to 0.9.6-dev.
2000-02-28 12:11:39 +00:00
Richard Levitte
74cdf6f73a
Time for a release
2000-02-28 11:59:02 +00:00
Richard Levitte
42a9af38e7
Typo corrected.
2000-02-28 11:30:31 +00:00
Richard Levitte
1b7aee1d4e
Short is always promoted to int when passed as a function argument.
...
This is especially true when it's part of a '...'.
2000-02-27 23:17:18 +00:00
Richard Levitte
4ba48ec4d0
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.
2000-02-27 22:57:53 +00:00
Bodo Möller
fd74679ae2
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).
2000-02-27 17:37:41 +00:00
Dr. Stephen Henson
587bb0e02e
Don't call BN_rand with zero bits in bntest.c
2000-02-27 17:34:30 +00:00
Ben Laurie
c850925cdf
Declare memset.
2000-02-27 17:01:20 +00:00
Ben Laurie
707ef52e21
Typo.
2000-02-27 16:56:48 +00:00
Bodo Möller
981cdfab86
Add a comment.
2000-02-27 11:48:32 +00:00
Richard Levitte
13bf48c77a
For lack of a better name, this is now called 0.9.5beta3-dev until the
...
release.
2000-02-27 11:12:58 +00:00
Richard Levitte
a1a426ea20
Change version string to reflect the release of beta 2.
2000-02-27 11:07:23 +00:00
Richard Levitte
6209ada910
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.
2000-02-27 10:39:41 +00:00
Ulf Möller
688938fbb4
Bug fix!
2000-02-27 02:05:39 +00:00
Dr. Stephen Henson
94de04192d
Fix so Win32 assembly language works with MASM.
...
Add info about where to get MASM.
2000-02-27 01:15:25 +00:00
Ulf Möller
1070e0e2ee
*** empty log message ***
2000-02-27 00:00:56 +00:00
Ulf Möller
1b199605c4
workaround no longer needed
2000-02-26 22:37:43 +00:00
Ulf Möller
f27e41349f
remove
2000-02-26 22:37:34 +00:00
Ulf Möller
775c63fc02
Reorganize bn_mul.c (no bugfix yet), remove obsolete files in BN library.
2000-02-26 22:16:47 +00:00
Dr. Stephen Henson
0202197dbf
Make ASN1 types real typedefs.
...
Rebuild error files.
2000-02-26 19:25:31 +00:00
Andy Polyakov
63933136ab
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...
2000-02-26 16:20:05 +00:00
Richard Levitte
6ee6fdf555
A small script to compile mttest.c on VMS as well.
2000-02-26 11:17:33 +00:00
Richard Levitte
c131593d48
Make sure there's some entropy, and log a few more errors.
2000-02-26 11:02:31 +00:00
Bodo Möller
6d0d5431d4
More get0 et al. changes. Also provide fgrep targets in CHANGES
...
where the new functions are mentioned.
2000-02-26 08:36:46 +00:00
Richard Levitte
7bd3a58022
make update
2000-02-26 04:48:22 +00:00
Richard Levitte
a1990dd76d
Don't include sys/types.h if NO_SYS_TYPES_H is defined.
2000-02-26 03:55:15 +00:00
Richard Levitte
668ba7d63f
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.
2000-02-26 01:55:56 +00:00
Dr. Stephen Henson
c7cb16a8ff
Rename functions for new convention.
2000-02-26 01:55:33 +00:00
Richard Levitte
47c177c7b3
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.
2000-02-26 01:45:17 +00:00
Richard Levitte
b755955a53
Compile rand_egd.c on VMS as well.
2000-02-26 00:29:33 +00:00
Richard Levitte
7c0dc41c38
For safety, check __VMS as well.
2000-02-26 00:26:17 +00:00
Richard Levitte
c29b6d560b
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.
2000-02-26 00:01:16 +00:00
Richard Levitte
1340db6569
Small error fix.
2000-02-25 23:33:16 +00:00
Richard Levitte
9da65c3280
Adjust all the old scripts to deal with the new location.
2000-02-25 23:18:27 +00:00
Richard Levitte
dc8c8cda4d
New script to compile on systems that already have pthreads in the
...
system.
2000-02-25 23:17:46 +00:00
Richard Levitte
2d2d31394a
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.
2000-02-25 23:16:56 +00:00
Ulf Möller
582afb4bd7
flush output.
...
Looks like it fails when b is a power of 2, but I never get incorrect
results.
2000-02-25 22:08:37 +00:00
Richard Levitte
f36e02b2ef
Enhance consistency by using BIO_flush() instead of fflush().
2000-02-25 20:40:12 +00:00
Richard Levitte
3e0f27f3c9
Changes to synchronise with Unix.
...
(actually, much more is needed, like a real config script)
2000-02-25 20:37:46 +00:00
Ulf Möller
17dddc0596
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.
2000-02-25 20:28:54 +00:00
Ulf Möller
3167f68faf
The main() return value is a program's exit code.
2000-02-25 16:04:52 +00:00
Geoff Thorpe
4621a00063
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:
2000-02-25 15:09:04 +00:00
Geoff Thorpe
7dce5a727a
Gets around VC++ compiler pickiness. (long != double)
...
PR:
2000-02-25 14:50:37 +00:00
Ulf Möller
a6fc578bd5
mt contained an old copy of mttest.c. remove it and move the other
...
files to crypto/threads
2000-02-25 14:40:31 +00:00
Ulf Möller
fea217f96f
EGD bugfix.
...
Submitted by: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-02-25 14:16:43 +00:00
Ulf Möller
b478e91fda
different snprintf version.
2000-02-25 14:00:24 +00:00