Dr. Stephen Henson [Tue, 30 May 2000 02:21:15 +0000 (02:21 +0000)]
Fourth phase EVP revision.
Declare ciphers in terms of macros. This reduces
the amount of code and places each block cipher EVP
definition in a single file instead of being spread
over 4 files.
Dr. Stephen Henson [Tue, 30 May 2000 02:10:57 +0000 (02:10 +0000)]
Fourth phase EVP revision.
Declare ciphers in terms of macros. This reduces
the amount of code and places each block cipher EVP
definition in a single file instead of being spread
over 4 files.
Richard Levitte [Mon, 29 May 2000 16:18:37 +0000 (16:18 +0000)]
Configuration for linux on ARM (contributed by Jeremy Norris
<jeremy.norris@rebel.com>)
Geoff Thorpe [Mon, 29 May 2000 15:52:21 +0000 (15:52 +0000)]
Minor corrections to documentation.
* speed processes any/all options passed to it, not just one.
* DH and DSA have no "_get_method()" functions, only RSA does.
* typos.
Geoff Thorpe [Mon, 29 May 2000 04:20:52 +0000 (04:20 +0000)]
another warning.
Geoff Thorpe [Mon, 29 May 2000 03:50:37 +0000 (03:50 +0000)]
It seems that mktime does what is required here. Certainly timegm() can
not be used because it is not available on all systems (most notably,
win32).
Geoff Thorpe [Mon, 29 May 2000 03:17:45 +0000 (03:17 +0000)]
This declaration seems to have been added into the header file accidently.
There's no trace of it being implemented and it doesn't seem to have been
intended given that it is prototyped with a BIO yet there was a BIO-
specific version added in at the same time.
Geoff Thorpe [Mon, 29 May 2000 02:42:57 +0000 (02:42 +0000)]
oops.
Dr. Stephen Henson [Sun, 28 May 2000 12:44:46 +0000 (12:44 +0000)]
Third phase of EVP cipher overhaul.
Remove duplicated code in EVP.
Bodo Möller [Sat, 27 May 2000 22:25:01 +0000 (22:25 +0000)]
Bugfix: clear error queue after ignoring ssl_verify_cert_chain result.
Dr. Stephen Henson [Sat, 27 May 2000 12:38:43 +0000 (12:38 +0000)]
Second phase of EVP cipher overhaul.
Change functions like EVP_EncryptUpdate() so they now return a
value. These normally have software only implementations
which cannot fail so this was acceptable. However ciphers
can be implemented in hardware and these could return errors.
Dr. Stephen Henson [Fri, 26 May 2000 23:51:35 +0000 (23:51 +0000)]
Beginnings of EVP cipher overhaul. This should eventually
enhance and tidy up the EVP interface.
This patch adds initial support for variable length ciphers
and changes S/MIME code to use this.
Some other library functions need modifying to support use
of modified cipher parameters.
Also need to change all the cipher functions that should
return error codes, but currenly don't.
And of course it needs extensive testing...
Geoff Thorpe [Thu, 25 May 2000 13:20:11 +0000 (13:20 +0000)]
cvs update
Bodo Möller [Thu, 25 May 2000 11:24:42 +0000 (11:24 +0000)]
typo
Bodo Möller [Thu, 25 May 2000 09:50:40 +0000 (09:50 +0000)]
Implement SSL_OP_TLS_ROLLBACK_BUG for servers.
Call dh_tmp_cb with correct 'is_export' flag.
Avoid tabs in CHANGES.
Richard Levitte [Wed, 24 May 2000 22:00:59 +0000 (22:00 +0000)]
Add the target system linux-m68k
Dr. Stephen Henson [Wed, 24 May 2000 13:09:59 +0000 (13:09 +0000)]
Add DSA library string. Workaround for IIS .key file invalid
ASN1 encoding.
Ralf S. Engelschall [Tue, 23 May 2000 18:33:44 +0000 (18:33 +0000)]
Fix Blowfish URL.
Submitted by: Arnaud De Timmerman <Arnaud.De.Timmerman@branchur.fr>
Ben Laurie [Sun, 21 May 2000 15:21:55 +0000 (15:21 +0000)]
Yet more typesafety.
Bodo Möller [Sun, 21 May 2000 14:21:24 +0000 (14:21 +0000)]
Avoid sprintf
Bodo Möller [Sun, 21 May 2000 14:17:01 +0000 (14:17 +0000)]
Avoid sprintf.
Bodo Möller [Sun, 21 May 2000 14:14:30 +0000 (14:14 +0000)]
Avoid sprintf, and harmonize indentation.
Bodo Möller [Sun, 21 May 2000 14:10:05 +0000 (14:10 +0000)]
Avoid sprintf.
Richard Levitte [Fri, 19 May 2000 13:44:28 +0000 (13:44 +0000)]
'make update'
Richard Levitte [Fri, 19 May 2000 13:36:29 +0000 (13:36 +0000)]
Remove extra comma (creates a unnessecary null element, right?).
Bodo Möller [Fri, 19 May 2000 12:02:49 +0000 (12:02 +0000)]
Add required cast.
Bodo Möller [Fri, 19 May 2000 12:02:09 +0000 (12:02 +0000)]
Fix "FIXME" indentation :-)
Bodo Möller [Fri, 19 May 2000 11:59:55 +0000 (11:59 +0000)]
Add "FIXME" comment, and adjust the indentation.
Richard Levitte [Fri, 19 May 2000 08:53:06 +0000 (08:53 +0000)]
Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
Bodo Möller [Fri, 19 May 2000 07:54:42 +0000 (07:54 +0000)]
typo
Richard Levitte [Thu, 18 May 2000 21:25:48 +0000 (21:25 +0000)]
Add a note about the new document.
Richard Levitte [Thu, 18 May 2000 21:22:50 +0000 (21:22 +0000)]
Add a new file where all the standards and other documents that we try
to adhere to are listed. It should be regarded as a complement to
whatever is out on the web, including the docs in http://www.openssl.org/
Dr. Stephen Henson [Thu, 18 May 2000 00:33:00 +0000 (00:33 +0000)]
Fix c_rehash script, add -fingerprint option to crl.
Ben Laurie [Wed, 17 May 2000 10:08:05 +0000 (10:08 +0000)]
Typesafety Thought Police last part.
Ben Laurie [Wed, 17 May 2000 09:13:36 +0000 (09:13 +0000)]
Typesafety Thought Police part 5.
Ben Laurie [Tue, 16 May 2000 23:01:19 +0000 (23:01 +0000)]
Typesafe Thought Police part 4.
Ben Laurie [Tue, 16 May 2000 21:22:45 +0000 (21:22 +0000)]
Typesafety Thought Police part 3.
Ben Laurie [Tue, 16 May 2000 19:53:50 +0000 (19:53 +0000)]
Typesafety Thought Police Part 2.
Ben Laurie [Tue, 16 May 2000 14:38:29 +0000 (14:38 +0000)]
Typesafety thought police.
Ulf Möller [Mon, 15 May 2000 22:54:43 +0000 (22:54 +0000)]
Get rid of more non-ANSI declarations.
Ulf Möller [Mon, 15 May 2000 21:02:44 +0000 (21:02 +0000)]
prototype.
Ulf Möller [Mon, 15 May 2000 19:24:23 +0000 (19:24 +0000)]
Make sure that NO-RSA applications etc can include evp.h
Ulf Möller [Mon, 15 May 2000 19:20:10 +0000 (19:20 +0000)]
Missing cases when no_rsa is defined
Submitted by: Zeroknowledge
Ulf Möller [Mon, 15 May 2000 18:59:55 +0000 (18:59 +0000)]
MacOS changes.
Ben Laurie [Sun, 14 May 2000 12:39:53 +0000 (12:39 +0000)]
Allow UTCTIME objects to be retrieved. Check for imminent cert expiry.
Bodo Möller [Thu, 11 May 2000 23:10:27 +0000 (23:10 +0000)]
When open()ing 'file' in RAND_write_file, don't use O_EXCL.
This is superfluous now that we don't have to avoid creating
multiple versions of the file on VMS (because older versions
are now deleted).
Richard Levitte [Mon, 8 May 2000 16:58:29 +0000 (16:58 +0000)]
Being sick and tired of the hogging Efence does on my laptop, I
decided to provide an alternative...
Dr. Stephen Henson [Thu, 4 May 2000 23:03:49 +0000 (23:03 +0000)]
Fix for SSL server purpose checking
Dr. Stephen Henson [Thu, 4 May 2000 00:08:35 +0000 (00:08 +0000)]
Make PKCS#12 code handle missing passwords.
Add a couple of FAQs.
Bodo Möller [Tue, 2 May 2000 20:29:03 +0000 (20:29 +0000)]
Note apps/x509.c bugfixes.
Bodo Möller [Tue, 2 May 2000 20:18:48 +0000 (20:18 +0000)]
Fix a memory leak, and don't generate inappropriate error message
when PEM_read_bio_X509_REQ fails.
Richard Levitte [Tue, 2 May 2000 13:38:11 +0000 (13:38 +0000)]
Initialise.
Richard Levitte [Tue, 2 May 2000 13:36:50 +0000 (13:36 +0000)]
In Message-ID: <
003201bfb332$
14a07520$
0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Also, make the memory debugging routines defined and declared with
prototypes, and use void* instead of char* for memory blobs.
And last of all, redo the ugly callback construct for elegance and
better definition (with prototypes).
Richard Levitte [Tue, 2 May 2000 12:35:04 +0000 (12:35 +0000)]
In Message-ID: <
003201bfb332$
14a07520$
0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Richard Levitte [Tue, 2 May 2000 12:16:01 +0000 (12:16 +0000)]
In Message-ID: <
003201bfb332$
14a07520$
0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Bodo Möller [Mon, 1 May 2000 19:49:41 +0000 (19:49 +0000)]
Add missing #include.
Bodo Möller [Sat, 29 Apr 2000 23:58:05 +0000 (23:58 +0000)]
Avoid leaking memory in thread_hash (and enable memory leak detection
for it).
Ulf Möller [Thu, 27 Apr 2000 15:07:15 +0000 (15:07 +0000)]
linux-elf bugfix
Submitted by:
Reviewed by:
PR:
Ulf Möller [Thu, 27 Apr 2000 15:06:26 +0000 (15:06 +0000)]
Submitted by:
Reviewed by:
PR:
Bodo Möller [Thu, 27 Apr 2000 09:11:28 +0000 (09:11 +0000)]
Stylistic changes: Don't use a macro for the malloc'ed length since it
is not constant.
Bodo Möller [Thu, 27 Apr 2000 06:47:23 +0000 (06:47 +0000)]
Warn about truncation also in the case when a single password is read using
the password prompt.
Richard Levitte [Wed, 26 Apr 2000 12:15:19 +0000 (12:15 +0000)]
Use CONFerr, not RSAerr, in the conf library...
Richard Levitte [Wed, 26 Apr 2000 12:13:19 +0000 (12:13 +0000)]
Clarifications and removal of double declaration...
Geoff Thorpe [Tue, 25 Apr 2000 08:37:12 +0000 (08:37 +0000)]
This case in the "dso_unload" handlers should not be reported as an error -
if a DSO_load(NULL,...) operation fails, it will have to call DSO_free() on
the DSO structure it created and that will filter through to this "unload"
call.
If the stack size is "< 1", then the library never actually loaded. To keep
things clean higher up, I'll treat this as a vacuous case without an error.
It makes the error stack easier to follow real world cases, and the error
this ignores was only useful for catching bugs in internal code, not
mismatched calls from applications (which should be handled in the generic
DSO layer).
Geoff Thorpe [Thu, 20 Apr 2000 07:58:11 +0000 (07:58 +0000)]
The handling of DSA_METHOD and DH_METHOD wasn't quite as problematic as
with RSA_METHOD (the **_get_default_methods do set the default value if
it's not set). However, the code had some duplication and was a bit
conter-intuitive.
Geoff Thorpe [Thu, 20 Apr 2000 06:44:18 +0000 (06:44 +0000)]
Previously, the default RSA_METHOD was NULL until the first RSA structure was
initialised, at which point an appropriate default was chosen. This meant a
call to RSA_get_default_method might have returned FALSE.
This change fixes that; now any called to RSA_new(), RSA_new_method(NULL), or
RSA_get_default_method() will ensure that a default is chosen if it wasn't
already.
Geoff Thorpe [Wed, 19 Apr 2000 23:02:12 +0000 (23:02 +0000)]
Thanks to "make update" ...
Geoff Thorpe [Wed, 19 Apr 2000 21:45:17 +0000 (21:45 +0000)]
This change facilitates name translation for shared libraries. The
technique used is far from perfect and alternatives are welcome.
Basically if the translation flag is set, the string is not too
long, and there appears to be no path information in the string,
then it is converted to whatever the standard should be for the
DSO_METHOD in question, eg;
blah --> libblah.so on *nix, and
blah --> blah.dll on win32.
This change also introduces the DSO_ctrl() function that is used
by the name translation stuff.
Bodo Möller [Sat, 15 Apr 2000 00:04:30 +0000 (00:04 +0000)]
Correction.
Bodo Möller [Fri, 14 Apr 2000 23:37:44 +0000 (23:37 +0000)]
Ignore lib and Makefile.save.
Bodo Möller [Fri, 14 Apr 2000 23:36:15 +0000 (23:36 +0000)]
New function ERR_error_string_n.
Bodo Möller [Wed, 12 Apr 2000 23:04:13 +0000 (23:04 +0000)]
Minor corrections.
Richard Levitte [Wed, 12 Apr 2000 16:48:20 +0000 (16:48 +0000)]
OpenVMS, not OpenVSM...
Richard Levitte [Mon, 10 Apr 2000 15:48:16 +0000 (15:48 +0000)]
I forgot to update the change log
Richard Levitte [Sun, 9 Apr 2000 12:52:40 +0000 (12:52 +0000)]
"make update"
Richard Levitte [Sun, 9 Apr 2000 12:04:35 +0000 (12:04 +0000)]
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
Bodo Möller [Thu, 6 Apr 2000 22:33:39 +0000 (22:33 +0000)]
"make update" for DSO additions.
Bodo Möller [Thu, 6 Apr 2000 22:33:14 +0000 (22:33 +0000)]
In theory, TLS v1 ciphersuites are not the same as SSL v3 ciphersuites
Bodo Möller [Thu, 6 Apr 2000 22:30:57 +0000 (22:30 +0000)]
Clarifications.
Bodo Möller [Thu, 6 Apr 2000 22:25:49 +0000 (22:25 +0000)]
Avoid memory leak.
Geoff Thorpe [Thu, 6 Apr 2000 14:54:54 +0000 (14:54 +0000)]
Constification, and a silly mistake in the comments.
Geoff Thorpe [Thu, 6 Apr 2000 11:56:45 +0000 (11:56 +0000)]
I forgot about $openssl_other_defines ... should probably do this
for consistency. Not sure though whether HAVE_DLFCN_H should be
included too? If we go the autoconf route then this probably wouldn't
be included.
Geoff Thorpe [Thu, 6 Apr 2000 07:09:45 +0000 (07:09 +0000)]
This helps make the DSO stuff more portable;
* "no-dso" option available in Configure so that all DSO methods will
return NULL, overriding any support the platform might otherwise
have built.
* dlfcn_no_h config string now available rather than just dlfcn. This
is for platforms that have dlfcn.h functions but do not have (or
need) the dlfcn.h header file.
Geoff Thorpe [Tue, 4 Apr 2000 22:49:27 +0000 (22:49 +0000)]
Better make a note of what's going on ... :-)
Geoff Thorpe [Tue, 4 Apr 2000 22:32:19 +0000 (22:32 +0000)]
This commit ties the new DSO code (crypto/dso/) into the build for a
variety of platforms. A few are missing, and they will be added in
eventually, but as this is new stuff, it was better to not break lots of
platforms in one go that we can't easily test. The changes to "Configure"
should illustrate how to add support to other systems if you feel like
having a go.
NB: I'll add something shortly to allow you to add "dlfcn.h" support on
those platforms that don't have (or need) a dlfcn.h header file. (The
symbol for Configure will probably by "dlfcn_no_h").
Thanks to Richard Levitte, who is responsible for the dso_dl.c support,
understanding the trickier aspects of the build process, and giving great
feedback on everything else.
[Don't use this stuff if you're easily offended by changes to the
interface or behaviour - it's still work in progress.]
PR:
Geoff Thorpe [Tue, 4 Apr 2000 21:57:11 +0000 (21:57 +0000)]
This is a set of startup code for the DSO support, it's not yet linked into
the build process (an upcoming commit no doubt), and is very much *new*
code - what that means is that it compiles ok - usually. It certainly
doesn't mean it runs well or even properly yet. Please don't muck round
with this unless you're looking to help out and hunt bugs. :-)
Currently this code doesn't have any support for controlling the "load"
behaviour (eg. paths, filename translations, etc). That'll be handled
using DSO_ctrl() and various flags, once we work out a sensible set of
flags.
Bodo Möller [Tue, 4 Apr 2000 21:31:14 +0000 (21:31 +0000)]
Extend entry on ERR_print_errors.
Richard Levitte [Sat, 1 Apr 2000 12:32:10 +0000 (12:32 +0000)]
Release done, change status.
Richard Levitte [Sat, 1 Apr 2000 11:24:27 +0000 (11:24 +0000)]
Tagging has now been done, update to the next version (it's not quite
as important to keep a low profile here :-))
Richard Levitte [Sat, 1 Apr 2000 11:21:14 +0000 (11:21 +0000)]
Tagging has now been done, update to the next possible version (I keep
a low profile, so we don't get discontinuity in the numbering...)
Richard Levitte [Sat, 1 Apr 2000 11:15:15 +0000 (11:15 +0000)]
Version and name changes, and a last minute changelog
Richard Levitte [Sat, 1 Apr 2000 11:03:41 +0000 (11:03 +0000)]
Building version 0.9.5a
Richard Levitte [Sat, 1 Apr 2000 10:39:33 +0000 (10:39 +0000)]
_lrotl and _lrotr are defined in MSVC but nowhere else that we know
off.
Bodo Möller [Thu, 30 Mar 2000 08:12:35 +0000 (08:12 +0000)]
Entry for ssleay_rand_status locking fix.
Bodo Möller [Thu, 30 Mar 2000 06:11:54 +0000 (06:11 +0000)]
'entropy >= ENTROPY_NEEDED' should be evaluated while the
variables are locked.
Dr. Stephen Henson [Thu, 30 Mar 2000 02:00:25 +0000 (02:00 +0000)]
Add a couple of FAQs.
Richard Levitte [Wed, 29 Mar 2000 17:25:52 +0000 (17:25 +0000)]
Since ssleay_rand_initialize() unlocks then locks CRYPTO_LOCK_RAND,
it's a good thing if ssleay_rand_status() would do the corresponding
lock and unlock as everyone else...
Ulf Möller [Tue, 28 Mar 2000 19:45:06 +0000 (19:45 +0000)]
Add pointer to EGD manpage.
Update the "randomness" section for the upcoming 0.9.5a release.
Richard Levitte [Tue, 28 Mar 2000 18:56:04 +0000 (18:56 +0000)]
Add a default banner. Contributed by Joon Radley <jradley@vps.co.za>
Richard Levitte [Tue, 28 Mar 2000 18:54:27 +0000 (18:54 +0000)]
Don't force the use of GNU make with Borland C++ Builder. Contributed by Joon Radley <jradley@vps.co.za>