Richard Levitte
f14aa30118
Release OpenSSL 0.9.6a beta2.
2001-03-21 20:37:47 +00:00
Richard Levitte
a4c1a7e317
make update
2001-03-21 19:30:39 +00:00
Richard Levitte
b222cf0624
Since site_t is used, there's no more need to cast to int.
2001-03-21 18:39:43 +00:00
Bodo Möller
68b08abb14
Make sure the size_t declaration is available.
2001-03-21 15:30:28 +00:00
Bodo Möller
cee3fffab5
Turn 'num' argument to RAND_file_name into a size_t (rather than an int).
2001-03-21 15:26:47 +00:00
Richard Levitte
d1d8608464
Change from main development line, 2001-03-20 16:36 levitte
...
avoid linking problems when OpenSSL is built with no-dsa.
Spotted by Hellan,Kim KHE <khe@kmd.dk >
2001-03-21 14:18:06 +00:00
Richard Levitte
19d2a20a7f
Change from main development line, 2001-03-18 15:24 levitte
...
New cofiguration for Unixwre and SCO,with slightly better granularity.
Contributed by Tim Rice <tim@multitalents.net >
2001-03-21 14:10:50 +00:00
Dr. Stephen Henson
0bf5d40787
Fix PKCS#12 key generation bug.
2001-03-18 02:10:25 +00:00
Richard Levitte
757d479536
make update
2001-03-16 12:26:29 +00:00
Richard Levitte
74c9ace6f0
From revision 1.54, 2001-03-16 10:30 levitte:
...
Correct a typo which might have lead to a dump.
Noted by Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com >
2001-03-16 10:39:38 +00:00
Richard Levitte
cfb8afc558
From revision 1.6, 2001-03-08 13:27 bodo:
...
Throw out *all* absolute pathnames, not matter what they look like.
The filenames we are interested in for Makefile dependencies are
always relative.
2001-03-16 09:46:09 +00:00
Richard Levitte
e8acf5c6f8
Success with Mingw32.
2001-03-15 22:11:54 +00:00
Richard Levitte
d5864a1dcb
Minimise the amount of -L. when linking the shared libraries. It
...
seems like some Unixen (SCO) have opinions about too many -L.
2001-03-15 22:11:03 +00:00
Richard Levitte
9f56705f96
The change on handling shared libraries was never applied in
...
0.9.6a-dev...
2001-03-15 21:44:17 +00:00
Richard Levitte
7b5b22af5a
Add status on a few fixes.
2001-03-15 20:53:03 +00:00
Richard Levitte
00ecca84a8
BSDI ELF knows dlfcn.
2001-03-15 20:36:19 +00:00
Lutz Jänicke
38c3b405c8
Forgot cvs commands, so only the surrounding changes made it... sigh.
2001-03-15 12:42:56 +00:00
cvs2svn
e486ec5e0e
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-03-15 12:42:06 +00:00
Lutz Jänicke
eb272ac0b0
Forgot "cvs add", so only the surrounding changes made it... sigh.
2001-03-15 12:42:04 +00:00
Bodo Möller
9f06ce19dd
Error codes are longs, not ints
2001-03-15 11:33:16 +00:00
Bodo Möller
ba61b14f1d
More err_data memory leaks
2001-03-15 11:33:00 +00:00
Bodo Möller
63c43dcc59
avoid infinite loop
2001-03-15 11:31:37 +00:00
Bodo Möller
8562801137
error codes are longs, not ints
2001-03-15 11:30:55 +00:00
Bodo Möller
5d8094143e
More error_data memory leaks
2001-03-15 11:30:10 +00:00
Richard Levitte
5114966e00
It is a good thing to prepare the .def files.
2001-03-15 06:51:49 +00:00
Richard Levitte
bb6dcb54f9
It is a good thing to prepare the .def files.
2001-03-15 06:51:32 +00:00
Richard Levitte
eed7dd8d75
A number of things have now been corrected.
...
HP MPE/iX passes.
2001-03-15 06:15:26 +00:00
Dr. Stephen Henson
0a3ea5d34a
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.
2001-03-15 01:15:54 +00:00
Bodo Möller
a5e4c0bb9e
The former ULTRASPARC preprocessor symbol is now called
...
OPENSSL_SYSNAME_ULTRASPARC, so we'd better check for that one
2001-03-14 14:02:10 +00:00
Bodo Möller
70bddeda24
0.9.6a-beta1 works for solaris64-sparcv9-cc.
2001-03-14 13:44:59 +00:00
Richard Levitte
f66efab8f7
The VMS build script was missing a couple of modules.
...
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au >
2001-03-14 13:39:30 +00:00
Richard Levitte
0caa1c11f8
Include openssl/rand.h so RAND_status() gets properly declared.
...
Reported by Rob Neff <neff.ra@home.com >
2001-03-14 13:36:50 +00:00
Richard Levitte
c68f050647
Signed vs. unsigned problem fix.
...
Reported by Rob Neff <neff.ra@home.com >
2001-03-14 13:32:16 +00:00
Richard Levitte
d58eb72f25
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.
2001-03-14 13:30:07 +00:00
Richard Levitte
11bfaf6cff
Irix fails.
2001-03-14 07:00:57 +00:00
Richard Levitte
68a54ab591
A few more reports.
2001-03-14 06:57:16 +00:00
Bodo Möller
9693045170
Fix: return 0 if no error occured.
2001-03-13 22:17:45 +00:00
Bodo Möller
cad4b840c8
Fix: return 0 if no error occured.
2001-03-13 22:17:10 +00:00
Richard Levitte
37a92e9ce4
make update.
2001-03-13 21:47:23 +00:00
Richard Levitte
311e4e9253
Update beta 1 status.
2001-03-13 21:39:34 +00:00
Richard Levitte
1896ce3558
We need to build MINFO.
2001-03-13 21:38:53 +00:00
Richard Levitte
1874366208
We need to build MINFO.
2001-03-13 21:28:44 +00:00
Bodo Möller
0357422d14
typo
2001-03-13 16:30:09 +00:00
Richard Levitte
18c497dffb
Tagging has now been done, switch over to development of beta 2.
...
The tag for beta 1 is OpenSSL_0_9_6a-beta1.
2001-03-13 16:29:03 +00:00
Richard Levitte
15922ccdf6
Release Beta 1 of 0.9.6a.
2001-03-13 16:08:32 +00:00
Richard Levitte
5098bc92f8
A correction from the main trunk that was forgotten.
2001-03-13 14:39:51 +00:00
Richard Levitte
a411eaa858
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.
2001-03-13 12:12:05 +00:00
Ulf Möller
42b848bcf1
that was useless - still fails with GCC
2001-03-13 07:12:02 +00:00
Bodo Möller
b670b1e3da
Use err_clear_data macro
2001-03-13 07:03:39 +00:00
Bodo Möller
d3ee37c5d9
Use err_clear_data macro
2001-03-13 07:02:59 +00:00
Ulf Möller
a1c769a5f6
Alpha workaround. This is a lot slower!
2001-03-13 06:31:36 +00:00
Bodo Möller
2c89d56a1d
fix memory leak in err.c
2001-03-12 18:39:47 +00:00
Bodo Möller
f51cf14b85
fix memory leak in err.c
2001-03-12 18:07:20 +00:00
Bodo Möller
194dd04699
Rename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
...
which indicate its purpose more clearly.
2001-03-12 07:26:23 +00:00
Bodo Möller
14f7ee4916
Add various X9.62 OIDs. (GF(2^n) mostly left out.)
2001-03-11 21:54:51 +00:00
Dr. Stephen Henson
a29d78e90b
Initial docs for PEM routines.
2001-03-11 20:29:28 +00:00
Bodo Möller
5b054c6955
EC_METHOD based on bn_mont2 (not used in the library)
2001-03-11 17:43:07 +00:00
Bodo Möller
10654d3a74
Forcibly enable memory leak checking during "make test"
2001-03-11 14:49:46 +00:00
Bodo Möller
6017e604f8
Timings are not supposed to be enabled by default ...
2001-03-11 12:30:52 +00:00
Bodo Möller
3837491174
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.
2001-03-11 12:27:24 +00:00
Bodo Möller
86a921af06
handle negative scalars correctly when doing point multiplication
2001-03-11 08:44:50 +00:00
Bodo Möller
616df35633
use fflush
2001-03-11 08:27:11 +00:00
Bodo Möller
e44fcedadf
Change timing output: We don't have "exponents" here, curves are
...
considered additive
2001-03-10 23:49:06 +00:00
Bodo Möller
6f8f443170
comment and error code update
2001-03-10 23:37:52 +00:00
Bodo Möller
d18af3f37e
Remove files from Lenka's EC implementation.
2001-03-10 23:26:41 +00:00
Bodo Möller
48fe4d6233
More EC stuff, including EC_POINTs_mul() for simultaneous scalar
...
multiplication of an arbitrary number of points.
2001-03-10 23:18:35 +00:00
Richard Levitte
7b8250053b
Document the change.
2001-03-10 16:28:49 +00:00
Richard Levitte
251cb4cfed
For some experiments, it is sometimes nice to serve files with complete
...
HTTP responses.
2001-03-10 16:20:52 +00:00
Dr. Stephen Henson
24a93e6cdd
In crypto/ec #if 0 out structures which reference (currently)
...
non existent functions because this breaks shared libraries.
2001-03-10 12:37:01 +00:00
Ulf Möller
142e22641e
doh
2001-03-10 04:29:05 +00:00
Dr. Stephen Henson
40e15f9d78
Typo.
2001-03-10 01:57:38 +00:00
Dr. Stephen Henson
b4f682d32f
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.
2001-03-10 01:56:48 +00:00
Richard Levitte
83d0e5e512
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.
2001-03-09 15:27:41 +00:00
Bodo Möller
4e20b1a656
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.
2001-03-09 14:01:42 +00:00
Dr. Stephen Henson
cc5ba6a7b6
Update docs.
2001-03-09 13:57:14 +00:00
Bodo Möller
0396479dec
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.
2001-03-09 13:04:06 +00:00
Bodo Möller
b9cc6148f4
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.
2001-03-09 13:00:52 +00:00
Bodo Möller
e34cfcf7e1
Consistently use 'void *' for SSL read, peek and write functions.
2001-03-09 10:09:20 +00:00
Bodo Möller
c6a15854ee
Consistently use 'void *' for SSL read, peek and write functions.
2001-03-09 10:08:06 +00:00
Dr. Stephen Henson
1358835050
Change the EVP_somecipher() and EVP_somedigest()
...
functions to return constant EVP_MD and EVP_CIPHER
pointers.
Update docs.
2001-03-09 02:51:02 +00:00
Richard Levitte
754d494bef
Bug fixes.
2001-03-09 01:13:23 +00:00
Bodo Möller
42909e3968
Fix ec_GFp_simple_cmp.
...
Use example group from Annex I of X9.62 in ectest.c.
2001-03-08 22:52:49 +00:00
Bodo Möller
ba41d8a556
ssl23_peek
2001-03-08 21:56:34 +00:00
Bodo Möller
c108108028
ssl23_peek
2001-03-08 21:55:27 +00:00
Bodo Möller
5451e0d924
add ssl23_peek
2001-03-08 21:54:02 +00:00
Bodo Möller
f46a878e3f
add ssl23_peek
2001-03-08 21:53:29 +00:00
Bodo Möller
fac683684b
Avoid problems with multi-line NAME sections.
2001-03-08 21:53:01 +00:00
Bodo Möller
4ea3855514
Avoid problems with multi-line NAME sections.
2001-03-08 21:52:53 +00:00
Richard Levitte
20a9b1a7cf
Too many dollars...
2001-03-08 21:12:58 +00:00
Bodo Möller
156e85578d
Implement EC_GFp_mont_method.
2001-03-08 20:55:16 +00:00
Bodo Möller
b28ec12420
Fixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for example)
2001-03-08 19:34:14 +00:00
Bodo Möller
bb62a8b0c5
More method functions for elliptic curves,
...
and an ectest.c that actually tests something.
2001-03-08 19:14:52 +00:00
Bodo Möller
a75d8bebd2
Bugfix: previously the serial number file could turn negative
...
because an incompletely initialized ASN1_INTEGER was used.
2001-03-08 19:13:24 +00:00
Lutz Jänicke
f51fee66ad
Add newly learned knowledge from yesterday's discussion.
2001-03-08 17:25:49 +00:00
Lutz Jänicke
b72ff47037
Add newly learned knowledge from yesterday's discussion.
2001-03-08 17:24:02 +00:00
Richard Levitte
a2b03690a8
Write a small comment so we know...
2001-03-08 17:22:38 +00:00
Richard Levitte
abb48d5a5f
Build ectest too.
2001-03-08 17:22:05 +00:00
Richard Levitte
0e99546424
Some EC function names are really long. Make aliases for VMS on VAX.
2001-03-08 17:20:31 +00:00
Ulf Möller
bd9e2e4c53
note the rand_win.c change
2001-03-08 17:00:09 +00:00
Ulf Möller
5fb0aa6487
Note the rand_win.c change
2001-03-08 16:58:07 +00:00
Bodo Möller
ff612904d2
Comment
2001-03-08 16:53:30 +00:00
Ulf Möller
9c3cbe5d7f
replace rdtsc as in HEAD
2001-03-08 16:49:03 +00:00
Ulf Möller
429cf462d0
old MSVC versions don't have rdtsc
...
use _emit instead
Pointed out by Jeremy Cooper <jeremy@baymoo.org >
2001-03-08 16:46:23 +00:00
Bodo Möller
c62b26fdc6
Hide BN_CTX structure details.
...
Incease the number of BIGNUMs in a BN_CTX.
2001-03-08 15:56:15 +00:00
Richard Levitte
e0a9ba9c3c
VMS catches up on the EC modifications.
2001-03-08 14:40:20 +00:00
Dr. Stephen Henson
2dc769a1c1
Make EVP_Digest*() routines return a value.
...
TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.
2001-03-08 14:04:22 +00:00
Bodo Möller
4f98cbabde
avoid compiler warning
2001-03-08 14:02:28 +00:00
Bodo Möller
98499135d7
Constify BN_value_one.
2001-03-08 13:58:09 +00:00
Bodo Möller
3285076c8e
Integrate ec_err.[co].
...
"make depend"
2001-03-08 12:30:12 +00:00
Bodo Möller
3b4cfea688
Throw out *all* absolute pathnames, not matter what they look like.
...
The filenames we are interested in for Makefile dependencies
are always relative.
2001-03-08 12:27:44 +00:00
Bodo Möller
de10f6900d
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.
2001-03-08 12:14:25 +00:00
Bodo Möller
adfe54b7be
Integrate ectest.c (which does not yet do anything).
2001-03-08 11:59:48 +00:00
Bodo Möller
b576337e8b
Order ERR_load_... calls like the stuff in err.h.
2001-03-08 11:59:03 +00:00
Bodo Möller
4de633dd5f
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.)
2001-03-08 11:45:44 +00:00
Bodo Möller
91f29a38a0
Let EC_POINT_copy do nothing if dest==src
2001-03-08 11:18:06 +00:00
Bodo Möller
1d5bd6cf71
More 'TODO' items.
2001-03-08 11:16:33 +00:00
Bodo Möller
226cc7ded4
More method functions for EC_GFp_simple_method.
2001-03-08 01:23:28 +00:00
Bodo Möller
e869d4bd32
More method functions.
2001-03-07 20:56:48 +00:00
Bodo Möller
60428dbf0a
Some actual method functions (not enough yet to use the EC library, though),
...
including EC arithmetics derived from Lenka Fibikova's code (with some
additional optimizations).
2001-03-07 19:54:35 +00:00
Richard Levitte
70d70a3c81
Code for better build under Darwin (MacOS X).
...
Submitted by Brad Dominy <jdominy@darwinuser.org >
2001-03-07 10:04:00 +00:00
Bodo Möller
f1f25544e0
..._init functions are method-specific too
...
(they can't do much useful, but they will have to set pointers
to NULL)
2001-03-07 09:53:41 +00:00
Bodo Möller
2e0db07627
Optimized EC_METHODs need specific 'set_curve' and 'free' functions.
2001-03-07 09:48:38 +00:00
Bodo Möller
58fc62296f
The next bunch of vaporware.
2001-03-07 09:29:45 +00:00
Bodo Möller
df9cc1535e
extra_data 'mixin'.
...
(This will be used for Lim/Lee precomputation data.)
2001-03-07 09:03:32 +00:00
Bodo Möller
c4b36ff474
Oops ...
2001-03-07 01:41:20 +00:00
Bodo Möller
f418f8c17c
In clear_free, clear the complete structure just in case
...
the method misses something.
2001-03-07 01:37:54 +00:00
Bodo Möller
5277d7cb7c
Fix ERR_R_... problems.
2001-03-07 01:19:07 +00:00
Bodo Möller
0657bf9c14
Implement dispatcher for EC_GROUP and EC_POINT method functions.
...
Initial EC_GROUP_new_curve_GFp implementation.
2001-03-07 01:17:05 +00:00
Bodo Möller
5b438e9b0f
Add a few 'const's
2001-03-06 22:30:03 +00:00
Ulf Möller
7b4c588f58
Forgot a '$'.
2001-03-06 15:36:24 +00:00
Bodo Möller
1d00800e88
Change obj_... generation so that it does not generate rubbish or
...
abort with errors if no name is defined for some object, which was the
case for 'pilotAttributeType 27'.
Also avoid this very situation by assigning the name
'pilotAttributeType27'.
2001-03-06 08:58:38 +00:00
Bodo Möller
774530f412
'is_at_infinity' tests don't need a BN_CTX.
2001-03-06 08:55:33 +00:00
Bodo Möller
fb171e534e
New function declarations.
2001-03-06 07:01:51 +00:00
Bodo Möller
7d7db13e67
Add BN_CTX arguments where appropriate.
...
Rename 'EC_GROUP_set'-related functions to names similar to 'EC_GROUP_set_curve'
because they don't care about the generator.
Add new functions.
2001-03-06 06:20:20 +00:00
Ulf Möller
45abac85a9
DEC
2001-03-06 03:26:38 +00:00
Bodo Möller
24b8dc9a55
Add EC_GROUP_new_GFp prototype.
2001-03-05 22:29:57 +00:00
Bodo Möller
d8c79c7f72
Change comments.
2001-03-05 21:59:03 +00:00
Bodo Möller
3a12ce0137
Some declarations that outline what I intend to implement.
2001-03-05 21:54:39 +00:00
Richard Levitte
9bd35f6376
Update the VMS build scripts for EC
2001-03-05 21:17:08 +00:00
Bodo Möller
62763f682b
Another file I had forgotten to add.
2001-03-05 20:32:41 +00:00
Bodo Möller
38e3c5815c
Add yet another (still empty) source code file that I forgot.
2001-03-05 20:31:49 +00:00
Bodo Möller
f8fe20e0d9
Add more EC vaporware (empty source code files I missed in my
...
previous commit).
2001-03-05 20:14:00 +00:00
Bodo Möller
65e8167079
Move ec.h to ec2.h because it is not compatible with what we will use.
...
Add EC vaporware: change relevant Makefiles and add some empty source
files.
"make update".
2001-03-05 20:13:37 +00:00
Richard Levitte
3e0d891828
SSLv2 session reuse bugfix from main development branch.
2001-03-05 14:52:30 +00:00
Richard Levitte
757a8b4621
Document the SSLv2 session reuse fix.
2001-03-05 13:59:52 +00:00
Richard Levitte
5cac59b6c1
Add the possibility for option macros and start using it to indicate
...
for Windows compilations if DLL linkage is required or not.
2001-03-05 13:45:34 +00:00
Bodo Möller
bad4058574
New option '-subj arg' for 'openssl req' and 'openssl ca'. This
...
sets the subject name for a new request or supersedes the
subject name in a given request.
Add options '-batch' and '-verbose' to 'openssl req'.
Submitted by: Massimiliano Pala <madwolf@hackmasters.net >
Reviewed by: Bodo Moeller
2001-03-05 11:09:43 +00:00
Bodo Möller
d8c2adae57
increase emailAddress_max
2001-03-04 01:33:55 +00:00
Bodo Möller
786e0c2424
EC_set_half and the 'h' component of struct bn_ec_struct are unnecessary.
...
The computations for which h was used can be done more efficiently
by using BN_rshift1.
2001-03-03 15:31:34 +00:00
Richard Levitte
794103d285
For SSLv2, return the SSLv2 method, not the SSLv23 method. This way,
...
it's possible to reuse an SSLv2 session.
2001-03-02 12:17:57 +00:00
Richard Levitte
c454dbcd32
Sort platforms lexicographically as well. Also, support more than two
...
variants of a symbol.
2001-03-02 12:14:54 +00:00
Richard Levitte
f3a3106807
Spelling corrected.
2001-03-02 10:57:54 +00:00
Richard Levitte
62dc5aad06
Introduce the possibility to access global variables through
...
functions on platform were that's the best way to handle exporting
global variables in shared libraries. To enable this functionality,
one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
"OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
is normally done by Configure or something similar).
To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
in the source file (foo.c) like this:
OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
OPENSSL_IMPLEMENT_GLOBAL(double,bar);
To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:
OPENSSL_DECLARE_GLOBAL(int,foo);
#define foo OPENSSL_GLOBAL_REF(foo)
OPENSSL_DECLARE_GLOBAL(double,bar);
#define bar OPENSSL_GLOBAL_REF(bar)
The #defines are very important, and therefore so is including the
header file everywere where the defined globals are used.
The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
of ASN.1 items, but that structure is a bt different.
The largest change is in util/mkdef.pl which has been enhanced with
better and easier to understand logic to choose which symbols should
go into the Windows .def files as well as a number of fixes and code
cleanup (among others, algorithm keywords are now sorted
lexicographically to avoid constant rewrites).
2001-03-02 10:38:19 +00:00
Lutz Jänicke
45ecfb1973
Typo, spotted by "Greg Stark" <gstark@ethentica.com>.
2001-03-01 16:50:11 +00:00
Lutz Jänicke
1c85e93c7c
Typo, spotted by "Greg Stark" <gstark@ethentica.com>.
2001-03-01 16:48:12 +00:00
Dr. Stephen Henson
95d334f2db
Fix bug in copy_email() which would not
...
find emailAddress at start of subject name.
2001-03-01 13:33:53 +00:00
Dr. Stephen Henson
f23478c314
Fix bug in copy_email() which would not
...
find emailAddress at start of subject name.
2001-03-01 13:32:11 +00:00
Dr. Stephen Henson
3d2e469cfa
Fix a bug which caused BN_div to produce the
...
wrong result if rm==num and num < 0.
2001-02-28 00:51:48 +00:00
Ulf Möller
bf401a2aef
%f conversion bug fix
...
Submitted by: Henrik Eriksson <henrik.eriksson@axis.com >
2001-02-27 23:59:18 +00:00
Ulf Möller
98486a9310
improved bignum test as in 0.9.7.
...
We need this to find out if the bignum failures on Irix and Alpha are
caused by new 0.9.7 code or just aren't triggered in the 0.9.6 test suite.
2001-02-27 23:00:42 +00:00
Ulf Möller
06a2b07bb0
don't read from tty in test mode
2001-02-27 21:10:21 +00:00
Ulf Möller
8700e7b3cf
run self-test with no-krb5
2001-02-27 21:05:55 +00:00
Richard Levitte
7f19d42e9d
MacOSX doesn't have ftime().
...
Spotted by Pieter Bowman <bowman@math.utah.edu >
2001-02-27 08:14:32 +00:00
Dr. Stephen Henson
d7bbd31efe
Typo in comment.
2001-02-26 23:34:14 +00:00
Dr. Stephen Henson
fafc7f9875
Enhance OCSP_request_verify() so it finds the signers certificate
...
properly and supports several flags.
2001-02-26 14:17:58 +00:00
Richard Levitte
d88a26c489
make update
...
Note that all *_it variables are suddenly non-existant according to
libeay.num. This is a bug that will be corrected. Please be patient.
2001-02-26 10:54:08 +00:00
Richard Levitte
64b48877fa
Add the CCITT pilot directory OIDs.
2001-02-26 10:27:41 +00:00
Dr. Stephen Henson
b31cc2d9f7
Trap an invalid ASN1_ITEM construction and print out
...
the errant field for more ASN1 error conditions.
2001-02-25 14:11:31 +00:00
Geoff Thorpe
4910cbf6db
Backfit a bugfix from 0.9.7-dev to 0.9.6-stable. init() and finish()
...
handlers were previously getting called before (and after, respectively)
the "ex_data" structures - this meant init() had very little that it
could initialise, and finish() had very little it could cleanup.
2001-02-24 17:32:34 +00:00
Dr. Stephen Henson
f196522159
New function and options to check OCSP response validity.
2001-02-24 13:50:06 +00:00
Dr. Stephen Henson
75090e0365
Stop PKCS7_verify() core dumping with unknown public
...
key algorithms and leaking if the signature verify
fails.
2001-02-24 01:46:46 +00:00
Dr. Stephen Henson
4ff18c8c3e
Print out OID of unknown signature or public key
...
algorithms.
2001-02-24 01:42:21 +00:00
Dr. Stephen Henson
db4a465974
Stop PKCS7_verify() core dumping with unknown public
...
key algorithms and leaking if the signature verify
fails.
2001-02-24 01:38:56 +00:00
Lutz Jänicke
3cdc8ad07a
Describe new callback for session id generation.
2001-02-23 21:38:42 +00:00
Lutz Jänicke
6676457bba
SSL_get_version() was an easy one :-)
2001-02-23 21:07:53 +00:00
cvs2svn
ad45ed9f5c
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-23 21:05:58 +00:00
Lutz Jänicke
2c1571b4ff
SSL_get_version() was an easy one :-)
2001-02-23 21:05:56 +00:00
Ulf Möller
6767a53669
That statement seems to be not true. In fact, I have said that I would
...
like to use libtool, but not automake.
Let's investigate that further, or leave the question open for now.
2001-02-23 18:22:58 +00:00
Ulf Möller
ba93fd6a38
autoconf would be useful...
2001-02-23 18:00:06 +00:00
Dr. Stephen Henson
d7c06e9ec7
Make OCSP cert id code tolerate a missing issuer certificate
...
or serial number.
2001-02-23 13:04:24 +00:00
Dr. Stephen Henson
386828d029
Oops, forgot CHANGES entry for ASN1_ITEM_FUNCTIONS.
2001-02-23 13:02:56 +00:00
Dr. Stephen Henson
d339187b1a
Get rid of ASN1_ITEM_FUNCTIONS dummy function
...
prototype hack. This unfortunately means that
every ASN1_*_END construct cannot have a
trailing ;
2001-02-23 12:47:06 +00:00
Richard Levitte
61fca8b69b
make depend.
2001-02-23 11:57:35 +00:00
Dr. Stephen Henson
bb5ea36b96
Initial support for ASN1_ITEM_FUNCTION option to
...
change the way ASN1 modules are exported.
Still needs a bit of work for example the hack which a
dummy function prototype to avoid compilers warning about
multiple ;s.
2001-02-23 03:16:09 +00:00
Geoff Thorpe
e3a9164073
I missed one.
2001-02-23 00:09:50 +00:00
Geoff Thorpe
f85c9904c6
Fix an oversight - when checking a potential session ID for conflicts with
...
an SSL_CTX's session cache, it is necessary to compare the ssl_version at
the same time (a conflict is defined, courtesy of SSL_SESSION_cmp(), as a
matching id/id_length pair and a matching ssl_version). However, the
SSL_SESSION that will result from the current negotiation does not
necessarily have the same ssl version as the "SSL_METHOD" in use by the
SSL_CTX - part of the work in a handshake is to agree on an ssl version!
This is fixed by having the check function accept an SSL pointer rather
than the SSL_CTX it belongs to.
[Thanks to Lutz for illuminating the full extent of my stupidity]
2001-02-23 00:02:56 +00:00
Richard Levitte
48bf4aae24
Define the right macro for Linux and other GNU-based systems to get a correct declaration of strdup()
2001-02-22 18:03:30 +00:00
Richard Levitte
6231576088
e_os.h defines Getenv()
2001-02-22 17:59:55 +00:00
Richard Levitte
4270144b39
CONF_METHOD is one of the few places where you find MS_FAR. I can't
...
really see why we need to define these function pointers with MS_FAR
if it's not done cosistently everywhere.
If we decide to support MS_FAR modifiers, it's better to have the
named something more unique for OpenSSL and to define them in e_os2.h.
2001-02-22 17:41:15 +00:00
Richard Levitte
5031a89dc3
Define the OPENSSL_NO_* macros as NO_* macros for the sake of applications thathaven't yet been changed
2001-02-22 17:36:41 +00:00
Bodo Möller
bbd1c84e6e
e_os.h problems have been solved in the main branch.
2001-02-22 15:10:11 +00:00
Bodo Möller
a2cf08cc23
undo previous change: "e_os.h" is now the official name for the file
...
to include (but the OpenSSL_0_9_6-stable branche still has
inconsistencies)
2001-02-22 15:08:30 +00:00
Bodo Möller
32828e6ffd
include e_os.h as "openssl/e_os.h" (as elsewhere)
2001-02-22 14:59:11 +00:00
Bodo Möller
d3a73875e2
include e_os.h as "openssl/e_os.h" (as elsewhere)
2001-02-22 14:58:38 +00:00
Richard Levitte
41d2a336ee
e_os.h does not belong with the exported headers. Do not put it there
...
and make all files the depend on it include it without prefixing it
with openssl/.
This means that all Makefiles will have $(TOP) as one of the include
directories.
2001-02-22 14:45:02 +00:00
Richard Levitte
627774fd87
Since RAND_file_name() uses strlen, make sure the number that's
...
compared to it has the type size_t. Included the needed headers to
make that happen.
2001-02-22 14:40:15 +00:00
Richard Levitte
a5bc1e8568
Use e_os2.h rather than opensslconf.h, since some needed macros are
...
defined there.
2001-02-22 14:37:50 +00:00
Richard Levitte
c38171ba1f
Exported header files should not include e_os.h.
2001-02-22 14:27:22 +00:00
Richard Levitte
bb3ee8e75d
Since opensslconf.h might be included over and over, undefine
...
OPENSSL_UNISTD before redefining it, to avoid compiler warnings.
2001-02-22 14:24:50 +00:00
Richard Levitte
32654e792b
One indirection level too little compared to the
...
pre-CRYPTO_MEM_LEAK_CB time.
2001-02-22 14:23:44 +00:00
Richard Levitte
19f2192136
Windows does not know of strigs.h or strcasecmp, so when in Windows,
...
make strcasecmp a macro to _stricmp.
2001-02-22 14:21:06 +00:00
Richard Levitte
1961b327eb
Always include opensslconf.h, even if it's already been done before.
...
The reason is that some parts are only included when certain other
include files have been included.
Also, it seems that the rest of the OpenSSL code assumes that all
kinds of M$ Windows are MSDOS as well...
2001-02-22 13:59:36 +00:00
Richard Levitte
2ae87d465e
When inside a #if 0..#endif, do not define anything.
2001-02-22 13:24:17 +00:00
Richard Levitte
e3ef8d2e6b
Since SSL_add_dir_cert_subjects_to_stack isn't impemented on VMS,
...
there's no point creating an alias for it.
2001-02-22 13:22:20 +00:00
Richard Levitte
65a87c7d01
Include e_os2.h instead of opensslconf.h.
...
SSL_add_dir_cert_subjects_to_stack is not implemented on WIN32 and
VMS, so declare it the same way.
2001-02-22 13:19:50 +00:00
Dr. Stephen Henson
72e3c20c14
Rebuild ASN1 error codes to remove unused function and reason codes.
2001-02-22 00:39:06 +00:00
Geoff Thorpe
ec0f19597e
If a callback is generating a new session ID for SSLv2, then upon exiting,
...
the ID will be padded out to 16 bytes if the callback attempted to generate
a shorter one. The problem is that the uniqueness checking function used in
callbacks may mistakenly think a 9-byte ID is unique when in fact its
padded 16-byte version is not. This makes the checking function detect
SSLv2 cases, and ensures the padded form is checked rather than the shorter
one passed by the callback.
2001-02-21 21:38:32 +00:00
Geoff Thorpe
fa2b8db499
Note changes re: session ID generation callbacks, etc.
2001-02-21 18:48:33 +00:00
Geoff Thorpe
1aa0d94781
This adds command-line support to s_server for controlling the generation
...
of session IDs. Namely, passing "-id_prefix <text>" will set a
generate_session_id() callback that generates session IDs as random data
with <text> block-copied over the top of the start of the ID. This can be
viewed by watching the session ID s_client's output when it connects.
This is mostly useful for testing any SSL/TLS code (eg. proxies) that wish
to deal with multiple servers, when each of which might be generating a
unique range of session IDs (eg. with a certain prefix).
2001-02-21 18:38:48 +00:00
Geoff Thorpe
dc644fe229
This change allows a callback to be used to override the generation of
...
SSL/TLS session IDs in a server. According to RFC2246, the session ID is an
arbitrary value chosen by the server. It can be useful to have some control
over this "arbitrary value" so as to choose it in ways that can aid in
things like external session caching and balancing (eg. clustering). The
default session ID generation is to fill the ID with random data.
The callback used by default is built in to ssl_sess.c, but registering a
callback in an SSL_CTX or in a particular SSL overrides this. BTW: SSL
callbacks will override SSL_CTX callbacks, and a new SSL structure inherits
any callback set in its 'parent' SSL_CTX. The header comments describe how
this mechanism ticks, and source code comments describe (hopefully) why it
ticks the way it does.
Man pages are on the way ...
[NB: Lutz was also hacking away and helping me to figure out how best to do
this.]
2001-02-21 18:06:26 +00:00
Geoff Thorpe
47ddf355b4
'make update'
2001-02-21 17:43:52 +00:00
Ulf Möller
a39ded513a
BN_rand_range() as in main branch.
2001-02-21 15:54:31 +00:00
Richard Levitte
941181ec0f
'make update'
2001-02-21 14:12:50 +00:00
Richard Levitte
d399fdf877
Modify mkdef.pl to recognise and parse prprocessor conditionals of the
...
form '#if defined(...) || defined(...) || ...' and '#if !defined(...)
&& !defined(...) && ...'. This also avoids the growing number of
special cases it was previously handling (some of them wrongly).
2001-02-21 14:12:03 +00:00
Richard Levitte
487550b61d
I had forgotten to change mkerr.pl to use the new macro system.
2001-02-21 12:03:20 +00:00
Richard Levitte
35618bf6ad
strdup() is a X/Open extension.
2001-02-20 20:00:30 +00:00
Richard Levitte
460fe31f0c
With later version of DEC C on VMS, some functions (strcmp(), for
...
example) are declared with some extra linkage information. This
generates a warning when using the function name as a value to a
regular function pointer with the "correct" definition of the
function. Therefore, use a macro to cast the appropriate function on
VMS.
2001-02-20 19:13:46 +00:00
Richard Levitte
14565bedaf
Some functions, like strdup() and strcasecmp(), are defined in
...
strings.h according to X/Open.
2001-02-20 19:05:59 +00:00
Richard Levitte
02cc82ff8a
I forgot there was a reason why the inclusions and definition of u_int
...
was made in a certain sequence. This change restores the earlier
"chain of command".
2001-02-20 17:37:02 +00:00
Richard Levitte
38f3b3e29c
OpenVMS catches up.
2001-02-20 17:14:30 +00:00
Geoff Thorpe
4dc719fc37
The callbacks in the NAME_FUNCS structure are not used directly as LHASH
...
callbacks, and their prototypes were consistent as they were. These casts
need reversing.
Also, I personally find line breaks during parameter lists (ie a line
ending in a comma) easier to read at a glance than line breaks at the end
of a function call and before a dereference on the return value (ie a line
ending in a closed-bracket followed by a line starting with "->").
2001-02-20 16:31:15 +00:00
Ulf Möller
48f2ef8d00
make it a loop as in dsa
2001-02-20 16:17:25 +00:00
Richard Levitte
be1bd9239f
Get e_os2.h to get all the system definitions correctly.
2001-02-20 14:07:03 +00:00
Richard Levitte
b8feddae71
Get the right cast for lhash callback functions.
2001-02-20 14:00:29 +00:00
Richard Levitte
a9daa46758
Include string.h so mem*() functions get properly declared.
2001-02-20 13:41:11 +00:00
Dr. Stephen Henson
569afce4b0
Fix typo.
2001-02-20 13:30:28 +00:00
Richard Levitte
a9aa3d580c
A new bunch of too long symbols to hack.
...
OCSP_CRLID_new and OCSP_crlID_new clash on case-insensitive systems.
2001-02-20 13:26:00 +00:00
Richard Levitte
56a6ccc84f
DEC C on VMS is pedantic by definition.
2001-02-20 13:24:23 +00:00
Richard Levitte
03c4d82fa1
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
Make a batter file name translator (uhm, no, that's not the finished
variant :-)).
2001-02-20 13:23:42 +00:00
Richard Levitte
7ab1a39181
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
2001-02-20 13:22:35 +00:00
Richard Levitte
56dde3ebe6
Include opensslconf.h or the like early to make sure system macros get
...
correctly defined.
2001-02-20 13:11:54 +00:00
Richard Levitte
6525ced540
Let VMS catch up.
2001-02-20 13:10:14 +00:00
Richard Levitte
32d0ad41a4
DEC C on VMS is pedantic by definition.
2001-02-20 13:06:55 +00:00
Richard Levitte
e28e42a549
Use sk_*_new_null() instead of sk_*_new(NULL). That avoids getting
...
lots of silly warnings from the compiler.
2001-02-20 13:06:10 +00:00
Bodo Möller
ff055b5c89
honour '-no_tmp_rsa'
2001-02-20 12:59:48 +00:00
Bodo Möller
0069dbc4a5
honour -no_tmp_rsa
2001-02-20 12:58:57 +00:00
Richard Levitte
d8770f3ece
Include string.h so mem* functions get properly declared.
2001-02-20 12:51:56 +00:00
Richard Levitte
4981372d03
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
2001-02-20 12:44:46 +00:00
Richard Levitte
3ebac273f5
Include string.h so mem* functions get properly declared.
2001-02-20 12:43:11 +00:00
Richard Levitte
5af18f65f4
Use 0 instead of NULL, at least for function casts, since there are
...
variants of stdio.h that define NULL in such a way that it's "unsafe"
to use for function pointer casting.
2001-02-20 12:40:42 +00:00
Bodo Möller
a9b34991d9
update
2001-02-20 11:36:02 +00:00
Bodo Möller
ac90362581
update
2001-02-20 11:31:20 +00:00
Bodo Möller
6d82a20624
Fix BN_[pseudo_]rand: 'mask' must be used even if top=-1.
...
Mention BN_[pseudo_]rand with top=-1 in CHANGES.
2001-02-20 08:22:25 +00:00
Richard Levitte
bc36ee6227
Use new-style system-id macros everywhere possible. I hope I haven't
...
missed any.
This compiles and runs on Linux, and external applications have no
problems with it. The definite test will be to build this on VMS.
2001-02-20 08:13:47 +00:00
Bodo Möller
f2bc668429
Fix BN_[pseudo_]rand: 'mask' must be used even if top=-1.
...
Mention BN_[pseudo_]rand with top=-1 in CHANGES.
2001-02-20 08:10:38 +00:00
Richard Levitte
8120813066
Use new-style system-id macros.
2001-02-20 07:43:22 +00:00
Richard Levitte
7242cd8f8f
I'm sick of the warnings about long long...
2001-02-20 07:22:11 +00:00
Ulf Möller
12c2fe8d53
Use BN_rand_range().
2001-02-20 00:43:59 +00:00
Ulf Möller
28143c66e1
Fix warning.
2001-02-20 00:43:03 +00:00
Ulf Möller
6c66fcba5f
as in main branch
2001-02-20 00:38:02 +00:00
Ulf Möller
335c4f0966
BN_rand_range() needs a BN_rand() variant that doesn't set the MSB.
2001-02-20 00:23:07 +00:00
Ulf Möller
faa624f9f9
BN_rand_range() needs a BN_rand() variant that doesn't set the MSB.
2001-02-20 00:17:46 +00:00
Ulf Möller
5003a61b9f
note OPENSSL_issetugid().
2001-02-19 23:58:56 +00:00
Ulf Möller
15ed15d3e4
OPENSSL_issetugid() as in the main branch.
2001-02-19 23:57:18 +00:00
Ulf Möller
7bd51947e5
Temporary fix for build break.
...
It's still inconsistent - probably better to undo the whole OPENSSL_NO_* thing.
2001-02-19 23:42:09 +00:00
Richard Levitte
4901b41653
Make sure time() is properly declared.
2001-02-19 22:47:40 +00:00
cvs2svn
54f7c8571f
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-19 22:04:03 +00:00
Richard Levitte
74cd365b03
Use the new-style system-identity macros.
2001-02-19 22:04:02 +00:00
Richard Levitte
2affbab9fc
I forgot to document the system identification macros
2001-02-19 16:15:13 +00:00
Richard Levitte
cf1b7d9664
Make all configuration macros available for application by making
...
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.
I've checked fairly well that nothing breaks with this (apart from
external software that will adapt if they have used something like
NO_KRB5), but I can't guarantee it completely, so a review of this
change would be a good thing.
2001-02-19 16:06:34 +00:00
Richard Levitte
649c5a2b09
Remove temporary files when done.
2001-02-19 15:23:37 +00:00
Richard Levitte
07247321c6
make update
2001-02-19 14:00:38 +00:00
Richard Levitte
0c43540433
An obvious but hard-to-see cut'n'paste error corrected.
2001-02-19 13:57:40 +00:00
Dr. Stephen Henson
acba75c59d
New -set_serial options to 'req' and 'x509'.
...
Remove the old broken bio read of serial numbers in the 'ca' index
file. This would choke if a revoked certificate was specified with
a negative serial number.
Fix typo in uid.c
2001-02-19 13:38:32 +00:00
Richard Levitte
267a1927eb
Do not insert things in syms{} and kind{} when parsing the header
...
files. Instead, insert proper information in the $def string, which
will be properly munged later on.
2001-02-19 13:33:04 +00:00
Richard Levitte
b0c8638650
Make the choice of "makedepend" program choosable through a switch.
2001-02-19 12:51:14 +00:00
Richard Levitte
b36c170d1b
VMS follows suit.
2001-02-19 11:30:22 +00:00
Bodo Möller
934397ec66
Memory leak detection bugfixes for multi-threading.
2001-02-19 10:32:53 +00:00
Bodo Möller
0f8631495d
Add uid.{c,o}
2001-02-19 10:31:04 +00:00
Bodo Möller
b6fefec364
Memory leak checking bugfixes for multi-threading.
2001-02-19 10:30:13 +00:00
Richard Levitte
95ffe86dbc
Perl code patch contributed by "Kurt J. Pires" <kjpires@iat.com>
...
His own words are:
The patch adds no new functionality (other than a simple test package)
to the libraries, but it allows them to be compiled with Perl5.6.0.
It has only been tested under "Red Hat Linux release 7.0 (Guinness)"
with the unpatched verion of OpenSSL 0.9.6 released last September.
2001-02-19 09:29:53 +00:00
Richard Levitte
87b79c3ef3
Make it possible to use gcc to generate the dependency tables.
2001-02-16 13:55:05 +00:00
Ulf Möller
2bf1c86d05
ispell
2001-02-16 02:11:12 +00:00
Ulf Möller
52d160d85d
ispell
2001-02-16 02:09:53 +00:00
Ulf Möller
2147cd3540
pod format error
2001-02-16 01:46:47 +00:00
Ulf Möller
54ff1e6ae5
pod format error
2001-02-16 01:44:24 +00:00
Dr. Stephen Henson
a6b7ffddac
New options to 'ca' utility to support CRL entry extensions.
...
Add revelant new X509V3 extensions.
Add OIDs.
Fix ASN1 memory leak code to pop info if external allocation used.
2001-02-16 01:35:44 +00:00
Lutz Jänicke
6a0fb6083c
Move entry to match chronologic ordering.
2001-02-15 14:19:43 +00:00
Lutz Jänicke
f30d34f3a8
Move entry to match chronologic orderering.
2001-02-15 14:18:53 +00:00
Lutz Jänicke
84a2173797
Don't forget to mention minor change.
2001-02-15 10:35:56 +00:00
Lutz Jänicke
0dbfc1da4a
Add '-rand' option to s_server and s_client.
2001-02-15 10:35:29 +00:00
Lutz Jänicke
52b621db88
Add "-rand" option to s_client and s_server.
2001-02-15 10:22:07 +00:00
Ulf Möller
a6ed5dd674
That was misleading. The problem won't happen with 0.9.6a anyway.
2001-02-14 16:55:22 +00:00
Richard Levitte
1417f2dccb
Include the newly reported problem with bc on FreeBSD 4.2.
2001-02-14 07:45:59 +00:00
Dr. Stephen Henson
f2e5ca84d4
Option to disable standard block padding with EVP API.
...
Add -nopad option to enc command.
Update docs.
2001-02-14 02:11:52 +00:00
Ulf Möller
36fafffae2
New function OPENSSL_issetugid(). Needs more work.
2001-02-14 01:35:44 +00:00
Dr. Stephen Henson
cdc7b8cc60
Initial OCSP SSL support.
2001-02-14 01:12:41 +00:00
Ulf Möller
f945040633
IRIX bugfix
2001-02-14 00:23:27 +00:00
Ulf Möller
720235eeec
IRIX bugfix
2001-02-14 00:14:09 +00:00
Lutz Jänicke
8b8e03dc66
Finish first round of session cache documentation.
2001-02-13 14:02:59 +00:00
cvs2svn
56ec43a0dd
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-13 14:00:10 +00:00
Lutz Jänicke
8e495e4ac7
Finish first round of session cache documentation.
2001-02-13 14:00:09 +00:00
Richard Levitte
2afbd6fa08
Update of linux-ppc. Contributed by MATSUURA Takanori
...
<t-matsuu@protein.osaka-u.ac.jp >
2001-02-13 13:08:12 +00:00
Lutz Jänicke
74ac7455c5
New manual page: SSL_CTX_set_mode.
2001-02-13 11:46:42 +00:00
cvs2svn
166850e315
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-13 11:43:12 +00:00
Lutz Jänicke
f282ca7413
New manual page: SSL_CTX_set_mode.
2001-02-13 11:43:11 +00:00
Dr. Stephen Henson
67c1801924
New function OCSP_parse_url() and -url option for ocsp utility.
...
Doesn't handle SSL URLs yet.
2001-02-13 00:37:44 +00:00
Dr. Stephen Henson
46a58ab946
Modify OCSP nonce behaviour.
2001-02-12 23:28:45 +00:00
Dr. Stephen Henson
94fcd01349
Work around for libsafe "error".
2001-02-12 03:22:49 +00:00
Dr. Stephen Henson
e15abbc69f
Make X509_NAME produce correct encoding when empty.
2001-02-12 03:16:13 +00:00
Dr. Stephen Henson
c6b523d3dd
Workaround for libsafe "error".
2001-02-12 03:04:59 +00:00
Geoff Thorpe
9a04387362
Re-order a couple of static functions and "#if 0" out unused ones - this
...
gets rid of gcc warnings.
2001-02-12 02:30:19 +00:00
Geoff Thorpe
282d8b1c38
This change was a quick experiment that I'd wanted to try that works quite
...
well (and is a good demonstration of how encapsulating the SSL in a
memory-based state machine can make it easier to apply to different
situations).
The change implements a new command-line switch "-flipped <0|1>" which, if
set to 1, reverses the usual interpretation of a client and server for SSL
tunneling. Normally, an ssl client (ie. "-server 0") accepts "cleartext"
connections and conducts SSL/TLS over a proxied connection acting as an SSL
client. Likewise, an ssl server (ie. "-server 1") accepts connections and
conducts SSL/TLS (as an SSL server) over them and passes "cleartext" over
the proxied connection. With "-flipped 1", an SSL client (specified with
"-server 0") in fact accepts SSL connections and proxies clear, whereas an
SSL server ("-server 1") accepts clear and proxies SSL. NB: most of this
diff is command-line handling, the actual meat of the change is simply the
line or two that plugs "clean" and "dirty" file descriptors into the item
that holds the state-machine - reverse them and you get the desired
behaviour.
This allows a network server to be an SSL client, and a network client to
be an SSL server. Apart from curiosity value, there's a couple of possibly
interesting applications - SSL/TLS is inherently vulnerable to trivial DoS
attacks, because the SSL server usually has to perform a private key
operation first, even if the client is authenticated. With this scenario,
the network client is the SSL server and performs the first private key
operation, whereas the network server serves as the SSL client. Another
possible application is when client-only authentication is required (ie.
the underlying protocol handles (or doesn't care about) authenticating the
server). Eg. an SSL/TLS version of 'ssh' could be concocted where the
client's signed certificate is used to validate login to a server system -
whether or not the client needs to validate who the server is can be
configured at the client end rather than at the server end (ie. a complete
inversion of what happens in normal SSL/TLS).
NB: This is just an experiment/play-thing, using "-flipped 1" probably
creates something that is interoperable with exactly nothing. :-)
2001-02-12 02:28:29 +00:00
Lutz Jänicke
1e376e41a2
More about session caching.
2001-02-11 17:03:50 +00:00
cvs2svn
dc931b1fca
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-11 17:01:37 +00:00
Lutz Jänicke
41ecaba97e
More about session caching.
2001-02-11 17:01:36 +00:00
Lutz Jänicke
96dfab9e0e
Include information that automatic query is a new feature.
2001-02-10 19:10:36 +00:00
Lutz Jänicke
1b65ce7db3
Update for 0.9.7 with SSL_OP_CIPHER_SERVER_PREFERENCE.
2001-02-10 16:21:38 +00:00
Lutz Jänicke
7fcb1de839
Manual page for SSL_CTX_set_options(). Unfortunately for some of the
...
options someone much longer working with OpenSSL/SSLeay is needed.
2001-02-10 16:20:41 +00:00
cvs2svn
49b02a2d77
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-10 16:18:36 +00:00
Lutz Jänicke
7b9cb4a224
Manual page for SSL_CTX_set_options(). Unfortunately for some of the
...
options someone much longer working with OpenSSL/SSLeay is needed.
2001-02-10 16:18:35 +00:00
Bodo Möller
bc2dfde4b3
Oops: It's RegTP, not RegPT ...
2001-02-10 13:35:34 +00:00
Bodo Möller
ec9dc137e7
Add German SiG root certificates (extracted from the official cert registry
...
file http://www.nrca-ds.de/ftp/pkd.ttp , which contains a total of 288
certificates issued by the RegPT so far)
2001-02-10 13:16:16 +00:00
Bodo Möller
620cea37e0
disable stdin buffering in load_cert
2001-02-10 13:12:35 +00:00
Bodo Möller
c15e036398
use case-insensitive comparison in set_table_opts
...
(similar to how arguments such as -inform/-outform specifications
are treated)
2001-02-10 11:21:29 +00:00
Dr. Stephen Henson
ccb08f98ae
Fix CRL printing to correctly show when there are no revoked certificates.
...
Make ca.c correctly initialize the revocation date.
Make ASN1_UTCTIME_set_string() and ASN1_GENERALIZEDTIME_set_string() set the
string type: so they can initialize ASN1_TIME structures properly.
2001-02-10 00:56:45 +00:00
Bodo Möller
418a0d151e
Simplify BN_rand_range
2001-02-10 00:34:20 +00:00
Bodo Möller
e306892994
Simplify BN_rand_range
2001-02-10 00:34:02 +00:00
Lutz Jänicke
836f996010
New Option SSL_OP_CIPHER_SERVER_PREFERENCE allows TLS/SSLv3 server to override
...
the clients choice; in SSLv2 the client uses the server's preferences.
2001-02-09 19:56:31 +00:00
Lutz Jänicke
1613c4d3bf
Typo
2001-02-09 19:05:49 +00:00
Lutz Jänicke
7b0cb7f08d
Fix "wierd" typo as submitted by Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>.
2001-02-09 19:05:11 +00:00
Lutz Jänicke
b5f6d9dc6e
Fix "wierd" typo as submitted by Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>.
2001-02-09 19:03:53 +00:00
Dr. Stephen Henson
c063f2c5ec
Various Win32 related fixed. Make no-krb5 work in mkdef.pl .
...
Fix warning in apps/engine.c
Remove definitions of deleted functions.
Add missing definition of X509_VAL.
2001-02-09 18:16:12 +00:00
Dr. Stephen Henson
c47c619680
Various updates to mkdef.pl to cope with new aes
...
and ASN1 code.
2001-02-09 13:16:21 +00:00
Bodo Möller
93cd57a578
fix editing error
2001-02-09 09:40:18 +00:00
Bodo Möller
1c08c320c5
add linux-s390 configuration (based on information submitted by
...
Denis Beauchemin <Denis.Beauchemin@Courrier.USherb.ca >)
2001-02-09 08:35:03 +00:00
Bodo Möller
49ce63cd7c
add linux-s390 configuration (based on information submitted by
...
Denis Beauchemin <Denis.Beauchemin@Courrier.USherb.ca >)
2001-02-09 08:34:29 +00:00
Dr. Stephen Henson
b3f2e399d2
Add missing \n's to ocsp usage message.
2001-02-09 03:09:05 +00:00
Dr. Stephen Henson
8c950429a9
Allow various options to be included for signing and verify of
...
OCSP responses.
Documentation to follow...
Urgh.. this conflicted with the -VAfile patch I hope I haven't
broken it.
2001-02-08 19:36:10 +00:00
Richard Levitte
c2bf70a27c
The check for request including a nonce and response not having it was
...
inversed. Corrected. Hopefully, this will make it work without
dumping core.
2001-02-08 19:28:10 +00:00
Richard Levitte
9235adbf47
Add the -VAfile option to 'openssl ocsp'. This option will give the
...
client code certificates to use to only check response signatures.
I'm not entirely sure if the way I just implemented the verification
is the right way to do it, and would be happy if someone would like to
review this.
2001-02-08 17:59:29 +00:00
Ulf Möller
452b34a770
add comment and RAND_load_file() change as in main branch.
2001-02-08 17:50:55 +00:00
Ulf Möller
a71b5abfa4
use <= instead of ==
2001-02-08 17:45:32 +00:00
Ulf Möller
928cc3a6de
point out that RAND_load_file() etc are only for seed files, not for
...
entropy devices or sockets.
2001-02-08 17:22:56 +00:00
Ulf Möller
466e4249ab
Note that EGD is used automatically.
2001-02-08 17:16:44 +00:00
Ulf Möller
6bdb723259
cleanup
2001-02-08 17:14:47 +00:00
Ulf Möller
9fbc45b159
cleanup
2001-02-08 17:14:07 +00:00
Bodo Möller
792e2ce7f4
Another comment change. (Previous comment does not apply
...
for range = 11000000... or range = 100000...)
2001-02-08 12:34:08 +00:00
Bodo Möller
31a74acfd3
Another comment change. (Previous comment does not apply
...
for range = 11000000... or range = 100000...)
2001-02-08 12:33:55 +00:00
Bodo Möller
3952584571
Change comments. (The expected number of iterations in BN_rand_range
...
never exceeds 1.333...).
2001-02-08 12:27:22 +00:00
Bodo Möller
d82242169b
Change comments. (The expected number of iterations in BN_rand_range
...
never exceeds 1.333...).
2001-02-08 12:27:00 +00:00
Bodo Möller
a0707e6170
oops -- remove observation code
2001-02-08 12:25:03 +00:00
Bodo Möller
a5d2acfc79
oops -- remove observation code
2001-02-08 12:24:41 +00:00
Bodo Möller
07fc72fea1
Integrate my implementation of a countermeasure against
...
Bleichenbacher's DSA attack. With this implementation, the expected
number of iterations never exceeds 2.
New semantics for BN_rand_range():
BN_rand_range(r, min, range) now generates r such that
min <= r < min+range.
(Previously, BN_rand_range(r, min, max) generated r such that
min <= r < max.
It is more convenient to have the range; also the previous
prototype was misleading because max was larger than
the actual maximum.)
2001-02-08 12:20:25 +00:00
Bodo Möller
35ed8cb8b6
Integrate my implementation of a countermeasure against
...
Bleichenbacher's DSA attack. With this implementation, the expected
number of iterations never exceeds 2.
New semantics for BN_rand_range():
BN_rand_range(r, min, range) now generates r such that
min <= r < min+range.
(Previously, BN_rand_range(r, min, max) generated r such that
min <= r < max.
It is more convenient to have the range; also the previous
prototype was misleading because max was larger than
the actual maximum.)
2001-02-08 12:14:51 +00:00
Bodo Möller
7edc5ed90a
platform specific CFLAGS don't belong into this Makefile
2001-02-08 11:15:50 +00:00
Lutz Jänicke
420125f996
Update documentation to match the state at 0.9.6 _and_ the recent changes.
2001-02-08 10:42:01 +00:00
Lutz Jänicke
813c7c415b
Update documentation to match the state of OpenSSL 0.9.6.
2001-02-08 10:36:37 +00:00
Ulf Möller
38b3a46ffa
DSA fix from main branch.
2001-02-07 22:35:11 +00:00
Ulf Möller
57e7d3ce15
Bleichenbacher's DSA attack
2001-02-07 22:24:35 +00:00
Lutz Jänicke
a8ebe4697e
Modify access to EGD socket to deal with EINTR etc that can appear
...
during connect() and other calls. First seen on Unixware-7.
Unify access to EGD-socket for all RAND_egd_*() methods.
2001-02-07 22:13:38 +00:00
Ulf Möller
60b3b2c9d0
EBCDIC bug fix from main branch.
2001-02-07 22:13:10 +00:00
Dr. Stephen Henson
deb2c1a1c5
Fix AES code.
...
Update Rijndael source to v3.0
Add AES OIDs.
Change most references of Rijndael to AES.
Add new draft AES ciphersuites.
2001-02-07 18:15:18 +00:00
Lutz Jänicke
d4219c485b
Change preferences for sockets of EGD-style entropy daemons to a more
...
reasonable selection.
2001-02-07 14:26:43 +00:00
Lutz Jänicke
73fc98a7bf
Fix typo preventing correct usage of -out option.
2001-02-07 14:15:41 +00:00
Ben Laurie
259810e05b
Rijdael CBC mode and partial undebugged SSL support.
2001-02-06 14:09:13 +00:00
Ben Laurie
171cc53a96
Improve the state machine.
2001-02-06 13:13:31 +00:00
Bodo Möller
9eea2be6f1
Avoid coredumps for CONF_get_...(NULL, ...)
2001-02-06 10:26:34 +00:00
Bodo Möller
c7410f2693
Avoid coredumps for CONF_get_...(NULL, ...)
2001-02-06 10:14:57 +00:00
Bodo Möller
69a03c1799
don't dump core
2001-02-06 09:47:47 +00:00
Bodo Möller
43a5e1409e
don't dump core
2001-02-06 09:47:25 +00:00
Ulf Möller
4327aae816
format strings
2001-02-06 02:57:35 +00:00
Ulf Möller
741a9690df
Fix potential buffer overrun for EBCDIC.
2001-02-06 02:54:02 +00:00
Richard Levitte
cd4fad5488
Merge in memory leak correction from main trunk.
2001-02-05 13:33:28 +00:00
Richard Levitte
28b1bceb2f
0.9.6a will not be release in Y2K. :-)
2001-02-05 13:32:33 +00:00
Richard Levitte
e24e40657f
Fix a memory leak in BIO_get_accept_socket(). This leak was small and
...
only happened when the port number wasn't parsable ot the host wasn't
possible to convert to an IP address.
Contributed by Niko Baric <Niko.Baric@epost.de >
2001-02-05 09:15:09 +00:00
Bodo Möller
448361a86c
Include string.h (whis is in all relevant standards) instead of
...
memory.h (which is not).
2001-02-05 09:07:50 +00:00
Dr. Stephen Henson
26e083ccb7
New function to copy nonce values from OCSP
...
request to response.
2001-02-05 00:35:06 +00:00
Ben Laurie
4978361212
Make depend.
2001-02-04 21:06:55 +00:00
Ben Laurie
247c1361f3
BN assembler is no longer option on x86.
2001-02-04 21:03:22 +00:00
Ben Laurie
1618bc7921
Can't remember why this was needed?
2001-02-04 21:02:22 +00:00
Ben Laurie
1b843d3c69
Fix a warning.
2001-02-04 21:01:32 +00:00
Lutz Jänicke
d4d76b9e83
Documenting session caching, 2nd step.
2001-02-04 18:10:54 +00:00
cvs2svn
e1fee47759
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-04 18:05:28 +00:00
Lutz Jänicke
0bc6597d4d
Documenting session caching, 2nd step.
2001-02-04 18:05:27 +00:00
Dr. Stephen Henson
2b916952a8
Fix ASN1_TIME_to_generlizedtime().
...
Add protoype for OCSP_response_create().
Add OCSP_request_sign() and OCSP_basic_sign()
private key and certificate checks and make
OCSP_NOCERTS consistent with PKCS7_NOCERTS
2001-02-04 03:04:43 +00:00
Dr. Stephen Henson
02e4fbed3d
Various OCSP responder utility functions.
...
Delete obsolete OCSP functions.
Largely untested at present...
2001-02-03 19:20:45 +00:00
Lutz Jänicke
88e9984da5
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.
2001-02-03 15:15:44 +00:00
Lutz Jänicke
7403c34b0b
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.
2001-02-03 15:15:00 +00:00
Lutz Jänicke
dac1169e82
Typo: on my screen it nicely wrapped around at 80 :-)
2001-02-03 11:02:35 +00:00
Lutz Jänicke
9022f2403b
Typo: on my screen it nicely wrapped around at 80 :-)
2001-02-03 11:02:02 +00:00
Lutz Jänicke
53ab745f7a
If the source has already been succesfully queried, do not try to open it
...
again as file.
2001-02-03 10:59:16 +00:00
Lutz Jänicke
08f3f07212
If the source has already been succesfully queried, do not try to open it
...
again as file.
2001-02-03 10:59:13 +00:00
Lutz Jänicke
2bbe747045
Backport...
2001-02-02 14:44:02 +00:00
cvs2svn
55cd47ffb4
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-02-02 14:40:53 +00:00
Lutz Jänicke
8cbceba610
Document session caching, first step.
2001-02-02 14:40:52 +00:00
Dr. Stephen Henson
88ce56f8c1
Various function for commmon operations.
2001-02-02 00:45:54 +00:00
Dr. Stephen Henson
664d83bb23
Tidy up the mess in bss_sock.c and bss_fd.c
...
by placing them socket/fd code in separate
files rather than trying to have them both
share the same one.
2001-02-02 00:31:45 +00:00
Dr. Stephen Henson
2e1d669cba
Tolerate some "variations" used in some
...
certificates.
One is a valid CA which has no basicConstraints
but does have certSign keyUsage.
Other is S/MIME signer with nonRepudiation but
no digitalSignature.
2001-02-01 02:03:58 +00:00
Dr. Stephen Henson
8cff6331c9
Tolerate some "variations" used in some
...
certificates.
One is a valid CA which has no basicConstraints
but does have certSign keyUsage.
Other is S/MIME signer with nonRepudiation but
no digitalSignature.
2001-02-01 01:57:32 +00:00
Lutz Jänicke
819d5cef08
Backport extended documentation.
2001-01-31 14:18:43 +00:00
cvs2svn
e9cba65a99
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-01-31 14:14:21 +00:00
Lutz Jänicke
cd6aa710b5
New manual page for a hardly known but important item :-)
2001-01-31 14:14:20 +00:00
Richard Levitte
3b1f393ae7
Transport from development branch.
2001-01-30 13:54:44 +00:00
Richard Levitte
903872d65e
Document the change.
2001-01-30 13:47:59 +00:00
Richard Levitte
16a44ae7e9
Increase consistency of header data (some mail readers really do not
...
like spaces before the semicolon, and besides, other parts of this
file makes the values without those spaces), and move spacing of
continuation lines to support BIO's that break lines after each
write.
2001-01-30 13:38:59 +00:00
Bodo Möller
739423fceb
Remove serial number file during 'make clean'.
2001-01-29 11:41:12 +00:00
Lutz Jänicke
61433519af
Backported manual pages from 0.9.7.
2001-01-28 18:35:10 +00:00
Lutz Jänicke
c032563a0a
Backport documentation added for 0.9.7.
2001-01-28 18:31:35 +00:00
Dr. Stephen Henson
943f8a46a4
For CRLs.
...
Shouldn't use the "encode empty" macros with the
revoked field since that is initialised.
Extensions should now be set to NULL so they
encode as absent if none are added.
2001-01-28 14:48:13 +00:00
Bodo Möller
78f3a2aad7
Comment and indentation
2001-01-28 14:38:11 +00:00
Dr. Stephen Henson
b847024026
Make sk_sort tolearate a NULL argument.
2001-01-28 14:20:13 +00:00
Dr. Stephen Henson
7a60df7dd3
New ASN1 macros which will encode an empty SEQUENCE OF.
...
Fix CRL encoders to encode empty SEQUENCE OF.
The old code was breaking CRL signatures.
Note: it is best to add new macros because changing the
old ones could break other code which expects that behaviour.
None of this is needed with the new ASN1 code anyway...
2001-01-28 14:18:20 +00:00
Dr. Stephen Henson
50d5199120
New OCSP response verify option OCSP_TRUSTOTHER
2001-01-26 01:55:52 +00:00
Richard Levitte
9020b86250
Documentation language corrections, contributed by Chris Pepper <pepper@mail.reppep.com>
2001-01-25 14:46:00 +00:00
Dr. Stephen Henson
de0b3ab7fb
Zero the premaster secret after deriving the master secret in DH
...
ciphersuites.
2001-01-25 13:20:39 +00:00
Dr. Stephen Henson
a342cc5a70
Zero the premaster secret after deriving the master secret in DH
...
ciphersuites.
2001-01-25 13:15:01 +00:00
cvs2svn
2b8d087ba1
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-01-25 02:26:59 +00:00
Geoff Thorpe
67c3cf0675
Insert a missing space to stop pod2man giving stroppy "malformed" warnings.
2001-01-25 02:26:58 +00:00
Bodo Möller
9a875a3574
update
2001-01-24 22:39:29 +00:00
Dr. Stephen Henson
a43cf9fae9
Add debugging info to new ASN1 code to trace memory leaks.
...
Fix PKCS7 and PKCS12 memory leaks.
Initialise encapsulated content type properly.
2001-01-24 18:39:54 +00:00
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
Bodo Möller
9ae9c221de
Update "OAEP reconsidered" comment
2001-01-24 14:59:25 +00:00
Ulf Möller
4256650d68
new year
2001-01-24 02:56:40 +00:00
Ulf Möller
9cd9ae3e3e
new year
2001-01-24 02:56:13 +00:00
Bodo Möller
ae0665b8f1
EVP_add_digest_alias additions to SS_library_init
2001-01-23 16:39:59 +00:00
Bodo Möller
c4fd88f519
EVP_add_digest_alias additions to SSL_library_init
2001-01-23 16:38:15 +00:00
Ulf Möller
0a0a261d64
Irix fix as in main branch
2001-01-23 16:29:06 +00:00
Ulf Möller
75802000c8
There is no C version of bn_div_3_words
2001-01-23 16:26:15 +00:00
Bodo Möller
325ae88efb
For improved compatibility with 'strange' certificates, add some
...
digest aliases (as found in OpenSSL_add_all_digests).
2001-01-23 13:55:26 +00:00
Bodo Möller
6610d4f3b9
For improved compatibility with 'strange' certificates, add some
...
digest aliases (as found in OpenSSL_add_all_digests).
2001-01-23 13:55:01 +00:00
Bodo Möller
a25b265d27
Use OpenSSL_add_all_algorithms instead of the backwards compatibility
...
alias SSLeay_add_all_algorithms
2001-01-23 13:36:57 +00:00
Bodo Möller
d0a8af61b1
More on the e_os.h mess ...
2001-01-23 12:30:43 +00:00
Lutz Jänicke
e58d808a4c
Copy over just written manpage to the ones still missing.
2001-01-23 11:04:52 +00:00
Lutz Jänicke
751b5e8ff2
Add entries for new manpages...
2001-01-23 10:47:41 +00:00
Ulf Möller
36f74d60b3
Definition of NO_KRB5 in ssl.h for external applications.
2001-01-22 18:46:32 +00:00
Ulf Möller
9756da13dd
Use the correct number of arguments in the example.
2001-01-21 19:46:50 +00:00
Ulf Möller
70f74dd946
remove newline
2001-01-21 18:51:01 +00:00
Ulf Möller
92fdeb37a0
config bug fixes from the main branch.
2001-01-21 18:48:11 +00:00
Ulf Möller
893b76c544
Mention the ./config script fixes.
2001-01-21 18:45:23 +00:00
Lutz Jänicke
b5a6f0a92d
Documentation about SSL_get_ex_data_X509_STORE_CTX_idx and
...
SSL_get_ex_new_index() functionality. Extended verify_callback()
example to show the usage.
2001-01-20 16:22:43 +00:00
Dr. Stephen Henson
ba8e28248f
Fix to stop X509_time_adj() using GeneralizedTime.
2001-01-20 13:38:45 +00:00
Dr. Stephen Henson
bfcec27d61
Update ocsp utility documentation.
2001-01-20 01:26:28 +00:00
Dr. Stephen Henson
8e8972bb68
Fixes to various ASN1_INTEGER routines for negative case.
...
Enhance s2i_ASN1_INTEGER().
2001-01-19 14:21:48 +00:00
Bodo Möller
ffac355834
Fix openssl passwd -1
2001-01-19 07:38:55 +00:00
Bodo Möller
57108f0ad5
Fix openssl passwd -1
2001-01-19 07:37:56 +00:00
Dr. Stephen Henson
73758d435b
Additional functionality in ocsp utility: print summary
...
of status info. Check nonce values. Option to disable
verify. Update usage message.
Rename status to string functions and make them global.
2001-01-19 01:32:23 +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
90f63e8f83
Don't shadow.
2001-01-18 01:36:54 +00:00
Dr. Stephen Henson
e8af92fcb1
Implement remaining OCSP verify checks in
...
accordance with RFC2560.
2001-01-18 01:35:39 +00:00
Richard Levitte
361ef5f4dc
Make the change log on the RAND_poll change a bit more explicit. Suggested by Bodo Moeller.
2001-01-17 13:43:18 +00:00
Bodo Möller
aa9be09088
Use 'bctest' script to test if bc works (as in the main branch).
2001-01-17 10:26:25 +00:00
Richard Levitte
b3466895e6
Keep up with Unix
2001-01-17 01:35:35 +00:00
Dr. Stephen Henson
81f169e95c
Initial OCSP certificate verify. Not complete,
...
it just supports a "trusted OCSP global root CA".
2001-01-17 01:31:34 +00:00
Ulf Möller
a068630a20
link to the new manpage.
2001-01-15 22:19:30 +00:00
Bodo Möller
dfebac32c0
New '-extfile' option for 'openssl ca'.
...
This allows keeping extensions in a separate configuration file.
Submitted by: Massimiliano Pala <madwolf@comune.modena.it >
2001-01-15 11:35:24 +00:00
Geoff Thorpe
ab5db00717
Update the LHASH man page.
...
* Correct some prototypes and macros with respect to "const"ness.
* Add the extra macros and examples due to the lh_doall[_arg] modifications
made recently. The existing example is also reworked for consistency.
* Rewrite, tweak, and supplement bits of the existing comments that seemed
(IMHO) to be a little convoluted and misleading.
* Add a NOTE section that explains the use of macros and avoiding function
casts (ie. generate a wrapper as with the macros, or prototype any
callback functions exactly to not require casting). Also, explain the
"const" approach taken in LHASH for the purposes of API comprehensibility
and also application code auditing.
2001-01-14 23:37:42 +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
6308af199d
Change PKCS#12 key derivation routines to cope with
...
non null terminated passwords.
2001-01-14 14:07:10 +00:00
Dr. Stephen Henson
8e5b6314ef
Fix warning in apps/ca.c
2001-01-14 13:58:49 +00:00
Dr. Stephen Henson
b4b1bdd5d3
Preliminary ocsp utility documentation.
...
Fix ocsp usage message.
2001-01-14 00:52:19 +00:00
Dr. Stephen Henson
5782ceb298
New OCSP utility. This can generate, parse and print
...
OCSP requests. It can also query reponders and parse or
print out responses.
Still needs some more work: OCSP response checks and
of course documentation.
2001-01-13 01:48:38 +00:00
Bodo Möller
cc85ec447b
Disable RegQueryValueEx() call.
...
Problem reported by "Wolfgang Marczy" <WMarczy@topcall.co.at >
in a message to openssl-dev (19 Dec 2000 13:40:51 +0100).
2001-01-12 15:16:21 +00:00
Bodo Möller
c67cdb50d2
New 'openssl ca -status <serial>' and 'openssl ca -updatedb'
...
commands.
Submitted by: Massimiliano Pala <madwolf@comune.modena.it >
2001-01-12 14:50:44 +00:00
Bodo Möller
af5473c45a
isspace must be used only on *unsigned* chars
2001-01-12 14:45:12 +00:00
Bodo Möller
f2c46006e7
note strncpy problem
2001-01-12 14:06:26 +00:00
Bodo Möller
a5a4b34a5a
When we are waiting for user action, we should say this explicitly.
2001-01-12 10:35:32 +00:00
Bodo Möller
69e42952e1
When we are waiting for user action, we should say this explicitly.
2001-01-12 10:34:58 +00:00
Dr. Stephen Henson
adf87b2df5
Fix typo in OCSP ASN1 module, this caused
...
invalid format in OCSP request signatures.
Add spaces to OCSP HTTP header.
Change X509_NAME_set() there's no reason
why it should return an error if the
destination points to NULL... though it
should if the destination is NULL.
2001-01-11 23:24:28 +00:00
Bodo Möller
40753f760d
Remove "AVAILABLE PATCH" that has now been applied.
...
Move ex_data.c entry from "NEEDS PATCH" to "OPEN ISSUES".
2001-01-11 13:33:10 +00:00
Bodo Möller
d199858e89
New -newreq-nodes option to CA.pl.
...
Submitted by: Damien Miller <djm@mindrot.org >
2001-01-11 13:23:19 +00:00
Richard Levitte
10a2975a27
Add configuration for GNU Hurd.
2001-01-11 12:58:37 +00:00
Dr. Stephen Henson
9b4dc8308f
OCSP basic response verify. Very incomplete
...
but will verify the signatures on a response
and locate the signers certifcate.
Still needs to implement a proper OCSP certificate
verify.
Fix warning in RAND_egd().
2001-01-11 00:52:50 +00:00
Bodo Möller
b93642c5cc
No functional change, but slightly improved code clarity.
2001-01-10 19:26:34 +00:00
Bodo Möller
a5435e8b29
After discussion with Richard, change the new API for extended memory
...
allocation callbacks so that it is no longer visible to applications
that these live at a different call level than conventional memory
allocation callbacks.
2001-01-10 18:09:57 +00:00
Bodo Möller
72e2d9138c
It's silly to use a different default for PERL than in the top
...
Makefile. (The default is never actually used though because
the top Makefile passes its value of PERL down to sub-Makefiles.)
2001-01-10 16:46:00 +00:00
Bodo Möller
1dd080bca4
Pass ${PERL} down to the Makefile in sub-directory "test" in
...
"make tests"
2001-01-10 16:43:52 +00:00
Bodo Möller
f648590991
Use $(PERL) in place of hard-coded perl
2001-01-10 16:40:30 +00:00
Bodo Möller
a14280d41e
Add new items:
...
- 0.9.6a is under development
- a couple of illegal includes of <openssl/e_os.h> should be purged
- ex_data sucks
2001-01-10 16:37:35 +00:00
Bodo Möller
91b842c972
Last time I asked, no-one appeared to remember if these "NEEDS PATCH"
...
entries are still current or what they are about:
o non-blocking socket on AIX
o $(PERL) in */Makefile.ssl
So I'll remove them for now.
2001-01-10 16:25:12 +00:00
Bodo Möller
eddf82a36a
make indentation consistent
2001-01-10 15:31:04 +00:00
Bodo Möller
673b3fde82
Add SSLEAY_DIR argument code for SSLeay_version.
...
Add '-d' option for 'openssl version' (included in '-a').
2001-01-10 15:15:36 +00:00
Bodo Möller
a87e50a945
'char' argument to islower must be converted to 'unsigned char'
2001-01-10 14:58:22 +00:00
Bodo Möller
b62a0c4cab
Add a pointer to digest options in the description of -fingerprint.
2001-01-10 14:35:20 +00:00
Bodo Möller
f99267cffc
Fix C code generate by 'openssl dsaparam -C'.
2001-01-10 14:27:04 +00:00
Bodo Möller
c06648f7f0
Fix C code generate by 'openssl dsaparam -C'.
2001-01-10 14:26:32 +00:00
Bodo Möller
cd56182b41
Change prototypes for new CRYPTO_..._mem_ex_functions functions so
...
that they match the function definitions (namely, remove file/line
parameters from free_func).
2001-01-10 14:10:17 +00:00
Richard Levitte
65a22e8e4d
As response to a user request to be able to use external memory
...
handling routines that need file name and line number information,
I've added a call level to our memory handling routines to allow that
kind of hooking.
2001-01-10 13:14:58 +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
Dr. Stephen Henson
cbf0f45f90
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:06:31 +00:00
Ulf Möller
b2293b1e9b
rsa_num is not used with NO_RSA
2001-01-09 21:39:16 +00:00
Geoff Thorpe
04e53c273f
oops, void functions shouldn't try and return a value. Strangely, gcc
...
didn't even give a warning for this yet HPUX cc considered it an error.
Reported by Lutz(@openssl.org).
2001-01-09 16:59:56 +00:00
Lutz Jänicke
599c03530a
Add automatic query of EGD sockets to RAND_poll(). The EGD sockets are
...
only queried when the /dev/[u]random devices did not return enough
entropy. Only the amount of entropy missing to reach the required minimum
is queried, as EGD may be drained.
Queried locations are: /etc/entropy, /var/run/egd-pool
2001-01-09 16:44:59 +00:00
Geoff Thorpe
56a67adb64
It was correctly pointed out to me that my CHANGES entry was a little thin
...
on details. :-)
2001-01-09 16:39:04 +00:00
Lutz Jänicke
28e5428d5d
Don't cheat: when only getting several bytes from each source, n is incremented
...
correctly, but RAND_add(..,n) counts the increasing n several times.
Only RAND_add(..,n) once entropy collection is finished.
2001-01-09 10:58:36 +00:00
Geoff Thorpe
3c91484052
Move all the existing function pointer casts associated with LHASH's two
...
"doall" functions to using type-safe wrappers. As and where required, this
can be replaced by redeclaring the underlying callbacks to use the
underlying "void"-based prototypes (eg. if performance suffers from an
extra level of function invocation).
2001-01-09 00:24:38 +00:00
Geoff Thorpe
98d517c5da
Get rid of the function pointer casting in the debugging memory code due
...
to LHASH usage. NB: The callback type used as been suctioned off into
crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.
2001-01-09 00:13:25 +00:00
Geoff Thorpe
18602745de
This adds macros to implement (and/or declare) type-safe wrapper functions
...
around the callbacks required in the LHASH code for the "doall" functions.
Also - fix the evil function pointer casting in the two lh_doall functions
by deferring to a static utility function. Previously lh_doall() was
invoking lh_doall_arg() by casting the callback to the 2-parameter
prototype and passing in a NULL argument. This appears to have been working
thus far but it's not a hot idea. If the extra level of indirection becomes
a performance hit, we can just provide two virtually identical
implementations for each variant later on.
2001-01-09 00:02:09 +00:00
Geoff Thorpe
ad2e032049
Whilst in the process of fixing outstanding function-pointer casts in the
...
LHASH code, this evil was uncovered. The cast was obscuring the fact that
the function was prototyped to take 2 parameters when in fact it is being
used as a callback that should take only one. Anyway, the function itself
ignores the second parameter (thankfully). A proper cure is on the way but
for now this corrects the inconsistency.
2001-01-08 22:03:27 +00:00
Richard Levitte
601140b363
Keep up with Unix code. It's beginning to be time to rethink the VMS
...
build system...
2001-01-08 21:32:46 +00:00
Richard Levitte
e02cc10ea4
Because /dev/urandom has a better chance of giving us a good and
...
quick answer, take that one first.
2001-01-08 21:27:53 +00:00
Dr. Stephen Henson
b5524a3ac3
Add prototypes for new OCSP functions.
...
Fix bug in OCSP_find_status().
2001-01-08 13:39:06 +00:00
Richard Levitte
0c61e299b3
Change RAND_poll for Unix to try a number of devices and only read
...
them for a short period of time (actually, poll them with select(),
then read() whatever is there), which is about 10ms (hard-coded value)
each.
Separate Windows and Unixly code, and start on a VMS variant that
currently just returns 0.
2001-01-08 10:59:26 +00:00
Dr. Stephen Henson
0b33bc65cd
Add set of OCSP client functions. All experimental
...
and subject to addition, modifcation or deletion.
Add two OCSP nonce utility functions.
Fix typo in status code name.
2001-01-08 01:21:55 +00:00
Richard Levitte
0f5fa24a7c
Keep up with the Unixly changes.
2001-01-07 18:51:28 +00:00
Dr. Stephen Henson
8e96183506
Modify OCSP API to more closely reflect
...
application needs.
Add OCSP library name to error code.
2001-01-05 03:31:51 +00:00
Dr. Stephen Henson
a8312c0e24
Fix typo in OCSP nonce extension.
...
Set correct type in ASN1_STRING for
INTEGER and ENUMERATED types.
Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get()
return -1 for invalid type rather than 0 (which is
often valid). -1 may also be valid but this is less
likely.
Load OCSP error strings in ERR_load_crypto_strings().
2001-01-04 19:53:48 +00:00
Dr. Stephen Henson
bf0d176e48
Update OCSP API.
...
Remove extensions argument from various functions
because it is not needed with the new extension
code.
New function OCSP_cert_to_id() to convert a pair
of certificates into an OCSP_CERTID.
New simple OCSP HTTP function. This is rather primitive
but just about adequate to send OCSP requests and
parse the response.
Fix typo in CRL distribution points extension.
Fix ASN1 code so it adds a final null to constructed
strings.
2001-01-04 01:46:36 +00:00
Dr. Stephen Henson
ec5add8784
Fix the S/MIME code so it now works again and
...
uses the new ASN1 code.
2000-12-31 17:31:57 +00:00
Richard Levitte
856d456a71
Make the DSO code for VMS work again. First attempt.
2000-12-31 01:55:46 +00:00
Richard Levitte
7f2113a2d5
The option line may start with a space, which gives an empty option.
...
Make sure those are purged...
2000-12-31 01:54:18 +00:00
Richard Levitte
97f56446a3
Look for no-krb5 and add the definition of NO_KRB5 if it's there.
...
I've no idea were the KRB5 header files and libraries are placed on
Win32. When there's better knowledge, we might be able to process the
other KRB5-related arguments as well...
2000-12-31 01:43:11 +00:00
Richard Levitte
5d92be8cc6
Temporary measure: if no KRB5 is defined, add "no-krb5" to the
...
options. This is so mk1mf.pl can pick it up from Makefile.
2000-12-31 01:41:01 +00:00
Richard Levitte
e102a3dcfd
Since asn1.h gets included recursively from many places, the easiest
...
is to have asn1.h include e_os.h and e_os2.h. Of course, this makes
the unofficial "non-export" status of e_os.h a bit delicate...
2000-12-31 01:18:50 +00:00
Dr. Stephen Henson
ecbe07817a
Rewrite PKCS#12 code and remove some of the old
...
horrible macros.
Fix two evil ASN1 bugs. Attempt to use 'ctx' when
NULL if input is indefinite length constructed
in asn1_check_tlen() and invalid pointer to ASN1_TYPE
when reusing existing structure (this took *ages* to
find because the new PKCS#12 code triggered it).
2000-12-31 01:13:04 +00:00
Richard Levitte
71db02813c
Remove RSAref-related things.
2000-12-31 00:48:58 +00:00
Richard Levitte
a6574c21eb
Document.
2000-12-31 00:26:18 +00:00
Richard Levitte
26da3e65ac
If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcrypto
...
objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl
objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT.
This is actually only important on Win32, and can safely be ignored in
all other cases, at least for now.
2000-12-31 00:23:17 +00:00
Richard Levitte
21cd437886
Define OPENSSL_EXPORT and OPENSSL_IMPORT and give OPENSSL_EXTERN the
...
default value OPENSSL_IMPORT. Explain the use of all those macros.
2000-12-31 00:15:57 +00:00
Richard Levitte
f09628e42f
Remove anything connected to RSAref, since that's gone by now.
...
Add the C macros OPENSSL_BUILD_SHLIBCRYPTO and OPENSSL_BUILD_SHLIBSSL
to the build of the object files as appropriate for each library.
2000-12-31 00:06:47 +00:00
Richard Levitte
6f346c7115
Uhmm, the keyword TRUE does not exist of course...
2000-12-31 00:00:02 +00:00
Dr. Stephen Henson
d8ecc56c9d
Delete PKCS#12 redundant files.
2000-12-30 12:26:33 +00:00
Dr. Stephen Henson
4e1209ebf8
ASN1_ITEM versions of ASN1_d2i_{fp, bio} and replacement of
...
most of the old wrappers. A few of the old versions remain
because they are non standard and the corresponding ASN1
code has not been reimplemented yet.
2000-12-30 02:40:26 +00:00
Dr. Stephen Henson
78d3b819f0
Replace the old ASN1_dup() with ASN1_item_dup() and
...
zap some evil function pointers casts along the way...
2000-12-29 18:23:55 +00:00
Richard Levitte
200b24e391
Check for deselection of KRB5. In fact, skip it completely on VMS for now...
2000-12-29 01:54:14 +00:00
Richard Levitte
1690c2b26e
Correct a typo.
2000-12-29 01:41:37 +00:00
Richard Levitte
701adceb12
"make update" plus a rewrite of both .num files.
2000-12-29 00:19:12 +00:00
Richard Levitte
3f07fe09b5
Enhancements to mkdef.pl:
...
* detect "unknown" algorithms (any C macro starting with NO_ that is
not explicitely mentioned in mkdef.pl as a known algorithm) and
report.
* add a number of algorithms that can be deselected.
* look in ssl/kssl.h as well.
* accept multiple whitespace (not just one SPC) in preprocessor lines.
2000-12-29 00:05:14 +00:00
Dr. Stephen Henson
f86c5c9ac7
ASN1_ITEM version of ASN1_dup(). Might want
...
something more efficient later...
2000-12-28 22:41:46 +00:00
Richard Levitte
66a0def81b
Update VMS build procedures to match the current status.
2000-12-28 22:26:11 +00:00
Dr. Stephen Henson
73e92de577
Add NO_ASN1_OLD to remove some old style functions:
...
currently OpenSSL itself wont compile with this set
because some old style stuff remains.
Change old functions X509_sign(), X509_verify() etc
to use new item based functions.
Replace OCSP function declarations with DECLARE macros.
2000-12-28 22:24:50 +00:00
Dr. Stephen Henson
09ab755c55
ASN1_ITEM versions of sign, verify, pack and unpack.
...
The old function pointer versions will eventually go
away.
2000-12-28 19:18:48 +00:00
Dr. Stephen Henson
ec558b6548
New OCSP extension functions.
2000-12-28 01:05:05 +00:00
Bodo Möller
037a9f9c1a
Get rid of unused error code.
2000-12-27 23:42:20 +00:00
Bodo Möller
799751bcff
Get rid of unused error code.
2000-12-27 23:41:50 +00:00
Dr. Stephen Henson
29e1fdf3f2
Avoid compiler warnings in hw_ubsec.c: unused static
...
functions and signed/unsigned mismatch.
This will of course change if some of the unused functions
suddenly get used...
2000-12-27 19:20:14 +00:00
Dr. Stephen Henson
28ddfc61dc
X509V3_add_i2d() needs to be able to allocate a
...
STACK_OF(X509_EXTENSION) so it should be passed
STACK_OF(X509_EXTENSION) ** in the first argument.
Modify wrappers appropriately.
2000-12-27 13:42:43 +00:00
Bodo Möller
725c88879c
Finish SSL_peek/SSL_pending fixes.
2000-12-26 12:07:23 +00:00
Bodo Möller
beaea31a96
Finish SSL_peek/SSL_pending fixes.
2000-12-26 12:06:48 +00:00
Bodo Möller
a9c3dc60b9
Fix SSL_peek and SSL_pending.
2000-12-25 18:41:37 +00:00
Bodo Möller
a0aae68cf6
Fix SSL_peek and SSL_pending.
2000-12-25 18:40:46 +00:00
Dr. Stephen Henson
57d2f21782
New function X509V3_add_i2d() this is used for
...
encoding, replacing and deleting extensions.
Fix X509V3_get_d2i() so it uses takes note of
new critical behaviour.
2000-12-24 18:02:33 +00:00
Geoff Thorpe
895959b736
Re-order the options in tunala and add command switches like s_server for
...
disabling different SSL/TLS protocol versions.
2000-12-21 02:49:13 +00:00
Dr. Stephen Henson
3c07b4c2ee
Various Win32 related fixes. Doesn't compile yet on
...
Win32 but it is getting there...
Update mkdef.pl to handle ASN1_ANY and fix headers.
Stop various VC++ warnings.
Include some fixes from "Peter 'Luna' Runestig"
<peter@runestig.com >
Remove external declaration for des_set_weak_key_flag:
it doesn't exist.
2000-12-21 01:38:55 +00:00
Geoff Thorpe
1cc0b0a66a
This adds support to 'tunala' for supplying DH parameters (without which it
...
will not support EDH cipher suites). The parameters can either be loaded
from a file (via "-dh_file"), generated by the application on start-up
("-dh_special generate"), or be standard DH parameters (as used in
s_server, etc).
2000-12-20 22:14:23 +00:00
Geoff Thorpe
beb23252a6
Some minor changes to the "tunala" demo.
...
* Seal off some buffer functions so that only the higher-level IO functions
are exposed.
* Using the above change to buffer, add support to tunala for displaying
traffic totals when a tunnel closes. Useful in debugging and analysis -
you get to see the total encrypted traffic versus the total tunneled
traffic. This shows not only how much expansion your data suffers from
SSL (a lot if you send/receive a few bytes at a time), but also the
overhead of SSL handshaking relative to the payload sent through the
tunnel. This is controlled by the "-out_totals" switch to tunala.
* Fix and tweak some bits in the README.
Eg. sample output of "-out_totals" from a tunnel client when tunneling a brief
"telnet" session.
Tunnel closing, traffic stats follow
SSL (network) traffic to/from server; 7305 bytes in, 3475 bytes out
tunnelled data to/from server; 4295 bytes in, 186 bytes out
2000-12-20 19:30:19 +00:00
Ulf Möller
3ba25ee86a
branches have been merged.
2000-12-20 15:42:01 +00:00
Ulf Möller
0be35f5c51
Stop build when an error occurs.
...
"Peter 'Luna' Runestig" <peter+openssl-dev@runestig.com >
2000-12-20 15:23:31 +00:00
Bodo Möller
60f7492646
Don't access non-existing element buf[256], use buf[255] instead.
...
Submitted by: draslar <draslar@elray.ch >
2000-12-20 10:11:06 +00:00
Bodo Möller
1456d1860e
Split a CHANGES entry so that one of the halves matches the
...
corresponding new entry in the OpenSSL_0_9_6-stable branch.
2000-12-20 10:09:08 +00:00
Bodo Möller
2fb0c899c6
Include CRYPTO_mem_leaks deadlock fix.
2000-12-20 10:07:31 +00:00
Dr. Stephen Henson
5755cab49d
Fixes to OCSP print code.
...
Don't try to print request certificates if signature is not present.
Remove unnecessary test for certificates being NULL.
Fix typos in printed output.
Tidy up output.
Fix for typo in OCSP_SERVICELOC ASN1 template.
Also give a bit more info in CHANGES about the ASN1 revision.
2000-12-20 00:46:44 +00:00
Bodo Möller
975842f9fb
fix indentation
2000-12-19 12:39:45 +00:00
Bodo Möller
73bc0cfd93
fix indentation
2000-12-19 12:39:12 +00:00
Bodo Möller
126fe085db
Don't hold CRYPTO_LOCK_RSA during time-consuming operations.
2000-12-19 12:31:41 +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
123d24d600
Add a comment (intended change)
2000-12-18 16:39:00 +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
3880cd35ad
Import s2_pkt.c wbuf fixes from OpenSSL_0_9_6-stable branch.
2000-12-18 11:35:32 +00:00
Bodo Möller
7947f98b9b
Fix another buffer overrun bug (which is not really a bug because
...
s->s2->escape is never set when sending data because the escape
bit is just reserved for future use in SSL 2.0)
2000-12-18 11:32:09 +00:00
Bodo Möller
fc4868cb47
Increase wbuf by one byte to fix the bug reported by
...
Eric Day <eday@concentric.net > to openssl-dev@openssl.org ,
Message-ID: <20001218013437.A5526@concentric.net >
2000-12-18 11:23:23 +00:00
Bodo Möller
cb38052b3a
Comment correction.
2000-12-18 09:18:22 +00:00
Bodo Möller
f640ee90c3
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 09:00:48 +00:00
Bodo Möller
09f4278d25
undo previous change: '-prexit' is already available in current versions of s_client
2000-12-18 08:18:07 +00:00
Dr. Stephen Henson
1f47ec53a2
Redo OCSP response printing. Remove duplicate or
...
obsolete code. Delete some redundant files.
2000-12-17 14:09:43 +00:00
Bodo Möller
959f67d6a4
When mentioning features that don't exist in current releases of
...
OpenSSL (such as the new undocumented '-prexit' option to s_client),
the FAQ should point out that they don't: The FAQ is not just part
of the release, it's current version is also published on the web.
2000-12-17 00:32:49 +00:00
Bodo Möller
b2e7419a1d
Simplify preprocessor statements.
2000-12-17 00:30:03 +00:00
Dr. Stephen Henson
6546fdfaf8
Add OCSP service locator extension.
2000-12-16 12:51:58 +00:00
Richard Levitte
3a3ca1d474
Do not poll DEVRANDOM if weäre building without an file pointer API.
...
Spotted by "David Schwartz" <davids@webmaster.com >.
2000-12-16 11:19:19 +00:00
Richard Levitte
7522254b48
Make sure each FAQ item has an index entry.
2000-12-16 11:14:41 +00:00
Dr. Stephen Henson
f1a6a0d4dd
Add support for the noCheck OCSP extension. This is
...
just a NULL and appears in a certificate.
2000-12-16 01:58:58 +00:00
Dr. Stephen Henson
9c67ab2f26
Make mkdef.pl parse some ASN1 IMPLEMENT macros.
...
Initial support for variables in DEF files.
2000-12-16 01:19:24 +00:00
Dr. Stephen Henson
1a7b2d33f4
Add a couple of FAQs.
2000-12-16 01:07:16 +00:00
Ulf Möller
6e2dad1cc7
"Andrew W. Gray" <agray@iconsinc.com> says /GD is no longer a valid
...
compiler switch.
2000-12-15 20:59:37 +00:00
Bodo Möller
2c0d10123e
If CONF_get_string returns NULL and we want to tolerate this
...
(e.g., use a default), we have to call ERR_clear_error().
2000-12-15 16:59:49 +00:00
Bodo Möller
3ac82faae5
Locking issues.
2000-12-15 16:40:35 +00:00
Dr. Stephen Henson
c08523d862
Implement some standard OCSP extensions in the v3 code. These
...
are all raw print only extensions at present.
2000-12-15 13:42:00 +00:00
Bodo Möller
137e601277
The C version of bn_sub_part_words is needed not only
...
in NO_ASM configurations
2000-12-15 10:54:03 +00:00
Bodo Möller
09f4bd2a39
Very few in the "README" is up-to-date
2000-12-15 10:42:11 +00:00
Dr. Stephen Henson
2fc0d1f15e
Add OCSP nonce extension to supported extensions.
...
This is a little unusual because it can contain no
structure i.e. the extension OCTET STRING content
octets do not contain a DER encoded structure.
2000-12-14 23:27:20 +00:00
Geoff Thorpe
2a86064f95
Make a note of the new engine.
2000-12-14 21:49:48 +00:00
Geoff Thorpe
016d7d250a
This is an engine contributed by Broadcom - it is meant to support the
...
BCM5805 and BCM5820 units. So far I've merely taken a skim over the code
and changed a few things from their original contributed source
(de-shadowing variables, removing variables from the header, and
re-constifying some functions to remove warnings). If this gives
compilation problems on any system, please let me know. We will hopefully
know for sure whether this actually functions on a system with the relevant
hardware in a day or two. :-)
2000-12-14 21:41:55 +00:00
Dr. Stephen Henson
2c15d426b9
New function X509V3_extensions_print() this removes extension duplication
...
from the print routines.
Reorganisation of OCSP code: initial print routines in ocsp_prn.c. Doesn't
work fully because OCSP extensions aren't reimplemented yet.
Implement some ASN1 functions needed to compile OCSP code.
2000-12-14 18:42:28 +00:00
Bodo Möller
bdcfe1d165
typo
2000-12-14 17:47:29 +00:00
Bodo Möller
3b28dbce7e
The BN_mul bug test apparently is no longer needed
2000-12-14 17:46:36 +00:00
Bodo Möller
555a8493cd
typo
2000-12-14 17:45:36 +00:00
Bodo Möller
5a4fbc69c3
First step towards SSL_peek fix.
2000-12-14 17:36:59 +00:00
Bodo Möller
2452e013aa
The first step towards a SSL_peek fix.
...
The main thing to verify about these changes is that nothing at all
has changed, as far as behaviour is concerned (except that some
SSLerr() invocations now have a different function code): SSL_read
(ssl2_read, ssl3_read) behaves exactly as before, and SSL_peek refuses
to do any work exactly as before. But now the functions actually
doing the work have a 'peek' flag, so it should be easy to change them
to behave accordingly.
2000-12-14 17:34:42 +00:00
Bodo Möller
7e7c8952b5
Update.
2000-12-14 17:29:33 +00:00
Dr. Stephen Henson
de487514ae
New function X509_signature_print() to remove some duplicate
...
code from certificate, CRL and request printing routines.
2000-12-14 00:53:10 +00:00
Dr. Stephen Henson
06db4253e2
Change the PKCS7 structure to use SEQUENCE OF for the
...
authenticated attributes: this is used to retain the
original encoding and not break signatures.
Support for a SET OF which reorders the STACK when
encoding a structure. This will be used with the
PKCS7 code.
2000-12-13 23:54:30 +00:00
Ulf Möller
4ce7894c4a
c&p error spotted by Martin Forssen
2000-12-13 23:00:33 +00:00
Dr. Stephen Henson
36f554d43c
Replace the old style OCSP ASN1 module.
2000-12-13 18:21:51 +00:00
Richard Levitte
8d28d5f81b
Constification of the data of a hash table. This means the callback
...
functions need to be constified, and therefore meant a number of easy
changes a little everywhere.
Now, if someone could explain to me why OBJ_dup() cheats...
2000-12-13 17:15:03 +00:00
Richard Levitte
53b407da84
Problem: bn_mul_normal() misbehaves if the size of b is 0.
...
Solution: multiply a with 0, putting the result in r, and return.
2000-12-13 15:29:29 +00:00
Richard Levitte
765e531159
In bn_mul_recursive(), make sure the comba routines are only called
...
when both a and b are of the exact right size. This may change to
something better later.
2000-12-13 14:47:06 +00:00
Richard Levitte
de282fe3ba
When using -pedantic, it's a good thing to define PEDANTIC as well.
...
Also, define a second debugging configuration without assembler.
2000-12-13 14:04:08 +00:00
Dr. Stephen Henson
36ac656a1b
Stop extension creation code core dumping.
...
This was caused by no initialising the buffer
to NULL when using the auto allocating version
if i2d.
2000-12-13 13:55:03 +00:00
Dr. Stephen Henson
2aff7727f7
Rewrite the extension code to use an ASN1_ITEM structure
...
for its ASN1 operations as well as the old style function
pointers (i2d, d2i, new, free). Change standard extensions
to support this.
Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'.
2000-12-13 13:47:33 +00:00
Lutz Jänicke
cc93ae3ef4
Add description of SSL_[CTX_]_check_private_key().
2000-12-12 21:06:29 +00:00
Richard Levitte
34d69d3b23
SSL_new() may potentially add a certfificate. Therefore, wen
...
duplicating the certificate that is in the original SSL, remove the
one that SSL_new() provided, if any.
Spotted by: Mike Zeoli <zeoli@roguewave.com >
2000-12-12 08:08:53 +00:00
cvs2svn
a29b1a3f0f
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2000-12-11 17:28:08 +00:00
Bodo Möller
daea0ff8a9
Change/add comments
2000-12-11 17:28:07 +00:00
Ulf Möller
448701473a
Stop on bntest error.
2000-12-10 04:25:57 +00:00
Ulf Möller
572f0017d5
*** empty log message ***
2000-12-10 04:22:45 +00:00
Richard Levitte
df2c442a6d
Make TYPE_RSA the default type instead of just setting it when -new is
...
given. That also allows the arguments to come in any order (-new
last, for example).
2000-12-09 11:11:35 +00:00
Bodo Möller
23e2947cc8
Use continuation lines in test/bctest as far as it is possible
...
to dermine what the expression should look like.
Apparently CVS does not like lines longer than about 2^10 characters.
2000-12-09 10:07:47 +00:00
Bodo Möller
44b51ca36c
Don't throw away bctest's error messages.
2000-12-09 10:05:03 +00:00
Ulf Möller
bbf848ce8d
Test for SCO bc bug
2000-12-09 02:45:59 +00:00
Geoff Thorpe
d0fa136ce2
Next step in tidying up the LHASH code.
...
DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe
wrapper functions that avoid the use of function pointer casting yet retain
type-safety for type-specific callbacks. However, most of the usage within
OpenSSL itself doesn't really require the extra function because the hash
and compare callbacks are internal functions declared only for use by the
hash table. So this change catches all those cases and reimplements the
functions using the base-level LHASH prototypes and does per-variable
casting inside those functions to convert to the appropriate item type.
The exception so far is in ssl_lib.c where the hash and compare callbacks
are not static - they're exposed in ssl.h so their prototypes should not be
changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left
intact.
2000-12-08 20:02:01 +00:00
Ulf Möller
15156cce0e
bn_part_sub_word prototype.
2000-12-08 19:10:33 +00:00
Dr. Stephen Henson
9d6b1ce644
Merge from the ASN1 branch of new ASN1 code
...
to main trunk.
Lets see if the makes it to openssl-cvs :-)
2000-12-08 19:09:35 +00:00
Lutz Jänicke
66ebbb6a56
Add manual pages for certficate/key loading and friends.
2000-12-08 14:29:13 +00:00
Bodo Möller
c5e48d8b01
Placeholder for SCO bc bug detection
2000-12-08 08:30:38 +00:00
Bodo Möller
8dea52fa42
Fix some things that look like bugs.
...
One problem that looked like a problem in bn_recp.c at first turned
out to be a BN_mul bug. An example is given in bn_recp.c; finding
the bug responsible for this is left as an exercise.
2000-12-07 22:06:09 +00:00
Bodo Möller
f7356b677b
TEST_MUL and TEST_SQR added.
2000-12-07 11:11:10 +00:00
Bodo Möller
80d89e6a6a
Sign-related fixes (and tests).
...
BN_mod_exp_mont does not work properly yet if modulus m
is negative (we want computations to be carried out
modulo |m|).
2000-12-07 08:48:58 +00:00
Bodo Möller
bc5f2740d2
Move 'q->neg = 0' to those places where it is needed
...
(just in cases someone uses a negative modulus)
2000-12-07 07:55:26 +00:00
Bodo Möller
aa66eba7c8
BN_mod_sqrt documentation/comment
2000-12-06 21:33:58 +00:00
Ulf Möller
f27b45d237
Don't check for bc at all. We can now run a meaningful test even if
...
it is missing.
2000-12-06 16:39:09 +00:00
Ulf Möller
3bb4736289
remove a comment that shouldn't have been there any more
2000-12-06 16:30:23 +00:00
Bodo Möller
bac685417a
Faster BN_mod_sqrt algorithm for p == 5 (8).
2000-12-06 12:25:33 +00:00
Bodo Möller
1a4d6400ae
Printing "verify ..." should not be counted as a test for the
...
"xxx tests passed" message.
2000-12-06 12:24:27 +00:00
Richard Levitte
322006dcb1
During the self test, we only want to know what bctest says on
...
stderr...
2000-12-06 10:58:13 +00:00
Richard Levitte
db01d55671
Have the self test use bctest to check that bc is sane.
2000-12-06 10:54:31 +00:00
Bodo Möller
0a52d38b31
Use bc's "print" feature whenever it is available,
...
not just on certain platforms.
2000-12-06 10:32:55 +00:00
Bodo Möller
902d1051b1
Add a comment.
2000-12-06 09:53:29 +00:00
Bodo Möller
f67868ff4c
Workaround for broken (or missing) bc.
2000-12-06 09:48:57 +00:00
Ulf Möller
a6576c56dd
remove useless instruction
2000-12-06 04:48:50 +00:00
Ulf Möller
240f516939
Intel assembler version for bn_sub_part_words(). I haven't got
...
reliable timings yet, please try it out!
2000-12-06 04:16:38 +00:00
Ulf Möller
ef8f14a882
another fix for the debug print
2000-12-06 04:14:37 +00:00
Ulf Möller
aecb0b018f
test_mod_mul is useful, let's run it more often.
2000-12-06 04:14:30 +00:00
Ulf Möller
e4d56bab5b
move constants for debug functions to end of file
2000-12-06 00:19:09 +00:00
Richard Levitte
1435ccfba1
Update the internal docs.
2000-12-05 19:18:51 +00:00
Lutz Jänicke
d766a23deb
Typo and additional information about cert-chain building.
2000-12-05 16:47:22 +00:00
Lutz Jänicke
b1e21f8fac
Add EXAMPLES for SSL_CIPHER_description() output.
2000-12-05 16:45:26 +00:00
Bodo Möller
9347ba487c
Discuss http://www.shoup.net/papers/oaep.ps.Z
2000-12-05 10:30:21 +00:00
Richard Levitte
c28500900e
On Windows, Rainbow uses _stdcall convention under Windows.
...
Spotted by plin <plin@rainbow.com >
2000-12-05 08:16:25 +00:00
Ulf Möller
e4c5391ddb
push the flags too
2000-12-05 06:38:45 +00:00
Ulf Möller
0c34556cbd
looks like it works now
2000-12-05 05:39:43 +00:00
Ulf Möller
b50118ca3e
save registers in the debug output code (return value is overwritten too)
2000-12-05 05:10:05 +00:00
Ulf Möller
a57ecb95f6
more of the same: add printf() for perlasm.
2000-12-05 04:39:39 +00:00
Ulf Möller
428a55a0fe
minor modification to the previous change
2000-12-05 03:57:58 +00:00
Ulf Möller
cc74659fcc
PERLASM - the wierdest programming language since Intercal.
...
add debug output facilities.
2000-12-05 03:51:46 +00:00
Ulf Möller
90e7ce363a
Use assert as in the rest of the BN library.
2000-12-05 02:00:40 +00:00
Bodo Möller
a47b505e37
Improve formatting.
2000-12-04 19:04:55 +00:00
Richard Levitte
9f49524331
It's completely unnecessary to add a compression algorithm that is
...
really undefined.
Spotted by Jeffrey Altman <jaltman@columbia.edu >
2000-12-04 17:17:03 +00:00
Richard Levitte
6a2347ee45
Remove the last bn_wexpand()s that made us break constness. Of
...
course, that means we need to handle the cases where the two arrays to
bn_mul_recursive() and bn_mul_part_recursive() differ in size.
I haven't yet changed the comments that describe bn_mul_recursive()
and bn_mul_part_recursive(). I want this to be tested by more people
before I consider this change final. Please test away!
2000-12-04 17:11:59 +00:00
Bodo Möller
79370621ea
Change error message to "bignum too long"
2000-12-04 09:32:26 +00:00
Bodo Möller
e5164b7041
Change error message to "bignum too long"
2000-12-04 09:24:54 +00:00
Geoff Thorpe
ebff44b83a
Sync up with a minor change in lhash.h
2000-12-04 04:54:59 +00:00
Geoff Thorpe
c0e7c3aab9
ANSI C doesn't allow trailing semi-colons after a function's closing brace
...
so these macros probably shouldn't be used like that at all. So, this
change removes the misleading comment and also adds an implicit trailing
semi-colon to the DECLARE macros so they too don't require one.
2000-12-04 04:52:38 +00:00
Geoff Thorpe
733777275b
Update the documentation to the current state of the LHASH changes. There
...
will probably be more when the lh_doall[_arg] callbacks are similarly
tidied up, but this 'pod' should now be current.
2000-12-04 04:35:04 +00:00
Geoff Thorpe
f1919c3df9
Make a note of the LHASH changes.
2000-12-04 03:35:35 +00:00
Geoff Thorpe
97b1719583
Make the remaining LHASH macro changes. This should leave no remaining
...
cases of function pointer casting in lh_new() calls - and leave only the
lh_doall and lh_doall_arg cases to be finished.
2000-12-04 03:02:44 +00:00
Ben Laurie
b0dc680f71
Fix warnings.
2000-12-03 10:04:22 +00:00
Bodo Möller
addb309ad6
include <limits.h>
2000-12-03 09:55:08 +00:00
Bodo Möller
4c4f1ee4de
include <limits.h>
2000-12-03 09:55:01 +00:00
Bodo Möller
152a689cf9
Don't allow BIGNUMs to become so large that computations with dmax
...
might overflow.
2000-12-03 09:39:04 +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
Geoff Thorpe
35a99b6380
Use the new LHASH macros to declare type-safe wrapper functions that can
...
be used as the hash/compare callbacks without function pointer casting.
For now, this is just happening in the apps/ directory whilst a few people
check the approach. The rest of the library will be moved across to the
same idea if there's no problems with this.
2000-12-02 23:16:54 +00:00
Geoff Thorpe
dfa46e502d
Next step in tidying up the LHASH code. This commit defines DECLARE and
...
IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks
that are specific to the underlying item type in a hash-table. This prevents
function pointer casting altogether, and also provides some type-safety
because the macro does per-variable casting from the (void *) type used in
LHASH itself to the type declared in the macro - and if that doesn't match the
prototype expected by the "hash" or "cmp" function then a compiler error will
result.
NB: IMPLEMENT macros are not required unless predeclared forms are required
(either in a header file, or further up in a C file than the implementation
needs to be). The DECLARE macros must occur after the type-specific hash/cmp
callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that
they can be prefixed with "static" if desired and a trailing semi-colon should
be appended (making it look more like a regular declaration and easier on
auto-formatting text-editors too).
Now that these macros are defined, I will next be commiting changes to a
number of places in the library where the casting was doing bad things. After
that, the final step will be to make the analogous changes for the lh_doall
and lh_doall_arg functions (more specifically, their callback parameters).
2000-12-02 23:08:59 +00:00
Richard Levitte
c21c35e6a4
Add a comment to explain the purpose of bn_cmp_part_words().
2000-12-02 21:16:13 +00:00
Ulf Möller
b26f84cbbd
last commit was wrong. Now it works. :)
2000-12-02 20:51:47 +00:00
Ulf Möller
0dba0613ea
argl
2000-12-02 19:34:42 +00:00
Ulf Möller
e0c875081e
remember the problem with ftime()
2000-12-02 18:50:31 +00:00
Ulf Möller
ea1b7fe6d4
forgot to remove the loop variable
2000-12-02 16:20:04 +00:00
Ulf Möller
db88223baa
Loops like this one:
...
if (bp == NULL)
for (j=0; j<10000; j++)
BN_add(&c,&a,&b);
seem to be pretty useless, and bp never is NULL anyway.
2000-12-02 16:13:27 +00:00
Ulf Möller
d29b63bc9b
Move the rijndael "test" to the bf and cast tests.
2000-12-02 08:11:55 +00:00
Ulf Möller
1946cd8bc2
Note the bntest change.
...
The *_part_words functions are not static.
2000-12-02 07:50:30 +00:00
Ulf Möller
111482cf2e
New function BN_bntest_rand() to detect more BN library bugs.
...
The bn_cmp_part_words bug was only caught in the BN_mod_mul() test,
not in the BN_mul() test, so apparently the choice of parameters in
some cases is bad.
2000-12-02 07:32:57 +00:00
Ulf Möller
52a1bab2d9
Fix bn_cmp_part_words() and move it to bn_lib.c.
2000-12-02 07:28:43 +00:00
Ulf Möller
0826c85f4c
remove unused static function
2000-12-02 07:20:47 +00:00
Geoff Thorpe
385d81380c
First step in tidying up the LHASH code. The callback prototypes (and
...
casts) used in the lhash code are about as horrible and evil as they can
be. For starters, the callback prototypes contain empty parameter lists.
Yuck.
This first change defines clearer prototypes - including "typedef"'d
function pointer types to use as "hash" and "compare" callbacks, as well as
the callbacks passed to the lh_doall and lh_doall_arg iteration functions.
Now at least more explicit (and clear) casting is required in all of the
dependant code - and that should be included in this commit.
The next step will be to hunt down and obliterate some of the function
pointer casting being used when it's not necessary - a particularly evil
variant exists in the implementation of lh_doall.
2000-12-01 20:31:52 +00:00
Richard Levitte
862e973b50
Write a first HOWTO on how to create certificates. This is currently
...
a draft.
2000-12-01 17:44:33 +00:00
Richard Levitte
2efff10cfa
Correct a mail address...
2000-12-01 16:49:53 +00:00
Richard Levitte
33479d275a
Document the addition of Kerberos stuff.
2000-12-01 14:40:45 +00:00
Richard Levitte
3e7a6396ed
Typo corrected.
2000-12-01 14:33:19 +00:00
Bodo Möller
5a12df5c40
functionality for BN_mod_sqrt timings
2000-12-01 09:41:21 +00:00
Bodo Möller
b5a25a430a
"make depend"
2000-12-01 08:48:42 +00:00
Bodo Möller
592c784ffe
update
2000-12-01 08:46:47 +00:00
Ulf Möller
99cf5acd5c
fix for Borland C
2000-12-01 03:06:55 +00:00
Ulf Möller
17e757478a
GPL FAQ.
...
I hope this adequately summarizes the results of all those disussions.
2000-12-01 02:47:50 +00:00
Ulf Möller
a023052580
Borland C fix.
2000-12-01 01:53:08 +00:00
Ulf Möller
4b757c830d
typo
2000-12-01 01:51:04 +00:00
Richard Levitte
9b7a552f4b
Recognise Darwin as well. For now, have it do exactly the same thing as for Rhapsody
2000-12-01 01:11:54 +00:00
Bodo Möller
8df788c97f
COMP_zlib should always be declared, even if it is not functional.
...
Don't dump core in ssltest.
2000-11-30 23:41:58 +00:00
Bodo Möller
12cfcc128c
Fix the recently introduced test that checks if the result is 0
2000-11-30 22:58:27 +00:00
Richard Levitte
f9b3bff6f7
First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu>
2000-11-30 22:53:34 +00:00
Bodo Möller
d2c38b1c73
Fix BN_rshift.
2000-11-30 22:35:52 +00:00
Bodo Möller
fc2e05c2d5
Fix BN_rshift, which caused lots of trouble.
2000-11-30 22:34:57 +00:00
Bodo Möller
b2993bdea1
Remove randomness from the test. These constants give me a segment
...
violation in test_kron on a 32 bit system.
2000-11-30 21:03:13 +00:00
Bodo Möller
470fa98f8a
BN_mod_exp(r,a,p,m,ctx) should not be called with r == p.
...
But even if this is avoided, there are still segmentation violations
(during one of the BN_free()s at the end of test_kron
in some cases, in other cases during BN_kronecker, or
later in BN_sqrt; choosing a different exponentiation
algorithm in bntest.c appears to influence when the SIGSEGV
takes place).
2000-11-30 20:03:24 +00:00
Bodo Möller
de6e207db6
It's "#elif", not "#elsif".
2000-11-30 19:35:51 +00:00
Richard Levitte
1363155145
A few bug fixes for Windows.
2000-11-30 17:41:01 +00:00
Bodo Möller
db5bda670f
Changes to Lenka's Montgomery implementation.
...
Submitted by: Lenka Fibikova
2000-11-30 17:35:17 +00:00
Richard Levitte
0ae485dc07
New format for the FAQ. We now have different sections for different
...
types of questions. Hopefully, that'll make them easier to spot, and
specially, easier to refer to.
2000-11-30 13:04:14 +00:00
Bodo Möller
19cda70045
Corrections to the comments in BN_mod_inverse.
2000-11-30 12:53:53 +00:00
Richard Levitte
4751717cd8
The compression method may be undefined for some reason that has
...
generated errors. Therefore, print whatever error there may be...
2000-11-30 12:53:15 +00:00
Richard Levitte
bd68b6b1f6
Simplify and provide the possibility to clean a compression method.
2000-11-30 12:22:35 +00:00
Richard Levitte
cd9b7d7c35
comp_methods in a SSL_CTX points at an internal database. Do *not*
...
free that, since it's shared by all SSL_CTX's, present and future.
2000-11-30 12:21:33 +00:00
Richard Levitte
058123afb6
Turn off memory checking when loading new compression algorithms.
2000-11-30 12:19:54 +00:00
Richard Levitte
a4614bf06d
COMP_METHOD has a new argument since some time back...
2000-11-30 12:18:10 +00:00
Richard Levitte
23f80f46a4
Make it possible to test SSL compression
2000-11-30 11:57:31 +00:00
Richard Levitte
c4438dc0e5
Change c_zlib further to allow loading a shared zlib on all operating
...
systems where such an operation is supported.
2000-11-30 11:56:00 +00:00
Bodo Möller
04ca16890b
BN_mod_exp problems ...
2000-11-30 11:47:04 +00:00
Richard Levitte
20f88b9bd4
Changes to c_zlib.c to make ZLIB.DLL dynamically loadable under
...
Windows. Really, this should probably be done on Unix as well, but
that will be a later story...
2000-11-30 10:25:45 +00:00
Bodo Möller
25439b76ad
Move reduction step from BN_mod_exp to BN_mod_exp_mont_word.
...
Fix BN_mod_exp_simple for a==0 (mod m).
Skip useless round in BN_mod_sqrt (1 is always a square, no need
to test BN_kronecker for it).
2000-11-30 09:45:26 +00:00
Geoff Thorpe
3465dd3853
* Fix a slight bug in the state-machine. This caused the client end of a
...
tunnel to not pro-actively close down when failing an SSL handshake.
* Change the cert-chain callback - originally this was the same one used in
s_client and s_server but the output's as ugly as sin, so I've prettied
tunala's copy output up a bit (and made the output level configurable).
* Remove the superfluous "errors" from the SSL state callback - these are just
non-blocking side-effects.
2000-11-30 01:34:26 +00:00
Bodo Möller
ac445acf69
bn_modfs.c is no longer needed, a BN_sqrt implementation
...
exists in bn_sqrt.c now
2000-11-30 00:43:41 +00:00
Bodo Möller
77ac92d00a
Fix bntest.c problem -- one of the primes got lost
2000-11-30 00:37:49 +00:00
Bodo Möller
73c2522c7c
Handle special cases correctly in exponentation functions.
...
test_bn still fails in the BN_sqrt test because
small primes appear to turn into zero for no
obvious reason, leading to "div by zero" errors.
2000-11-30 00:33:18 +00:00
Bodo Möller
6b5d39e82d
BN_mod_sqrt
2000-11-30 00:20:20 +00:00
Bodo Möller
cd2eebfd64
BN_sqrt
2000-11-30 00:18:19 +00:00
Ulf Möller
06676624fc
Add a warning about the usage of the montgomery functions (if the inputs
...
are not reduced modulo m, the outputs won't be either).
2000-11-29 22:37:14 +00:00
Geoff Thorpe
ef8b601789
Amend the original CHANGES log entry. The ex_data handling has been
...
similarly modified now on DH and DSA.
2000-11-29 20:02:00 +00:00
Bodo Möller
01e62900c7
BN_legendre is no longer needed now that OpenSSL has BN_kronecker.
2000-11-29 19:59:59 +00:00
Geoff Thorpe
d50f1bdfac
Do to DH and DSA what has already been done to RSA. This involves moving
...
the initialisation and cleanup of "ex_data" elements to before an init()
handler and after a finish() handler respectively.
2000-11-29 19:59:45 +00:00
Bodo Möller
38b40c624c
mark a bug
2000-11-29 19:29:47 +00:00
Bodo Möller
eb1f1b0a34
Fix BN_kronecker so that it works correctly if 'a' is negative
...
(we need the two's complement of BN_lsw then).
2000-11-29 19:26:33 +00:00
Geoff Thorpe
a9376dbff9
More little changes to the tunala demo;
...
* A little bit of code-cleanup
* Reformat the usage string (not so wide)
* Allow adding an alternative (usually DSA) cert/key pair (a la s_server)
* Allow control over cert-chain verify depth
2000-11-29 19:22:54 +00:00
Lutz Jänicke
673d7ac121
Store verify_result with sessions to avoid potential security hole.
...
For the server side this was already done one year ago :-(
2000-11-29 18:12:32 +00:00
Bodo Möller
14697d9d6d
BN_to_montgomery expects its inputs to be in the interval 0 .. modulus-1,
...
so we have to reduce the random numbers used in test_mont.
Before this change, test_mont failed in [debug-]solaris-sparcv9-gcc
configurations ("Montgomery multiplication test failed!" because
the multiplication result obtained with Montgomery multiplication
differed from the result obtained by BN_mod_mul).
Substituing the old version of bn_gcd.c (BN_mod_inverse) did not avoid
the problem.
The strange thing is that it I did not observe any problems
when using debug-solaris-sparcv8-gcc and solaris-sparcv9-cc,
as well as when compiling OpenSSL 0.9.6 in the solaric-sparcv9-gcc
configuration on the same system.
2000-11-29 18:08:24 +00:00
Lutz Jänicke
c6a926d9e2
Log security relevant change.
2000-11-29 18:06:18 +00:00
Ulf Möller
c1db5bfc08
fix for Borland C
2000-11-29 16:43:50 +00:00
Bodo Möller
429b8162c6
add missing braces
2000-11-29 16:43:03 +00:00
Lutz Jänicke
0dd2254d76
Store verify_result with sessions to avoid potential security hole.
...
For the server side this was already done one year ago :-(
2000-11-29 16:04:38 +00:00
Bodo Möller
03a0848922
Fix warnings in expspeed.c (but the segmentation fault remains)
...
Improve readability of bn_shift.c.
Add comment in bn_lib.c (why zero data between top and max?)
Change bntest.c output for BN_kronecker test
2000-11-29 13:40:08 +00:00
Bodo Möller
9161672950
BN_bin2bn did *not* contain an off-by-one error;
...
I'm still investigating what caused the segementation fault
(maybe "make clean; make" will cure it ...).
But BN_bin2bn should always reset ret->neg.
2000-11-29 12:53:41 +00:00
Bodo Möller
a08bcccc67
Expand expspeed.c to make BN_kronecker timings.
...
This caused a segmentation fault in calls to malloc, so I cleaned up
bn_lib.c a little so that it is easier to see what is going on.
The bug turned out to be an off-by-one error in BN_bin2bn.
2000-11-29 12:32:10 +00:00
Bodo Möller
bdec3c5323
Implement BN_kronecker test.
...
Modify "CHANGES" entry for BN_mod_inverse (it's not just avoiding BN_div
that increases performance, avoiding BN_mul also helps)
2000-11-29 11:06:50 +00:00
Bodo Möller
53d286797c
avoid segmentation fault
2000-11-29 11:04:31 +00:00
Bodo Möller
b6cafbd7d8
Make BN_mod_inverse a little faster
2000-11-29 09:57:13 +00:00
Bodo Möller
499e167fda
Improve BN_mod_inverse performance.
...
Get the BN_mod_exp_mont bugfix (for handling negative inputs) correct
this time.
2000-11-29 09:41:19 +00:00
Richard Levitte
0135e33511
Copy and paste error... bn_add_part_words() should of course call
...
bn_add_words(), not bn_sub_words()...
2000-11-29 09:36:48 +00:00
Geoff Thorpe
f2cc7559dd
Make s_client/s_server-style cert verification output configurable by
...
command line, and make the peer-authentication similarly configurable.
2000-11-29 01:29:08 +00:00
Ulf Möller
fe8686ba4b
use standard C
2000-11-29 00:07:07 +00:00
Geoff Thorpe
4aa69fe0b6
Minor tweaks and improvements to the tunala demo.
...
- Add "-cipher" and "-out_state" command line arguments to control SSL
cipher-suites and handshake debug output respectively.
- Implemented error handling for SSL handshakes that break down. This uses
a cheat - storing a non-NULL pointer as "app_data" in the SSL structure
when the SSL should be killed.
2000-11-28 23:27:23 +00:00
Geoff Thorpe
b984cd2b01
A typo and a couple of logic errors fixed. I think there may still be one
...
or two kinks lurking around, but it now appears to deal with the basic
test cases ok.
2000-11-28 19:09:58 +00:00
Bodo Möller
adcc64cd9e
Use BN_pseudo_rand instead of BN_rand
2000-11-28 11:49:12 +00:00
Bodo Möller
c94b6de017
Timings.
2000-11-28 11:47:51 +00:00
Bodo Möller
666d437538
Disable SSL_peek.
2000-11-28 11:14:39 +00:00
Bodo Möller
000e21779c
Note that SSL_peek has been disabled.
2000-11-28 11:13:06 +00:00
Richard Levitte
f1d6f64c8e
Addapt to added files in the BIGNUM section
2000-11-28 10:20:02 +00:00
Bodo Möller
d79cab27a5
Correct a bug in BN_kronecker.
...
Sketch the test for BN_kronecker.
2000-11-28 07:53:35 +00:00
Bodo Möller
24b44446e2
Comments on SSL_peek deficiencies
2000-11-28 06:58:22 +00:00
Bodo Möller
87739b2c53
Disable SSL_peek until it is fixed.
2000-11-28 06:48:36 +00:00
Bodo Möller
c782089611
Add test_kron function, which will contain a test for BN_kronecker.
2000-11-28 06:41:05 +00:00
Bodo Möller
265592b99a
Add bn_kron.c (BN_kronecker), which I forgot in the previous commit.
...
Also add the next file in advance so that I can't forget this one :-)
2000-11-28 06:37:43 +00:00
Bodo Möller
077ff61eef
Undo previous commit, which was an accident.
2000-11-27 21:22:45 +00:00
Bodo Möller
dcbd0d74d5
Fix BN_is_... macros.
...
Fix BN_gcd.
Analyze BN_mod_inverse.
Add BN_kronecker.
"make update".
2000-11-27 21:17:20 +00:00
Bodo Möller
1ec0a3862e
Change submitted files so that they compile (in particular,
...
use BN_CTX_start/get/end instead of accessing ctx->tos).
Change indentation to "EAY" style.
2000-11-26 19:20:56 +00:00
Bodo Möller
946cd9a540
Change submitted files so that they compile (in particular,
...
use BN_CTX_start/get/end instead of accessing ctx->tos).
Change indentation to "EAY" style.
2000-11-26 19:13:52 +00:00
Geoff Thorpe
0ac87024e3
It was a small change, but it *could* conceivably affect people - so I'm
...
making a note in the CHANGES file.
2000-11-26 18:39:27 +00:00
Geoff Thorpe
7abe830501
Ensure that the "ex_data" member of an RSA structure is initialised before
...
the RSA_METHOD's "init()" handler is called, and is cleaned up after the
RSA_METHOD's "finish()" handler is called. Custom RSA_METHODs may wish to
initialise contexts and other specifics in the RSA structure upon creation
and that was previously not possible - "ex_data" is where that stuff
should go and it was being initialised too late for it to be used.
2000-11-26 18:34:45 +00:00
Bodo Möller
5acaa49504
More BN_mod_... functions.
2000-11-26 18:31:32 +00:00
Bodo Möller
535b9b5724
Add bn_mod.c (should have happend in the previous commit ...).
...
BN_swap manual page.
2000-11-26 16:46:57 +00:00
Bodo Möller
78a0c1f18d
modular arithmetics
...
"make update"
2000-11-26 16:42:38 +00:00
Bodo Möller
6cc5e19d47
Remove CR at line ends.
2000-11-26 12:55:19 +00:00
Bodo Möller
7e0c5264e7
Elliptic curves over GF(p), new BIGNUM functions, Montgomery re-implementation.
...
These new files will not be included literally in OpenSSL, but I intend
to integrate most of their contents. Most file names will change,
and when the integration is done, the superfluous files will be deleted.
Submitted by: Lenka Fibikova <fibikova@exp-math.uni-essen.de >
2000-11-26 12:12:35 +00:00
Richard Levitte
73343ac38a
Correct a number of syntax errors.
2000-11-22 18:20:31 +00:00
Richard Levitte
d53d271728
Addapt the VMS scripts to the changes in the Makefiles.
2000-11-22 18:17:16 +00:00
Ulf Möller
37fc8c3747
Remove RSAREF (not used).
...
You can still get the code using tag "rsaref".
2000-11-22 16:52:29 +00:00
Richard Levitte
01412ec600
Addapt the VMS scripts to the changes in the Makefiles.
2000-11-22 04:54:06 +00:00
Richard Levitte
c4f3542abf
Reimplement bn_div_words, bn_add_words and bn_sub_words for VAX.
...
I'm a little bit nervous about bn_div_words, as I don't know what it's
supposed to return on overflow. For now, I trust the rest of the
system to give it numbers that will not cause any overflow...
2000-11-21 23:32:38 +00:00
Richard Levitte
c799770060
Avoid getting warnings about unary - being used on unsigned integer.
2000-11-21 23:29:55 +00:00
Ben Laurie
cd26e6c79d
Oops! Read a full buffer instead of some spurious number from elswhere.
2000-11-21 21:37:48 +00:00
Richard Levitte
4e773226f5
'echo on' works better all over than 'echo=on'. We had the same
...
problem in some other file, but I can't recall which.
2000-11-20 21:30:43 +00:00
Ben Laurie
646d56956b
Better handling of EVP names, add EVP to speed.
2000-11-20 04:14:19 +00:00
Richard Levitte
0cc1115643
Make sure bs is assigned NULL when it's free'd, or there will be an
...
(incorrect) attempt to free it once more...
2000-11-19 14:14:52 +00:00
Richard Levitte
257341b5b4
I wonder if I do too much...
2000-11-19 14:11:03 +00:00
Richard Levitte
83f2571782
Add news items early. Please fill in with what I have forgotten.
2000-11-19 14:10:07 +00:00
Richard Levitte
baa257f1ed
Remove two bn_wexpand() from BN_mul(), which is a step toward getting
...
BN_mul() correctly constified, avoids two realloc()'s that aren't
really necessary and saves memory to boot. This required a small
change in bn_mul_part_recursive() and the addition of variants of
bn_cmp_words(), bn_add_words() and bn_sub_words() that can take arrays
with differing sizes.
The test results show a performance that very closely matches the
original code from before my constification. This may seem like a
very small win from a performance point of view, but if one remembers
that the variants of bn_cmp_words(), bn_add_words() and bn_sub_words()
are not at all optimized for the moment (and there's no corresponding
assembler code), and that their use may be just as non-optimal, I'm
pretty confident there are possibilities...
This code needs reviewing!
2000-11-18 22:58:26 +00:00
Richard Levitte
e06cc57118
Remove a declaration for a function that does not exist.
2000-11-18 20:52:14 +00:00
Richard Levitte
0450d28759
Make the definition of bn_add_words() match the definition.
2000-11-18 20:49:02 +00:00
Richard Levitte
7f56097c65
I might want to debug the assembler modules...
2000-11-18 20:44:25 +00:00
Bodo Möller
7396958515
Increase permissible ClientKeyExchange message length.
2000-11-17 14:42:49 +00:00
Bodo Möller
3c758be86e
include 'err' label only when it is actually used
2000-11-17 13:08:57 +00:00
Richard Levitte
227385b719
Make sure BN_DIV2W is not defining when defining it, and remove the
...
declarations of bn_add_part_words() and bn_sub_part_words() since they
do not exist.
2000-11-17 12:01:55 +00:00
Bodo Möller
f7a059316f
tag SSL_peek bugs
2000-11-17 11:49:29 +00:00
Bodo Möller
b1d6e3f551
Documentation on using the SSL library with non-blocking I/O.
2000-11-17 10:25:46 +00:00
Bodo Möller
db70a3fd6e
Improve usability of 'openssl passwd' by including
...
password verification where it makes sense.
2000-11-17 09:03:02 +00:00
Bodo Möller
28fd5c60de
Constify bn_dump1 implementation so that it matches the prototype
...
in bn.h
2000-11-17 08:36:10 +00:00
Richard Levitte
cbd48ba626
More constification of the BN library.
2000-11-16 22:43:32 +00:00
Richard Levitte
67d93e6f49
Make sure to print the BN counting (BN_COUNT) to stderr instead of
...
stdout. bc gets so confused by bean counts.
2000-11-16 22:42:39 +00:00
Richard Levitte
afb83c45e6
Oops, when I clean, I should do it thoroughly.
2000-11-16 22:41:26 +00:00
Richard Levitte
43fcc1b096
I've checked again and again. There really is no need to expand a to
...
4 times it's size when bn_sqr_recursive() won't look farther than the
original length. Thereby, constification is no longer a problem.
2000-11-16 21:35:41 +00:00
Richard Levitte
d5695a26a6
/proc/cpuinfo can have several lines containing the word "type". We want the one that is "type", plain and simple. Caught by Raoul Borenius <borenius@shuttle.de>
2000-11-16 18:59:02 +00:00
Geoff Thorpe
8bfc8f934f
I have no idea how this comment got there, but it's certainly not
...
applicable to ENGINE_ctrl()
2000-11-16 00:17:11 +00:00
Geoff Thorpe
ef02b10a16
Many applications that use OpenSSL with ENGINE support might face a
...
situation where they've initialised the ENGINE, loaded keys (which are then
linked to that ENGINE), and performed other checks (such as verifying
certificate chains etc). At that point, if the application goes
multi-threaded or multi-process it creates problems for any ENGINE
implementations that are either not thread/process safe or that perform
optimally when they do not have to perform locking and other contention
management tasks at "run-time".
This defines a new ENGINE_ctrl() command that can be supported by engines
at their discretion. If ENGINE_ctrl(..., ENGINE_CTRL_HUP,...) returns an
error then the caller should check if the *_R_COMMAND_NOT_IMPLEMENTED error
reason was set - it may just be that the engine doesn't support or need the
HUP command, or it could be that the attempted reinitialisation failed. A
crude alternative is to ignore the return value from ENGINE_ctrl() (and
clear any errors with ERR_clear_error()) and perform a test operation
immediately after the "HUP". Very crude indeed.
ENGINEs can support this command to close and reopen connections, files,
handles, or whatever as an alternative to run-time locking when such things
would otherwise be needed. In such a case, it's advisable for the engine
implementations to support locking by default but disable it after the
arrival of a HUP command, or any other indication by the application that
locking is not required. NB: This command exists to allow an ENGINE to
reinitialise without the ENGINE's functional reference count having to sink
down to zero and back up - which is what is normally required for the
finish() and init() handlers to get invoked. It would also be a bad idea
for engine_lib to catch this command itself and interpret it by calling the
engine's init() and finish() handlers directly, because reinitialisation
may need special handling on a case-by-case basis that is distinct from a
finish/init pair - eg. calling a finish() handler may invalidate the state
stored inside individual keys that have already loaded for this engine.
2000-11-16 00:15:50 +00:00
Lutz Jänicke
803e4e93d4
Fill in missing information about the string returned from
...
SSL_CIPHER_description(), as there is no other API function to find
out details about the cipher used besides the number of bits or protocol used.
2000-11-15 18:42:41 +00:00
Ulf Möller
60b8607727
ignore
2000-11-14 19:18:31 +00:00
Richard Levitte
159564ae9f
Modify () to (void), since that's what is actually defined in the
...
engine structure, and some ANSI C compilers will complain otherwise.
2000-11-14 15:33:06 +00:00
Richard Levitte
cd1bf28e2c
Two OCSP functions that aren't yet implemented.
2000-11-14 13:50:42 +00:00
Richard Levitte
74e10aa58b
make update
2000-11-14 13:39:38 +00:00
Richard Levitte
5f524accc1
Get the Rijndael function declarations.
2000-11-14 13:24:06 +00:00
Richard Levitte
451e60e99f
Detect and mark functions that no longer exist.
2000-11-14 13:20:10 +00:00
Lutz Jänicke
89c16ab53e
Some platforms (namely HP-UX) require the 'x' bit set for shared libraries.
...
For performance reasons, it is also recommended to make the (mmap'ed)
shared library 'read-only'.
-> New permissions for installed shared libraries = 555
This doesn't hurt anybody, provided the installation is performed with
'cp -f' :-)
2000-11-14 11:05:10 +00:00
Richard Levitte
820aaa5fc5
Typo, was "time" instead of "tim".
...
Caught by Jeffrey Altman <jaltman@columbia.edu >
2000-11-14 10:52:16 +00:00
Richard Levitte
993ea851f5
Add Rijndael as things to look through.
2000-11-14 10:51:00 +00:00
Lutz Jänicke
305db17b5f
HP-UX shared libraries do not build any longer, as EX_LIBS contains
...
"-Wl,+s" instead of +s:
* Hardcoded necessary references to -ldld/-ldl into the build rules and
removed EX_LIBS.
HP-UX records the pathnames of dependent libraries when the shared libs
are built, so that ./libcrypto.sl... is recorded in libssl.sl..., with
"./" not being resolvable when running an application linked against -lssl:
* Build libssl without explicit reference to libcrypto, applications will
be linked with "-lssl -lcrypto" anyway.
Document these informations in Makefile.org.
2000-11-13 14:40:07 +00:00
Ulf Möller
6a8ba34f9d
in some new file names the first 8 characters were not unique
2000-11-12 22:32:18 +00:00
Richard Levitte
f777408fc5
For a long time, I've wanted to be able to easily run one or a few
...
individual tests. I finally got myself to implement it...
2000-11-12 20:24:30 +00:00
Bodo Möller
2984b0ae24
Additional explanations for SSL_ERROR_WANT_READ/WRITE.
2000-11-12 19:17:22 +00:00
Richard Levitte
3d6001f7b9
Enhance granularity on what I want to debug for the moment by changing
...
LEVITTE_DEBUG to LEVITTE_DEBUG_MEM.
2000-11-12 18:25:30 +00:00
Richard Levitte
f6a8898fc3
Update my own debugging configuration entry
2000-11-12 16:20:40 +00:00
Ben Laurie
757e392d4e
Make Rijndael work! Those long flights have some good points.
2000-11-12 02:13:38 +00:00
Ben Laurie
2f9f0c72de
Make this stuff compile.
2000-11-12 02:11:13 +00:00
Bodo Möller
cb4ae6c0d3
Point to SSL_set_bio(3) early because that manpage provides
...
information that is essential for using BIO pairs.
2000-11-10 07:50:18 +00:00
Bodo Möller
359fd02fec
add missing word
2000-11-10 07:46:11 +00:00
Bodo Möller
e1a8ac495b
tmp2 is not used in BN_mod_mul_montgomery.
2000-11-09 16:39:01 +00:00
Richard Levitte
0b5806b5f5
Really stupid glitch (a comment not properly ended) fixed.
2000-11-08 18:10:35 +00:00
Richard Levitte
ccb9643f02
Remove references to RSAref. The glue library is but a memory to fade
...
away now...
2000-11-08 17:51:37 +00:00
Bodo Möller
ddf72ed59f
SSL_CTX-related fixes.
2000-11-08 10:09:10 +00:00
Bodo Möller
7f7b8d6871
BN_CTX-related fixes.
2000-11-08 10:05:34 +00:00
Richard Levitte
bb7e632aef
Constification of LHASH. Contributed by "Paul D. Smith" <psmith@gnu.org>
...
I didn't apply all his patches yet, since I have some hesitance about
unconstifying. To be pondered.
2000-11-07 23:43:21 +00:00
Richard Levitte
55d892e373
Document that the Nuron hardware has been added and remove the
...
requirement for an engine utility since we now have that.
2000-11-07 14:31:53 +00:00
Richard Levitte
f971ccb264
Constify DH-related code.
2000-11-07 14:30:37 +00:00
Richard Levitte
a4aba800d9
Constify DSA-related code.
2000-11-07 13:54:39 +00:00
Richard Levitte
669cefdd35
Make sure ERR_get_error() is declared.
2000-11-07 13:53:21 +00:00
Richard Levitte
7be7c2eda5
A few more constifications of some RSA routines that I forgot
...
yesterday.
2000-11-07 13:49:46 +00:00
Richard Levitte
8de2910b5c
Lutz tells me HP cc uses the same syntax for flags that should be
...
passed down to ld as GNU cc.
2000-11-07 13:23:16 +00:00
Richard Levitte
74489a3668
When ENGINE_by_id() couldn't find the given engine id, it generates an
...
error. When checking like engine_add() is, those errors are actually
good, so remove them.
2000-11-07 13:21:09 +00:00
Richard Levitte
e06433d9ba
shl_load() also needs to load along a path given through an
...
environment variable, SHLIB_PATH. This change makes that possible.
2000-11-07 11:25:26 +00:00
Bodo Möller
e0bf5c11ea
Handle BN_copy failure after successful BN_new.
2000-11-07 09:39:51 +00:00
Bodo Möller
58f0f52e67
handle the case when BN_new returns NULL
2000-11-07 09:35:19 +00:00
Richard Levitte
55b3c877c7
Document recent constifications.
2000-11-06 23:29:52 +00:00
Richard Levitte
bbbc96a87e
Constification of CRYPTO_get_ex_data() needed for the sake of
...
RSA_get_ext_data().
2000-11-06 23:24:59 +00:00
Richard Levitte
5e4ca4220e
The consequence of constification is that to pass the address to a
...
pointer to a const double pointe parameter, the pointer must point to
const data as well.
2000-11-06 23:16:04 +00:00
Richard Levitte
e5828cd46f
Constify the RSAref glue code.
2000-11-06 23:15:03 +00:00
Richard Levitte
7081f3bd89
Constify the RSA parts of the ASN.1 library. Note some ugly casts
...
that are needed in the ASN.1 macros. Hopefully, we can get rid of
those in an elegant way in the future.
2000-11-06 23:04:15 +00:00
Richard Levitte
0413ba429c
Constify the RSA library.
2000-11-06 22:49:05 +00:00
Richard Levitte
29c1f0615b
Constify the RSA library.
2000-11-06 22:34:17 +00:00
Richard Levitte
10e473e930
As a consequence of the BIGNUM constification, the ENGINE code needs a
...
few small constifying changes, and why not throw in a couple of extras
while I'm at it?
2000-11-06 22:15:50 +00:00
Richard Levitte
e7ef1a561a
Make all engines available in the openssl application.
2000-11-06 22:03:00 +00:00
Ulf Möller
458d356db9
looks like a cut&paste error
2000-11-06 21:28:38 +00:00
Richard Levitte
020fc820dc
Constify the BIGNUM routines a bit more. The only trouble were the
...
two functions that did expansion on in parameters (BN_mul() and
BN_sqr()). The problem was solved by making bn_dup_expand() which is
a mix of bn_expand2() and BN_dup().
2000-11-06 21:15:54 +00:00
Richard Levitte
bc8a9f1f0f
mode used too early in EVP_PKEY_save_parameters.
...
Spotted by Ken Lalonde <ken@torus.ca >
2000-11-06 21:12:21 +00:00
Richard Levitte
6b77e6d7f3
Make sure that shared libraries get the internal name engine with the
...
full version number and not just 0. This should mark the shared
libraries as not backward compatible. Of course, this should be
changed again when we can guarantee backward binary compatibility.
2000-11-06 06:52:47 +00:00
Ulf Möller
361c7f2b52
Set the CryptoAPI randomness estimate back to 0.
...
The randomness may not actually be very good (we don't know).
2000-11-04 03:33:26 +00:00
Ulf Möller
9f6fe8dbe7
increase the value a bit
2000-11-03 23:07:01 +00:00
Geoff Thorpe
ee78e1fc8b
Richard moved hw_nuron.c over to DSO-land recently, so this include isn't
...
needed now.
2000-11-03 17:09:19 +00:00
Ulf Möller
864170286a
Minor corrections (HPUX).
...
From: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-11-03 16:35:31 +00:00
Bodo Möller
02af65b347
avoid memory leak
2000-11-03 15:40:10 +00:00
Richard Levitte
2f13ee21ea
Instead of just STACK, use STACK_OF(ASN1_OBJECT).
2000-11-03 00:59:49 +00:00
Richard Levitte
1d833a9910
Update the standards list to the current status
2000-11-02 22:55:14 +00:00
Richard Levitte
11c0f1201c
Change the engine library so the application writer has to explicitely
...
load the "external" built-in engines (those that require DSO). This
makes linking with libdl or other dso libraries non-mandatory.
Change 'openssl engine' accordingly.
Change the engine header files so some declarations (that differed at
that!) aren't duplicated, and make sure engine_int.h includes
engine.h. That way, there should be no way of missing the needed
info.
2000-11-02 20:33:04 +00:00
Richard Levitte
69e7805f54
'openssl engine' can now list engine capabilities. The current
...
implementation is contained in the application, and the capability
string building part should really be part of the engine library.
This is therefore an experimental hack, and will be changed in the
near future.
2000-11-02 19:24:48 +00:00
Richard Levitte
e264cfe17a
Better error reporting in 'openssl engine'
2000-11-02 18:58:43 +00:00
Richard Levitte
8224b0cbe5
make update
2000-11-02 18:53:25 +00:00
Bodo Möller
15d52ddb55
Never call load_dh_param(NULL) because this leads to an illegal
...
fopen(NULL).
2000-11-02 10:35:10 +00:00
Richard Levitte
d48f487e2c
-t is supported, so display some help about it.
2000-11-01 23:55:45 +00:00
Geoff Thorpe
ce23b0f73e
oops, remove comments that are no longer true.
2000-11-01 23:14:19 +00:00
Geoff Thorpe
d313047f63
Explanation, tips, etc.
2000-11-01 23:12:01 +00:00
Geoff Thorpe
d1855cc7af
This is a demo that performs SSL tunneling (client and/or server) and is
...
built using an abstracted state machine with a non-blocking IP wrapper
around it. README will follow in the next commit.
2000-11-01 23:11:19 +00:00
Richard Levitte
14c6d27d63
Add application to enumerate, list and test engines with.
2000-11-01 02:57:35 +00:00
Richard Levitte
dcea8e12e2
Add support for shared libraries under Irix.
...
Submitted by Albert Chin-A-Young <china@thewrittenword.com >
2000-11-01 00:05:04 +00:00
Richard Levitte
26b264795d
Rename true64 to the correct tru64.
...
Suggested by Albert Chin-A-Young <china@thewrittenword.com >
2000-10-31 23:39:08 +00:00
Richard Levitte
501ebf16b6
Improvements to openssl.spec.
...
Submitted by Damien Miller <djm@mindrot.org >
This change has been CC:ed to crypt@bxa.doc.gov
2000-10-31 23:26:32 +00:00
Richard Levitte
815c83f70a
Add configuration option to build on Linux on both big-endian and
...
little-endian MIPS.
Submitted by Ralf Baechle <ralf@uni-koblenz.de >
2000-10-31 23:14:19 +00:00
Richard Levitte
92125ffaec
Make flag variables int instead of char. This avoids getting into trouble on systems where char is unsigned by default
2000-10-31 11:58:56 +00:00
Ulf Möller
7db2fcaa81
_lrotl() is a call to the C runtime library!
2000-10-30 20:14:27 +00:00
Geoff Thorpe
7d09713d09
DSO_load() should also work when it is passed a NULL - a new DSO is created
...
automatically, however some code was still referring to the original
pointer rather than the internal one (and thus to NULL instead of the
created pointer).
2000-10-30 18:47:27 +00:00
Richard Levitte
3aba98e787
Document the change.
2000-10-28 22:44:03 +00:00
Richard Levitte
32d862ede4
Add the possibility to use keys handled by engines in more
...
applications.
2000-10-28 22:40:40 +00:00
Richard Levitte
a44f26d5c9
Small documentation change
2000-10-28 22:21:04 +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
31a266cb93
make update
2000-10-27 21:49:59 +00:00
Richard Levitte
b703bce788
Corrected missing colons. This was part of a larger change in the
...
main development line.
2000-10-27 21:49:40 +00:00
Ulf Möller
3e126d3610
-engine is gone.
2000-10-27 20:43:18 +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
5660eb489e
NetBSD doesn't use ftime().
2000-10-27 20:28:37 +00:00
Richard Levitte
e7ce15846d
Fix from main trunk, 2000-10-17 00:56 steve:
...
Update test server certificate in apps/server.pem (it was expired).
2000-10-27 20:23:21 +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
7c155330de
Document the OCSP addition.
2000-10-27 11:22:17 +00:00
Richard Levitte
8bb4ad88d8
make update
2000-10-27 11:09:52 +00:00
Richard Levitte
eb64730b9c
The majority of the OCSP code from CertCo.
2000-10-27 11:05:35 +00:00
Ulf Möller
34a1488220
.
2000-10-26 22:24:49 +00:00
Richard Levitte
5270e7025e
Merge the engine branch into the main trunk. All conflicts resolved.
...
At the same time, add VMS support for Rijndael.
2000-10-26 21:07:28 +00:00
Geoff Thorpe
1df586bec2
Add a note about the recent DSO changes in CHANGES.
2000-10-26 20:02:33 +00:00
Richard Levitte
551e5990d2
On HP-UX, at least when shl_* are used, the libraries have the
...
extension .sl instead of .so.
2000-10-26 18:42:35 +00:00
Richard Levitte
d9efa3616a
For the operating systems where it matters, it is sometimes good to
...
translate library names by only adding ".so" to them without
prepending them with "lib". Add the flag DSO_FLAG_NAME_TRANSLATION_EXT_ONLY
for that purpose.
2000-10-26 18:30:34 +00:00
Geoff Thorpe
51c8dc37dd
This changes the behaviour of the DSO mechanism for determining an
...
appropriate filename translation on the host system. Apart from this point,
users should also note that there's a slight change in the API functions
too. The DSO now contains its own to-be-converted filename
("dso->filename"), and at the time the DSO loads the "dso->loaded_filename"
value is set to the translated form. As such, this also provides an impicit
way of determining if the DSO is currently loaded or not. Except, perhaps,
VMS .... :-)
The various DSO_METHODs have been updated for this mechanism except VMS
which is deliberately broken for now, Richard is going to look at how to
fit it in (the source comments in there explain "the issue").
Basically, the new callback scheme allows the filename conversion to
(a) be turned off altogether through the use of the
DSO_FLAG_NO_NAME_TRANSLATION flag,
(b) be handled in the default way using the default DSO_METHOD's converter
(c) overriden per-DSO by setting the override callback
(d) a mix of (b) and (c) - eg. implement an override callback that;
(i) checks if we're win32 "if(strstr(dso->meth->name, "win32"))..."
and if so, convert "blah" into "blah32.dll" (the default is
otherwise to make it "blah.dll").
(ii) default to the normal behaviour - eg. we're not on win32, so
finish with (return dso->meth->dso_name_converter(dso,NULL)).
(e) be retried a number of times by writing a new DSO_METHOD where the
"dso_load()" handler will call the converter repeatedly. Then the
custom converter could use state information in the DSO to suggest
different conversions or paths each time it is invoked.
2000-10-26 17:38:59 +00:00
Bodo Möller
28967cf079
rsautl.c requires RSA.
2000-10-26 12:05:57 +00:00
Bodo Möller
b3f4fb1f72
rsautl.c requires RSA.
2000-10-26 12:05:22 +00:00
Ulf Möller
a2bbe59401
s_server not s_client
2000-10-23 19:13:35 +00:00
Bodo Möller
421cb50b2d
Cert chain verification is useable by now.
...
Whether Steve is still working on 'proper' verification is up to
him to decide ...
2000-10-23 14:36:18 +00:00
Ulf Möller
0fa504b68d
Correction from Tani Hosokawa <unknown@riverstyx.net>
2000-10-23 14:02:02 +00:00
Bodo Möller
705bfcf8e7
internal_verify now does know about extensions
2000-10-23 08:01:41 +00:00
Bodo Möller
4fb40db932
Don't ever set 'seeded' if RAND_status() returned 0
...
(although maybe this static variable should be abolished totally,
it was introduced before RAND_status existed).
2000-10-23 07:37:03 +00:00
Richard Levitte
9dd0463852
When building shared libraries on HP-UX 10.20 and HP-UX 11.00 (32bit),
...
ld warns that -Fl "may not be supported in future releases". We know
that, and are doing things in HP-UX 11 (64bit), so turn off that
warning with +vnocompatwarnings.
2000-10-22 21:37:39 +00:00
Richard Levitte
5cb5715f97
It seems like grep isn't as capable as I thought on some Unix systems.
...
Use egrep instead.
2000-10-22 16:46:47 +00:00
Richard Levitte
e9a583aa26
Pointer error corrected
2000-10-22 12:47:01 +00:00
Richard Levitte
f3f316f13f
If the functions get_dh*() are declared static, they should be defined the same way
2000-10-22 12:45:33 +00:00
Richard Levitte
99b1aaf2ec
On some operating systems, MAX is defined. Call ours OSSL_MAX instead
2000-10-22 12:44:12 +00:00
Richard Levitte
53400da75c
Document
2000-10-21 22:53:32 +00:00
Richard Levitte
2b59a6ac14
There's no reason why app_RAND_load_file() should return 0 when
...
RAND_status() hasn't.
Reported by Dale Stimson <dale@accentre.com >.
2000-10-21 22:43:07 +00:00
Richard Levitte
48d89b560c
Krister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
...
since NetBSD 1.5.
2000-10-21 22:18:52 +00:00
Richard Levitte
b5a43800ef
FreeBSD-elf can do threads. However, there seems to be confusion if
...
you should defined _THREAD_SAFE (I found that in an include file, and
that's what everybody tells me) or _THREADSAFE (that's what the gcc
manual says in the FreeBSD-specific section), so I defined both, just
to be safe.
2000-10-21 22:05:03 +00:00
Richard Levitte
0fd44e2ddb
Add what's needed to get shared libraries on HP-UX.
...
N.B.: This has not been tested at all, that's my next step.
2000-10-21 21:24:11 +00:00
Richard Levitte
0a2221f9ad
make update
2000-10-21 20:15:46 +00:00
Richard Levitte
567f17cfe0
Document the change to NCONF.
2000-10-21 20:01:34 +00:00
Dr. Stephen Henson
627ec355d8
Fix for bug (?) in assembly language routines for SHA1. This
...
causes MASM to complain and not produce valid debug info.
Hopefully this wont break anything else...
Also fix typo in e_rd.c
2000-10-20 00:36:45 +00:00
cvs2svn
38654b070d
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2000-10-19 23:16:49 +00:00
Dr. Stephen Henson
4184a78761
Move expired CA certificate.
2000-10-19 23:16:47 +00:00
Ulf Möller
bbdc9c98a8
give pseudo prototypes instead of macro definitions for better clarity
2000-10-19 22:02:21 +00:00
Ulf Möller
11b62699a1
"DESCRIPTION" is required.
2000-10-19 19:40:35 +00:00
Ulf Möller
14a74a21f0
correction from Lutz
2000-10-19 15:19:41 +00:00
Richard Levitte
c8cda405e7
Keep binary backward compatibility by putting new method function
...
pointers at the end of the structure.
2000-10-19 08:29:27 +00:00
Richard Levitte
befb3e7a4d
Make it possible for methods to load from something other than a BIO,
...
by providing a function pointer that is given a name instead of a BIO.
For example, this could be used to load configuration data from an
LDAP server.
2000-10-19 08:26:32 +00:00
Richard Levitte
c6f1787bbd
NCONF_get_number() has no error checking at all. As a replacement,
...
NCONF_get_number_e() is defined (_e for "error checking") and is
promoted strongly. The old NCONF_get_number is kept around for
binary backward compatibility.
2000-10-19 08:03:14 +00:00
Ulf Möller
9bd3bd227f
Add short overview, move header files section further down.
2000-10-18 23:08:55 +00:00
Ulf Möller
d0ef53bd2d
cosmetic changes
2000-10-18 22:51:34 +00:00
Ulf Möller
8d3f155a66
cosmetic change
2000-10-18 22:01:47 +00:00
Richard Levitte
ef0ab7f94f
John Denney <jdenney@ca.mdis.com> reports that we forgot to convert
...
Free to OPENSSL_free in the SSL demos.
2000-10-18 19:36:27 +00:00
Richard Levitte
bf55ece1c1
Two questions have been asked quite often lately.
2000-10-17 16:16:12 +00:00
Dr. Stephen Henson
51754ec835
Update test server certificate in apps/server.pem (it was expired).
2000-10-16 22:56:10 +00:00
Ben Laurie
1bc5dd3efc
Always return a value.
...
Submitted by:
Reviewed by:
PR:
2000-10-16 13:08:16 +00:00
Richard Levitte
0ded1638ba
CRYPTO_get_ex_new_index would never return an error.
2000-10-16 06:01:41 +00:00
Dr. Stephen Henson
71d525c9f6
Fix for typo in certificate directory lookup code.
2000-10-14 23:51:52 +00:00
Richard Levitte
3ab5651112
The experimental Rijndael code moved to the main trunk.
...
make update done.
2000-10-14 20:09:54 +00:00
Richard Levitte
82ce0b2308
Even when you don't want to create shared libraries, it's a good idea
...
to have the full extension information, so residual shared libraries
can be removed so the applications and test programs do not get linked
against them by mistake...
2000-10-13 16:04:20 +00:00
Richard Levitte
a22fb399cb
Rework the system to generate shared libraries:
...
- Make note of the expected extension for the shared libraries and
if there is a need for symbolic links from for example libcrypto.so.0
to libcrypto.so.0.9.7. There is extended info in Configure for
that.
- Make as few rebuilds of the shared libraries as possible.
- Still avoid linking the OpenSSL programs with the shared libraries.
- When installing, install the shared libraries separately from the
static ones.
2000-10-13 15:25:06 +00:00
Richard Levitte
8df8f27513
Bump the shared library version (should have been done a while ago).
2000-10-13 15:09:06 +00:00
Richard Levitte
cde70093ac
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.
2000-10-13 08:30:06 +00:00
Richard Levitte
5f97f508e4
make update
2000-10-13 08:27:00 +00:00
Richard Levitte
553615f500
New docs and new facts in older docs.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-10-12 09:56:36 +00:00
Dr. Stephen Henson
924046ce75
Make non blocking I/O work for accept BIOs.
2000-10-12 01:50:33 +00:00
Richard Levitte
82c31e1496
Fix from main trunk, 2000-10-04 00:02 levitte:
...
More SSL functions documented.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
Fix from main trunk, 2000-10-10 11:15 levitte:
A few small corrections to the SSL documentation.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-10-11 12:12:06 +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
5b88fe121d
Fix from main trunk, 2000-10-09 02:50 levitte:
...
Make sure ranlib is only used on .a libraries.
2000-10-11 10:11:22 +00:00
Richard Levitte
a46db6ecce
Fix from main trunk, 2000-10-08 21:38 levitte:
...
Linux on Alpha has the configuration name linux-alpha-gcc, not
linux-alpha.
2000-10-11 10:05:37 +00:00
Richard Levitte
f4d52a896e
Fix from main trunk, 2000-10-08 21:40 levitte:
...
Linux on Alpha with gcc knows about shared libraries.
Fix from main trunk, 2000-10-09 02:48 levitte:
Make sure that shareable libraries are turned off if we don't know how
to make them...
2000-10-11 10:04:16 +00:00
Richard Levitte
57b6a64eed
Fix from main trunk, 2000-09-26 14:15 bodo:
...
Add BUGS section.
2000-10-11 09:53:10 +00:00
Richard Levitte
c0a86cd5dd
Fix from main trunk, 2000-09-27 23:45 ulf:
...
The des_modes manpage is in section 7.
2000-10-11 09:47:44 +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
2cb3c3b2bf
Fix from main trunk, 2000-09-29 22:14 levitte:
...
Include arpa/inet.h, since that's where htons() and friends are
supposed to be defined according to XPG4.2. Found by Evan
<n2xjk@ulster.net > for the MVS platform.
2000-10-11 09:45:30 +00:00
Richard Levitte
24802a6d91
Fix from main trunk, 2000-09-26 13:39 bodo:
...
Note read_ahead-flag related fixes.
2000-10-11 09:16:47 +00:00
Richard Levitte
c125ea2767
Fix from main trunk, 2000-09-26 13:30 bodo:
...
Don't modify s->read_ahead in SSL_clear, which is called from
accept/connect functions; those should not change the read_ahead
setting of the SSL structure.
Fix from main trunk, 2000-09-26 13:38 bodo:
Set s->read_ahead in SSL_new because SSL_clear no longer modifies it.
2000-10-11 09:15:53 +00:00
Richard Levitte
df4fd356df
Fix from main trunk, 2000-09-26 13:25 bodo:
...
Fix SSL_CTX_set_read_ahead macro.
Submitted by: Anders Gertz <gertz@epact.se >
2000-10-11 09:14:17 +00:00
Richard Levitte
1f1f23a882
Fix from main trunk, 2000-09-25 13:12 levitte:
...
Document the change.
2000-10-11 02:28:39 +00:00
Richard Levitte
ee4462d2b1
Fix from main trunk, 2000-09-25 12:22 levitte:
...
Update
2000-10-11 02:27:07 +00:00
Richard Levitte
41faea737a
Fix from main trunk, 2000-09-25 12:21 levitte:
...
When creating a .def file, be a bit more selective so disabled
algorithms do not get in...
2000-10-11 02:24:38 +00:00
Richard Levitte
7c69ce8bc0
Fix from main trunk, 2000-09-25 11:30 levitte:
...
echo=off works on NT, but not on W2K.
2000-10-11 02:22:59 +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
b73ff18078
Fix from main trunk, 2000-09-25 07:55 ulf:
...
typo
2000-10-11 01:56:00 +00:00
Ulf Möller
9e2c0f41d7
fix problems in the selftest
2000-10-11 00:08:15 +00:00
Richard Levitte
5ef67042f9
Do a favor to those who get weird compiles and report if RAND_pseudo_bytes
...
returns -1...
2000-10-10 15:08:30 +00:00
cvs2svn
9beaae61ec
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2000-10-10 09:15:48 +00:00
Richard Levitte
53fe8d5be5
A few small corrections to the SSL documentation.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-10-10 09:15:47 +00:00
Bodo Möller
8c23788dd1
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-09 16:40:16 +00:00
Geoff Thorpe
ef76e3dbda
DSO_ctrl() changes have removed a couple of DSO_METHOD-specific functions
...
so I've regenerated the error numbers and strings for the DSO functions.
2000-10-09 01:57:54 +00:00
Richard Levitte
7ba839bfe2
Make sure ranlib is only used on .a libraries.
2000-10-09 00:50:04 +00:00
Richard Levitte
d2dcf4f40d
Make sure that shareable libraries are turned off if we don't know how
...
to make them...
2000-10-09 00:48:30 +00:00
Geoff Thorpe
75a382bd90
None of the DSO_METHOD's were handling anything except generic messages.
...
These are now processed inside DSO_ctrl() itself.
2000-10-08 22:36:49 +00:00
Geoff Thorpe
5b0a0544f2
Time to get rid of some rather silly code duplication - some DSO_ctrl()
...
commands are common to all DSO_METHODs, hence handle them at the top.
2000-10-08 22:32:57 +00:00
Richard Levitte
a0ec9cf6d5
Linux on Alpha with gcc knows about shared libraries.
2000-10-08 19:40:07 +00:00
Richard Levitte
e9ebf346c4
Linux on Alpha has the configuration name linux-alpha-gcc, not
...
linux-alpha.
2000-10-08 19:38:28 +00:00
Dr. Stephen Henson
8ca533e378
More code for X509_print_ex() support.
2000-10-06 11:51:47 +00:00
Dr. Stephen Henson
d0c9858914
Global DirectoryString mask fix.
...
Add support for X509_NAME_print_ex() in req.
Initial code for cutomizable X509 print routines.
2000-10-04 01:16:32 +00:00
Richard Levitte
356c06c776
More SSL functions documented. Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-10-03 22:02:28 +00:00
Richard Levitte
ef71cb6daf
Document...
2000-10-01 21:46:43 +00:00
Richard Levitte
2e7e3d6ce9
Remove what was described by someone as "an EAY hack for compiling
...
SSLeay with Colin Plumb's MD5 implementation instead of his one".
2000-10-01 21:28:07 +00:00
Richard Levitte
a269d312da
Include arpa/inet.h, since that's where htons() and friends are
...
supposed to be defined according to XPG4.2.
Found by Evan <n2xjk@ulster.net > for the MVS platform.
2000-09-29 20:14:57 +00:00
Ulf Möller
a87aa87bcc
The des_modes manpage is in section 7.
2000-09-27 21:45:20 +00:00
Richard Levitte
6df3553255
A compiler warning removed. Thanks to the folks at HP!
2000-09-27 13:54:28 +00:00
Bodo Möller
2eaad87f36
Verbose output when installing manual pages so that you see that
...
something is going on (and what).
2000-09-26 12:23:55 +00:00
Bodo Möller
b7af080fb1
Add BUGS section.
2000-09-26 12:15:53 +00:00
Bodo Möller
3a0afe1eed
Note read_ahead-flag related fixes.
2000-09-26 11:39:37 +00:00
Bodo Möller
086a32d754
Set s->read_ahead in SSL_new because SSL_clear no longer modifies it.
2000-09-26 11:38:05 +00:00
Bodo Möller
544ebbceb4
Don't modify s->read_ahead in SSL_clear, which is called from
...
accept/connect functions; those should not change the
read_ahead setting of the SSL structure.
2000-09-26 11:30:59 +00:00
Bodo Möller
6d0dcbedb1
Fix SSL_CTX_set_read_ahead macro.
...
Submitted by: Anders Gertz <gertz@epact.se >
2000-09-26 11:25:44 +00:00
Richard Levitte
88aeb646bd
Document the change.
2000-09-25 11:12:27 +00:00
Richard Levitte
46b1b91309
Update
2000-09-25 10:22:39 +00:00
Richard Levitte
be054868a1
When creating a .def file, be a bit more selective so disabled
...
algorithms do not get in...
2000-09-25 10:21:23 +00:00
Richard Levitte
0acc90e5f7
echo=off works on NT, but not on W2K.
2000-09-25 09:30:32 +00:00
Richard Levitte
4e20a4e688
'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-09-25 08:53:15 +00:00
Richard Levitte
9ef9e78520
Make the algorithm implementations depend on the corresponding
...
selection macros.
2000-09-25 08:49:13 +00:00
Ulf Möller
393e826ec3
typo
2000-09-25 05:55:19 +00:00
Richard Levitte
c5e8580e7b
Update the status and version number to 0.9.7-dev.
2000-09-24 17:31:37 +00:00
Richard Levitte
16221173c8
Forgot to change the STATUS file...
2000-09-24 15:42:34 +00:00
Richard Levitte
0e8f2fdfdd
Time to build the release. Bump the version info accordingly.
2000-09-24 15:21:30 +00:00
Richard Levitte
fec8c79a7e
make update
2000-09-24 14:54:31 +00:00
Richard Levitte
56245be46d
Change the Windows building scripts to enable DSO_WIN32.
2000-09-24 14:48:51 +00:00
Ulf Möller
eb206eb8be
print the perlasm rule only for linux-elf (it seems it confuses some
...
version of make for Mingw32)
----------------------------------------------------------------------
----------------------------------------------------------------------
2000-09-23 19:24:06 +00:00
Ulf Möller
fda05b2155
spelling
2000-09-23 19:08:16 +00:00
Ulf Möller
8c4ab6d5ae
update info to match the README.
2000-09-23 07:38:43 +00:00
Ulf Möller
8fdec3e558
stop perlpod from complaining.
2000-09-23 07:30:28 +00:00
Ulf Möller
69431c2998
more manpage links.
2000-09-23 07:16:17 +00:00
Ulf Möller
90d7fc1de4
tlhelp32.h
2000-09-23 05:46:41 +00:00
Ulf Möller
bb28bcdf98
Workaround for tlhelp32.h: place the missing header file in outinc
2000-09-23 05:19:16 +00:00
Ulf Möller
d49da3aa5b
Add some missing info.
2000-09-23 05:17:40 +00:00
Ulf Möller
fc55bf3b20
tlhelp32.h is currently missing in Mingw32 (release 2.95.2 and 2.95.2-1)
2000-09-23 05:04:19 +00:00
Ulf Möller
03dbae0d20
URL to "latest" Mingw release (which is almost a year old :()
2000-09-23 02:06:08 +00:00
Bodo Möller
5a5accdd64
typo
2000-09-22 21:45:49 +00:00
Bodo Möller
f1192b7f2e
Avoid protocol rollback.
2000-09-22 21:39:33 +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
Richard Levitte
28a63d3e6f
Problem on FreeBSD/Alpha fixed.
2000-09-22 06:15:10 +00:00
Richard Levitte
318e09356b
Kris Kennaway <kris@FreeBSD.org> tells us that FreeBSD/Alpha shouldn't
...
use an optimization higher than -O.
2000-09-22 06:06:25 +00:00
Richard Levitte
6b3a4ffe36
More reports
2000-09-21 20:49:47 +00:00
Richard Levitte
7f6e0a4c09
More reports
2000-09-21 20:09:16 +00:00
Dr. Stephen Henson
6cffb201f3
Fix ASN1_TYPE bug.
2000-09-21 18:57:00 +00:00
Richard Levitte
4b0f00b7ce
More reports
2000-09-21 17:44:23 +00:00
Richard Levitte
4aa4f333ed
Change IMPORTANT to WARNING for greater emphasis.
2000-09-21 17:21:15 +00:00
Richard Levitte
a04cfb72d5
More reports
2000-09-21 17:11:52 +00:00
Richard Levitte
1cbb729fdc
Oops, if the target only had USE_TOD, an error message was issued...
2000-09-21 16:01:08 +00:00
Richard Levitte
d176986488
Ugly hack to make sure static libraries are usable. Without this,
...
anything that just links with libeay32.lib or libssl32.lib will get an
error saying the __imp__RegQueryValueEx is unresolved.
The right thing would really be to fix crypto/rand/rand_win.c to load
ADVAPI32.DLL dynamically, but that won't be done just before a
release.
2000-09-21 15:16:20 +00:00
Richard Levitte
c759ddd676
More reports.
2000-09-21 14:51:45 +00:00
Richard Levitte
9cfab47b18
Tests so far.
2000-09-21 14:26:12 +00:00
Richard Levitte
6e3dfc1f3b
Tests so far.
2000-09-21 12:54:41 +00:00
Richard Levitte
ef63568e94
Prepare STATUS for the beta 3 reports.
2000-09-21 10:27:35 +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
422e5a4807
make update
2000-09-21 07:16:40 +00:00
Richard Levitte
6397710486
I'm using GNU tar...
2000-09-21 07:15:52 +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
c19b6c922a
Clarifications and new documents.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-09-21 06:46:15 +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
4759abc5f2
New documents. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-20 16:55:26 +00:00
Richard Levitte
e31e385ce3
Mistakes corrected. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-20 16:52:05 +00:00
Richard Levitte
b22bda21a1
Add news and a description of the ENGINE part and how it's currently
...
distributed.
2000-09-20 15:52:26 +00:00
Bodo Möller
b38d84d867
Additions for 0.9.6.
2000-09-20 15:22:02 +00:00
Richard Levitte
50b14a38f5
Reports about a few old systems.
...
Reported by Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
2000-09-20 15:15:37 +00:00
Richard Levitte
edb0d64367
AIX doesn't like ftime() either.
2000-09-20 15:10:16 +00:00
Richard Levitte
33b1a4c218
Wrong variable used. It's funny how some bugs take a long time
...
getting triggered...
2000-09-20 14:47:04 +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
9a0c0d3f74
make update
2000-09-20 13:32:54 +00:00
Ulf Möller
7cae5f9fc8
ispell.
2000-09-20 03:42:15 +00:00
Ulf Möller
18edda0f92
Malloc() -> OPENSSL_malloc() etc.
2000-09-20 03:28:54 +00:00
Ulf Möller
89681b183d
The RSA patent will have expired when the next version is released...
2000-09-20 03:25:33 +00:00
Ulf Möller
c8973693ab
ispell.
2000-09-20 03:24:36 +00:00
Dr. Stephen Henson
4e87e05b25
Add docs for X509_get_ext_d2i() function.
...
Add some major changes to NEWS...
2000-09-20 00:50:25 +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
Richard Levitte
b004872c59
BSDI only supports ftime() through libcompat, which means it's
...
better not to use it.
2000-09-19 23:14:42 +00:00
Richard Levitte
933f32cc4d
Document SSL_library_init() and it's aliases. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:12:57 +00:00
Richard Levitte
c6def253b4
Type correction. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:11:42 +00:00
Richard Levitte
dd3430a6e9
Extend the docs on setting the cipher list. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:10:32 +00:00
Bodo Möller
cb1fbf8e6a
Clarification about Montgomery problem
2000-09-19 23:06:14 +00:00
Ulf Möller
51012a0969
Note about contribtions from the US
2000-09-19 20:52:30 +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
Dr. Stephen Henson
688fbf5475
Fix a typo in apps/pkcs12.c which was using the wrong part of
...
ASN1_TYPE (though they are both ASN1_STRING so it didn't cause
any problems).
Make 'siglen' an int in apps/dgst.c so we can check the return
value of BIO_read() etc.
2000-09-19 17:51:11 +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
fae8762630
It seems like all HP-UX are successes as soon as the -ldl vs. -ldld
...
quirk is fixed.
2000-09-19 16:14:47 +00:00
Richard Levitte
28178bcf24
FreeBSD only supports ftime() through libcompat, which means it's
...
better not to use it.
2000-09-19 16:13:38 +00:00
Richard Levitte
cec7fe4da6
A few more HP-UX reports. Reported by Kevin Steves <stevesk@sweden.hp.com>
2000-09-19 15:55:43 +00:00
Richard Levitte
c15602f48e
Reorder the Blowfish documentation so the low-level routines do not get so prominent, and make sure to say out loud what they expect.
2000-09-19 06:15:33 +00:00
Dr. Stephen Henson
3b2cbbcb9a
Clarify the BIO_seek() mess and related issues.
...
Buffering BIO docs.
2000-09-18 23:05:33 +00:00
Ulf Möller
c69c47b9fe
ispell
2000-09-18 22:58:02 +00:00
Ulf Möller
5d1a5ddb65
Note the BN_mod_exp_word bug. (Markus Friedl provided a test program.)
2000-09-18 22:03:37 +00:00
Richard Levitte
f97cc10372
A couple more reports.
2000-09-18 16:53:05 +00:00
Richard Levitte
a3829b8650
ftime() is not supported on SGI.
...
Reported by Steve Robb <steve@eu.c2.net >
2000-09-18 16:52:05 +00:00
Richard Levitte
615513ba52
New documentation about things related to SSL_CIPHER. Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-18 16:42:30 +00:00
Richard Levitte
2bd8aaefa4
HP-UX 64-bit has dlfcn, so let's use that instead of the old dl.
2000-09-18 16:34:41 +00:00
Richard Levitte
252d333fc1
A few more reports
2000-09-18 16:17:41 +00:00
Richard Levitte
2aa4e2e2d4
No engine stuff in the main trunk.
2000-09-18 16:07:20 +00:00
Richard Levitte
c6cda0bdb7
A few more reports
2000-09-18 13:35:05 +00:00
Dr. Stephen Henson
730e37edb6
Work around for Netscape PKCS#7 signedData bug.
2000-09-18 12:30:57 +00:00
Richard Levitte
4b6e6ab91c
A few more reports
2000-09-18 11:55:12 +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
1e72b77994
HP-UX didn't go through
2000-09-18 09:36:25 +00:00
Richard Levitte
1cf3bbaea6
Typo in the added hpux targets. -ldl should be -ldld.
2000-09-18 09:34:05 +00:00
Richard Levitte
d448429e52
The test status as it has been reported so far
2000-09-18 09:21:01 +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
3c184d8180
Declare the availability of beta 2 in STATUS.
2000-09-17 22:36:25 +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
91e8cc6216
make update
2000-09-17 20:18:06 +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
e17b712894
Restore the descriptions to conform with the rest of the
...
documentation. We'll work on better documents after the release of
0.9.6.
2000-09-17 19:20:17 +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
623eea376a
siglen is unsigned, so comparing it to less than 0 is silly, and
...
generates a compiler warning with Compaq C.
2000-09-17 18:08:38 +00:00
Richard Levitte
5ef8093732
Oops, no engine in the main trunk.
2000-09-17 15:45:43 +00:00
Richard Levitte
6d50071e84
Tell users that a rewrite might be a good idea.
2000-09-17 15:41:24 +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
Richard Levitte
282f92f7dd
Inform the VMS people that RSAref is no longer needed
2000-09-17 11:57:33 +00:00
Richard Levitte
8e913bff55
VMS didn't work out too well...
2000-09-17 11:56:53 +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
da542e1bf7
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).
2000-09-16 23:32:33 +00:00
Richard Levitte
93fe6e13a3
Add BIO_seek() and BIO_tell() to the BIO control functions manual.
2000-09-16 23:31:03 +00:00
Dr. Stephen Henson
2c281ebb6c
New macro BIO_set_shutdown_wr().
...
Update docs.
2000-09-16 21:21:01 +00:00
Bodo Möller
37b08e8365
SSL => TLS/SSL
2000-09-16 16:05:34 +00:00
Bodo Möller
318f962928
TLS => TLS/SSL
2000-09-16 16:02:35 +00:00
Bodo Möller
acb5b34328
Change spelling back to "behaviour" and "flavour" instead of the
...
American variants.
2000-09-16 16:00:38 +00:00
Bodo Möller
c1629c9ea2
Clarification.
2000-09-16 15:55:57 +00:00
Ulf Möller
1e4e549296
ispell and some other nit-picking
2000-09-16 15:39:28 +00:00
Dr. Stephen Henson
439fb8e1e0
Remove redundant manpages and references to them.
2000-09-16 12:01:38 +00:00
Ulf Möller
53e44d90c7
add links to the new BIO and SSL manpages to make them visible on the web.
2000-09-16 06:04:43 +00:00
Dr. Stephen Henson
32751b8ab1
BIO_f_ssl() docs.
2000-09-16 01:32:42 +00:00
Richard Levitte
5ce0e07da7
Compile all dso files on VMS as well.
2000-09-15 22:16:41 +00:00
Richard Levitte
1c86d93ca5
'make update'
2000-09-15 22:13:38 +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
095aadc43f
Move up inclusion of conf.h, so non-MONOLITH programs can benefit from
...
it as well, especially in apps.c.
2000-09-15 19:37:14 +00:00
Dr. Stephen Henson
68a1c6b0d9
Accept BIO docs.
2000-09-15 17:31:47 +00:00
Richard Levitte
bda702ef83
'make update'
2000-09-15 15:26:04 +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
Dr. Stephen Henson
2273d6b657
Update BIO_s_connect().
2000-09-15 00:28:47 +00:00
Bodo Möller
e39c194387
Some small clarifications.
2000-09-14 22:09:55 +00:00
Richard Levitte
e1b78bc64d
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.
2000-09-14 21:23:28 +00:00
Richard Levitte
e65c84abb0
Update the info on version numbering
2000-09-14 21:22:19 +00:00
Richard Levitte
8eec1389fb
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.
2000-09-14 20:24:56 +00:00
Richard Levitte
e38dabbc0c
BIO_seed() and BIO_tell() were documented in two other documents,
...
which is redundant. Instead, move them to their own page.
2000-09-14 20:23:17 +00:00
Richard Levitte
54731d75d7
Items without a =over and a =back are ignored.
2000-09-14 20:22:14 +00:00
Dr. Stephen Henson
18f2259499
BIO_s_bio() manual page detailing BIO pair.
...
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.
2000-09-14 18:55:39 +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
03ed26afdd
Remove engine stuff that was erroneously put in the main trunk.
2000-09-14 18:16:25 +00:00
Richard Levitte
775bcebde5
Add Damien Miller's RPM specification file with a few modifications.
2000-09-14 15:28:44 +00:00
Richard Levitte
7fcc8326e3
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.
2000-09-14 13:17:55 +00:00
Richard Levitte
cc99526db1
Add a number of documentation files, mostly for SSL routines, but also
...
for a few BIO routines.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-09-14 13:11:56 +00:00
Richard Levitte
72660f5f15
Add a configuration for Sony News 4.
...
Submitted by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp >
2000-09-14 12:48:48 +00:00
Dr. Stephen Henson
bace212474
Initial connect BIO docs.
2000-09-14 12:44:34 +00:00
Richard Levitte
e117a890ca
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.
2000-09-14 12:14:41 +00:00
Richard Levitte
5614bb91f5
rsa_num2 is no longer used, so remove it.
2000-09-14 11:09:03 +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
Dr. Stephen Henson
6dcbaf5857
Docs for socket BIO.
2000-09-14 00:05:50 +00:00
Bodo Möller
baa080d46a
'make update'
2000-09-13 22:04:09 +00:00
Dr. Stephen Henson
02ef611ef3
BIO_s_fd() manual page.
2000-09-13 17:27:42 +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
e37c27d239
One more passed test
2000-09-13 12:14:39 +00:00
Richard Levitte
270f4f6d63
Update info on what has been fixed
2000-09-13 11:35:54 +00:00
Richard Levitte
e147c6fef8
Update info on what has been fixed, and switch format for failure data
2000-09-13 11:33:09 +00:00
Richard Levitte
cea81a62ff
Make sure that Configure will defined DSO_WIN32 for the Win32 targets. I feel a bit unsure if this should really be done for Mingw32 and CygWin32
2000-09-13 11:29:15 +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
523d778aef
The other log message should have read "Note the DSA change".
2000-09-13 02:01:35 +00:00
Ulf Möller
5b7417dbe1
More Windows failures reported
2000-09-13 01:50:24 +00:00
Ulf Möller
5401c4c2bf
Not the DSA change.
2000-09-13 01:48:05 +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
Dr. Stephen Henson
4041156461
Clarify some of the I/O issues.
...
Add case of using select() and blocking I/O with
BIOs and why you shouldn't (thanks Bodo!).
2000-09-13 00:20:24 +00:00
Richard Levitte
279fff0d7f
A few more systems reported successfull.
2000-09-12 22:19:41 +00:00
Bodo Möller
54f10e6adc
New SSL API mode 'SSL_MODE_AUTO_RETRY', which disables the default
...
behaviour that SSL_read may result in SSL_ERROR_WANT_READ.
2000-09-12 20:28:30 +00:00
Ulf Möller
fb1cba063d
bug: RAND_poll().
2000-09-12 16:40:59 +00:00
Richard Levitte
e4daf9dfce
Holger Reif reports a few more Solaris successes.
2000-09-12 15:46:04 +00:00
Richard Levitte
8a26980b07
Note the failure on Win32
2000-09-12 10:07:19 +00:00
Richard Levitte
1e27f4b68c
FreeBSD and solaris with gcc passed
2000-09-12 10:05:11 +00:00
Richard Levitte
03ea28c985
Better error checking for RSA and DSA signature and verification speed
...
tests. This was required to not get mysterious errors when they
wouldn't quite want to work.
2000-09-12 08:12:52 +00:00
Richard Levitte
0f92cae9bc
Linux in Sparc v7 passed
2000-09-12 06:49:03 +00:00
Richard Levitte
a9740b7da6
SCO 5.0.5 with both gcc and cc passed
2000-09-12 06:44:52 +00:00
Dr. Stephen Henson
d572cb6c1c
More BIO docs.
2000-09-12 01:56:56 +00:00
Richard Levitte
05c2b37176
DSA_verify() and DSA_sign() might return -1...
2000-09-11 22:21:38 +00:00
Richard Levitte
8c0514f741
A couple more HP-UX targets tested.
2000-09-11 22:02:07 +00:00
Richard Levitte
2aff74dd68
debug-linux-elf and debug-linux-elf-efence need to be linked with
...
libdl just as linux-elf...
2000-09-11 21:57:27 +00:00
Richard Levitte
b924f04784
Failure on Solaris when using the CSwift card.
2000-09-11 20:32:35 +00:00
Richard Levitte
d63b8db852
mkdef.pl still needed better logic. Also, the semantics of the
...
platforms list is clarified (it's however not quite followed in the
RSAREF case...).
RSAREF is also checked now.
2000-09-11 20:04:58 +00:00
Ben Laurie
2959f292db
Document an old change.
2000-09-11 17:58:09 +00:00
Richard Levitte
965c17756a
mkdef.pl has erroneous conditions to check if a symbol is excluded
...
from the given target. Fixed, I hope.
2000-09-11 17:31:05 +00:00
Richard Levitte
0c415ddd67
linux-elf passed
2000-09-11 17:10:21 +00:00
Richard Levitte
16e91fe8ab
OpenBSD doesn't support timeb.
2000-09-11 16:46:35 +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
d40a9e8257
Reports for OpenBSD 2.7 and HP-UX 10.20
2000-09-11 16:36:14 +00:00
Richard Levitte
ec6a40e278
Last minute update, in time to make it to 0.9.6-beta1
2000-09-11 13:06:48 +00:00
Richard Levitte
4a6367ae66
Time to release a beta. Change the status accordingly.
2000-09-11 12:39:43 +00:00
Richard Levitte
bed1847b6a
Time to release a beta. Change the version numbers and dates
...
accordingly.
2000-09-11 12:31:36 +00:00
Richard Levitte
4d0c6b2936
I started with a make update, but a rewrite was actually needed.
...
Perhaps we should make rewrites the default thing to do?
2000-09-11 11:45:02 +00:00
Richard Levitte
25a73f2690
A cast is needed or Borland C will complain.
2000-09-11 11:43:35 +00:00