Ben Laurie [Fri, 12 Mar 1999 19:58:43 +0000 (19:58 +0000)]
Use the right compiler for ctx_size.
Dr. Stephen Henson [Fri, 12 Mar 1999 01:43:28 +0000 (01:43 +0000)]
Delete NULL ciphers from 'ALL' in the cipher list aliases. This means that
NULL ciphers specifically have to be enabled with e.g. "DEFAULT:eNULL". This
prevents cipher lists from inadvertantly having NULL ciphers at the top
of their list (e.g. the default ones) because they didn't have to be taken
into account before.
Dr. Stephen Henson [Thu, 11 Mar 1999 02:42:13 +0000 (02:42 +0000)]
Fix for RSA private key encryption if p < q. This took ***ages*** to track down.
Ralf S. Engelschall [Wed, 10 Mar 1999 20:09:29 +0000 (20:09 +0000)]
Just cosmetics: replace a tab with a normal space because
the tab always looked too estoeric to my eyes while building... ;)
Ralf S. Engelschall [Wed, 10 Mar 1999 19:57:05 +0000 (19:57 +0000)]
Be less restrictive and allow also `perl util/perlpath.pl /path/to/bin/perl'
in addition to `perl util/perlpath.pl /path/to/bin', because this way one can
also use an interpreter named `perl5' (which is usually the name of Perl 5.xxx
on platforms where an Perl 4.x is still installed as `perl').
Submitted by: Matthias Loepfe <Matthias.Loepfe@adnovum.ch>
Reviewed by: Ralf S. Engelschall
Ralf S. Engelschall [Wed, 10 Mar 1999 19:51:43 +0000 (19:51 +0000)]
Let util/clean-depend.pl work also with older Perl 5.00x versions.
Submitted by: Matthias Loepfe <Matthias.Loepfe@adnovum.ch>
Reviewed by: Ralf S. Engelschall
Dr. Stephen Henson [Wed, 10 Mar 1999 18:30:48 +0000 (18:30 +0000)]
Fix couple of ANSI declarations and prototypes
Ralf S. Engelschall [Wed, 10 Mar 1999 16:17:31 +0000 (16:17 +0000)]
Update
Ralf S. Engelschall [Wed, 10 Mar 1999 14:53:54 +0000 (14:53 +0000)]
Update platform test list
Ralf S. Engelschall [Wed, 10 Mar 1999 14:50:28 +0000 (14:50 +0000)]
Two more things we should look at before release
Dr. Stephen Henson [Wed, 10 Mar 1999 01:37:33 +0000 (01:37 +0000)]
Make CC,CFLAG etc get passed to make links and various Win32 fixes.
Dr. Stephen Henson [Tue, 9 Mar 1999 23:54:31 +0000 (23:54 +0000)]
Remove some hard coded paths from Win32 test stuff.
Ben Laurie [Tue, 9 Mar 1999 20:06:39 +0000 (20:06 +0000)]
Remake cert links when the app is built.
Ralf S. Engelschall [Tue, 9 Mar 1999 15:36:53 +0000 (15:36 +0000)]
Update to current state...
Ralf S. Engelschall [Tue, 9 Mar 1999 13:09:07 +0000 (13:09 +0000)]
Make it more clear what option -WWW to s_server does.
Ben Laurie [Tue, 9 Mar 1999 11:37:23 +0000 (11:37 +0000)]
Fix quad checksum bug.
Ben Laurie [Tue, 9 Mar 1999 10:10:03 +0000 (10:10 +0000)]
Go faster.
Ben Laurie [Tue, 9 Mar 1999 10:08:17 +0000 (10:08 +0000)]
Correct English.
Dr. Stephen Henson [Tue, 9 Mar 1999 03:01:48 +0000 (03:01 +0000)]
Comment out two unimplemented functions from bio.h. Attempt to get the
Win32 test batch file going again.
Dr. Stephen Henson [Mon, 8 Mar 1999 22:46:56 +0000 (22:46 +0000)]
Add missing funtions from non ANSI section of header files and add missing
ordinals to libeay.num.
Ben Laurie [Mon, 8 Mar 1999 21:56:46 +0000 (21:56 +0000)]
test.
Dr. Stephen Henson [Mon, 8 Mar 1999 18:41:15 +0000 (18:41 +0000)]
Various fixes to Win32, update ssleay.num, libeay.num, shuffle various #ifdefs
around so more options appear in e_os.h
Ben Laurie [Mon, 8 Mar 1999 13:32:44 +0000 (13:32 +0000)]
Make links no longer needed.
Ralf S. Engelschall [Mon, 8 Mar 1999 12:56:07 +0000 (12:56 +0000)]
Solaris 2.6 makes still problems.
Details were posted.
Ralf S. Engelschall [Mon, 8 Mar 1999 12:39:41 +0000 (12:39 +0000)]
typo
Ralf S. Engelschall [Mon, 8 Mar 1999 12:35:01 +0000 (12:35 +0000)]
Make `openssl version' output lines consistent.
Ralf S. Engelschall [Mon, 8 Mar 1999 12:17:53 +0000 (12:17 +0000)]
Start with some more tarball rolling preparation to make sure it's not
overlooed next Monday:
- rmlinks is no longer existing
- use openssl as the name and not rse
- don't roll the STATUS file into the tarball
Ralf S. Engelschall [Mon, 8 Mar 1999 12:13:35 +0000 (12:13 +0000)]
Let us start with some platform test list...
Ralf S. Engelschall [Mon, 8 Mar 1999 11:41:26 +0000 (11:41 +0000)]
Fix Win32 symbol export lists for BIO functions: Added BIO_get_ex_new_index,
BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data to ms/libeay{16,32}.def.
I'm not a Win32 hacker, but I think I've done it correctly.
Steve or Ben: can you confirm that it's correct?
I don't want to break any Win32 stuff.
Ralf S. Engelschall [Mon, 8 Mar 1999 11:25:49 +0000 (11:25 +0000)]
Second round of fixing the OpenSSL perl/ stuff. It now at least compiled fine
under Unix and passes some trivial tests I've now added. But the whole stuff
is horribly incomplete, so a README.1ST with a disclaimer was added to make
sure no one expects that this stuff really works in the OpenSSL 0.9.2 release.
Additionally I've started to clean the XS sources up and fixed a few little
bugs and inconsistencies in OpenSSL.{pm,xs} and openssl_bio.xs.
PS: I'm still not convinces whether we should try to make this
finally running or kick it out and replace it with some
other module....
Ralf S. Engelschall [Mon, 8 Mar 1999 09:47:30 +0000 (09:47 +0000)]
Two more .cvsignore files for the assembler stuff
Ralf S. Engelschall [Mon, 8 Mar 1999 09:43:53 +0000 (09:43 +0000)]
Notice freeze state and update my entry
Dr. Stephen Henson [Sun, 7 Mar 1999 16:25:59 +0000 (16:25 +0000)]
Delete obsolete old X509V3 files.
Ben Laurie [Sun, 7 Mar 1999 15:22:59 +0000 (15:22 +0000)]
Don't make links in INSTALL doc - also, work first time!
Ben Laurie [Sun, 7 Mar 1999 15:21:08 +0000 (15:21 +0000)]
Don't make links on Windoze.
Ben Laurie [Sun, 7 Mar 1999 15:08:38 +0000 (15:08 +0000)]
Fix perl assembler.
Ben Laurie [Sun, 7 Mar 1999 15:08:04 +0000 (15:08 +0000)]
Fix DWP when only given three parameters.
Ben Laurie [Sun, 7 Mar 1999 14:17:32 +0000 (14:17 +0000)]
Linux MIPS support.
Ben Laurie [Sun, 7 Mar 1999 14:05:36 +0000 (14:05 +0000)]
Always make links.
Ben Laurie [Sun, 7 Mar 1999 14:01:55 +0000 (14:01 +0000)]
Fix a typo.
Dr. Stephen Henson [Sat, 6 Mar 1999 19:33:29 +0000 (19:33 +0000)]
Added support for adding extensions to CRLs, also fix a memory leak and
make 'req' check the config file syntax before it adds extensions. Added
info in the documentation as well.
Ralf S. Engelschall [Sat, 6 Mar 1999 16:07:47 +0000 (16:07 +0000)]
Add a useful kludge to allow package maintainers to specify compiler and other
platforms details on the command line without having to patch the Configure
script everytime: One now can use ``perl Configure <id>:<details>'', i.e.
platform ids are allowed to have details appended to them (seperated by
colons). This is treated as there would be a static pre-configured entry in
Configure's %table under key <id> with value <details> and ``perl Configure
<id>'' is called. So, when you want to perform a quick test-compile under
FreeBSD 3.1 with pgcc and without assembler stuff you can use ``perl Configure
"FreeBSD-elf:pgcc:-O6:::"'' now, which overrides the FreeBSD-elf entry
on-the-fly.
(PS: Notice that the same effect _cannot_ be achieved by using
``make CC=pgcc ..'' etc, because you cannot override all
things from there.)
Ben Laurie [Sat, 6 Mar 1999 15:21:02 +0000 (15:21 +0000)]
Disable new TLS1 ciphersuites.
Ben Laurie [Sat, 6 Mar 1999 14:49:11 +0000 (14:49 +0000)]
Fix names of cert stack functions.
Ralf S. Engelschall [Sat, 6 Mar 1999 14:41:24 +0000 (14:41 +0000)]
Typo :-)
Ralf S. Engelschall [Sat, 6 Mar 1999 14:35:03 +0000 (14:35 +0000)]
Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified on the `perl
Configure ...' command line. This way one can compile OpenSSL libraries with
Position Independent Code (PIC) which is needed for linking it into DSOs.
Ben Laurie [Sat, 6 Mar 1999 14:32:48 +0000 (14:32 +0000)]
Put the dependencies back.
Ralf S. Engelschall [Sat, 6 Mar 1999 14:24:54 +0000 (14:24 +0000)]
Move the SSL_CTX_xxx defines at the top of ssl.h to the location of other
SSL_CTX_xxx defines. What was the reason to move them to the top, even before
the copyright and #ifdef HEADER_SSL_H? Hmmm... when there was and still is a
good reason feel free to reverse this patch, but please document why it is
needed this way.
Ben Laurie [Sat, 6 Mar 1999 14:09:36 +0000 (14:09 +0000)]
Fix export ciphersuites, again.
Ralf S. Engelschall [Sat, 6 Mar 1999 14:04:40 +0000 (14:04 +0000)]
Reshape the README file out of the existing README stuff
into a single file. Need more cleanup for final release IMHO.
Ralf S. Engelschall [Sat, 6 Mar 1999 14:01:29 +0000 (14:01 +0000)]
just a little typo
Ralf S. Engelschall [Sat, 6 Mar 1999 13:53:17 +0000 (13:53 +0000)]
Add a first cut for a NEWS document similar to what other packages (mostly GNU
packages) provide. The idea is that because of the large number of CHANGES
entries, this file summarizes the major changes for a brief overview.
Ralf S. Engelschall [Sat, 6 Mar 1999 13:35:14 +0000 (13:35 +0000)]
Bring the README file in sync and shape a little bit more...
Ralf S. Engelschall [Sat, 6 Mar 1999 13:29:09 +0000 (13:29 +0000)]
Cleaned up the LICENSE document: The official contact for any license
questions now is the OpenSSL core team under openssl-core@openssl.org. And
add a paragraph about the dual-license situation to make sure people recognize
that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply to the OpenSSL
toolkit.
Ralf S. Engelschall [Sat, 6 Mar 1999 13:15:15 +0000 (13:15 +0000)]
Ralf is now using FreeBSD 3.1 which runs ELF instead of a.out...
Ralf S. Engelschall [Sat, 6 Mar 1999 12:32:06 +0000 (12:32 +0000)]
General source tree makefile cleanups: Made `making xxx in yyy...' display
consistent in the source tree and replaced `/bin/rm' by `rm'. Additonally
cleaned up the `make links' target: Remove unnecessary semicolons, subsequent
redundant removes, inline point.sh into mklink.sh to speed processing and no
longer clutter the display with confusing stuff. Instead only the actually
done links are displayed.
Ben Laurie [Sat, 6 Mar 1999 12:09:36 +0000 (12:09 +0000)]
Permit null ciphers.
Ralf S. Engelschall [Sat, 6 Mar 1999 11:58:03 +0000 (11:58 +0000)]
Fix GCC warning...
t_req.c: In function `X509_REQ_print':
t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
Dr. Stephen Henson [Sat, 6 Mar 1999 02:34:07 +0000 (02:34 +0000)]
Add an extra 'raw' function r2i to the extension code. Nothing uses this yet and
it is just a place holder for functionality to be added later. Its been added
now so the X509V3_EXT_METHOD structure shouldn't (hopefully) have to change
after the release.
Dr. Stephen Henson [Fri, 5 Mar 1999 02:05:15 +0000 (02:05 +0000)]
Fix the PKCS#7 stuff: signature verify could fail if attributes reordered, the
detached data encoding was wrong and free up public keys.
Dr. Stephen Henson [Fri, 5 Mar 1999 01:07:04 +0000 (01:07 +0000)]
Workaround for a Win95 console bug triggered by the password read stuff.
Dr. Stephen Henson [Thu, 4 Mar 1999 23:29:51 +0000 (23:29 +0000)]
Deleted my str_dup() function from X509V3: the same functionality is provided
by BUF_MEM_strdup(). Added text documentation to the BUF_MEM stuff.
Ralf S. Engelschall [Thu, 4 Mar 1999 12:55:42 +0000 (12:55 +0000)]
Added the new `Includes OpenSSL Cryptography Software' button as
doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
button and can be used by applications based on OpenSSL to show the
relationship to the OpenSSL project.
PS: This beast caused me three hours to create, because
of the size I had to hand-paint the 7pt fonts in Photoshop.
Ralf S. Engelschall [Thu, 4 Mar 1999 07:54:01 +0000 (07:54 +0000)]
Remove confusing variables in function signatures in files
ssl/ssl_lib.c and ssl/ssl.h. At least the double ctx-variable
confused some compilers.
Submitted by: Lennart Bong <lob@kulthea.stacken.kth.se>
Reviewed by: Ralf S. Engelschall
Ralf S. Engelschall [Thu, 4 Mar 1999 07:47:27 +0000 (07:47 +0000)]
Don't install bss_file.c under PREFIX/include/. It was introduced by Eric
between SSLeay 0.8 and 0.9 and just looks useless and confusing.
Pointed out by: Lennart Bong <lob@kulthea.stacken.kth.se>
Submitted by: Ralf S. Engelschall
Dr. Stephen Henson [Wed, 3 Mar 1999 02:01:26 +0000 (02:01 +0000)]
Fix the Win32 compile environment and add various changes so it will now compile
under Win32 (9X and NT) again. Note: some signed/unsigned changes recently
checked in were killing the Win32 compile.
Ben Laurie [Sun, 28 Feb 1999 20:51:38 +0000 (20:51 +0000)]
Supper's cooking.
Ben Laurie [Sun, 28 Feb 1999 17:41:55 +0000 (17:41 +0000)]
Add functions to add certs to stacks, used for CA file/path stuff in servers.
Ben Laurie [Sun, 28 Feb 1999 14:39:18 +0000 (14:39 +0000)]
More truth in declarations.
Ben Laurie [Sun, 28 Feb 1999 12:42:50 +0000 (12:42 +0000)]
doxygen configuration file.
Ben Laurie [Sun, 28 Feb 1999 12:41:50 +0000 (12:41 +0000)]
Experiment with doxygen documentation.
Ben Laurie [Sat, 27 Feb 1999 18:41:04 +0000 (18:41 +0000)]
Update dependencies.
Ralf S. Engelschall [Sat, 27 Feb 1999 12:17:40 +0000 (12:17 +0000)]
Get rid of remaining C++-style comments which strict C compilers hate.
(Pointed out by Carlos Amengual).
Ralf S. Engelschall [Fri, 26 Feb 1999 22:31:54 +0000 (22:31 +0000)]
Ops, the logic of the second argument has to be coupled with the != test to
work correctly for the SSL_CTX_xxx situations, too. Now "make test" passes
again fine.
Ralf S. Engelschall [Fri, 26 Feb 1999 21:44:17 +0000 (21:44 +0000)]
Use consistent and existing addresses
Dr. Stephen Henson [Fri, 26 Feb 1999 01:37:34 +0000 (01:37 +0000)]
BN_RECURSION causes the stuff in bn_mont.c to fall over for large keys. For
now change it to BN_RECURSION_MONT so it isn't compiled in.
Ben Laurie [Thu, 25 Feb 1999 17:39:04 +0000 (17:39 +0000)]
Perhaps if I do a tiny bit of docco, others may follow?
Ralf S. Engelschall [Thu, 25 Feb 1999 14:44:55 +0000 (14:44 +0000)]
Remember one more wish from the users
Ralf S. Engelschall [Thu, 25 Feb 1999 14:40:29 +0000 (14:40 +0000)]
Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH
private keys and/or callback functions which directly correspond to their
SSL_CTX_xxx() counterparts but work on a per-connection basis. This is needed
for applications which have to configure certificates on a per-connection
basis (e.g. Apache+mod_ssl) instead of a per-context basis (e.g.
s_server).
For the RSA certificate situation is makes no difference, but for the DSA
certificate situation this fixes the "no shared cipher" problem where the
OpenSSL cipher selection procedure failed because the temporary keys were not
overtaken from the context and the API provided no way to reconfigure them.
The new functions now let applications reconfigure the stuff and they are in
detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new
non-public-API function ssl_cert_instantiate() is used as a helper function
and also to reduce code redundancy inside ssl_rsa.c.
Submitted by: Ralf S. Engelschall
Reviewed by: Ben Laurie
Ralf S. Engelschall [Thu, 25 Feb 1999 11:26:26 +0000 (11:26 +0000)]
Move s_server -dcert and -dkey options out of the undocumented feature area
because they are useful for the DSA situation and should be recognized by the
users. Thanks to Steve for the original hint.
Ralf S. Engelschall [Thu, 25 Feb 1999 11:06:52 +0000 (11:06 +0000)]
Typo
Ralf S. Engelschall [Thu, 25 Feb 1999 11:03:18 +0000 (11:03 +0000)]
Fix the cipher decision scheme for export ciphers: the export bits are *not*
within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within SSL_EXP_MASK. So, the
original variable has to be used instead of the already masked variable.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Reviewed by: Ralf S. Engelschall
Ralf S. Engelschall [Thu, 25 Feb 1999 10:54:27 +0000 (10:54 +0000)]
Fix 'port' variable from `int' to `unsigned int' in crypto/bio/b_sock.c
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Reviewed by: Ralf S. Engelschall
Ralf S. Engelschall [Thu, 25 Feb 1999 10:47:24 +0000 (10:47 +0000)]
Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
from `int' to `unsigned int' because it's a length and initialized by
EVP_DigestFinal() which expects an `unsigned int *'.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Reviewed by: Ralf S. Engelschall
Ben Laurie [Thu, 25 Feb 1999 09:43:26 +0000 (09:43 +0000)]
Fix clearly untested "clever" hack.
Ralf S. Engelschall [Thu, 25 Feb 1999 09:06:30 +0000 (09:06 +0000)]
More CVS ignore stuff...
Ralf S. Engelschall [Thu, 25 Feb 1999 08:48:52 +0000 (08:48 +0000)]
Don't hard-code path to Perl interpreter on shebang line of Configure
script. Instead use the usual Shell->Perl transition trick.
Ralf S. Engelschall [Thu, 25 Feb 1999 08:00:57 +0000 (08:00 +0000)]
Remember good pointers to Montgomery multiplication algorithm
descriptions as pointed out by Dave Carman <carman@erols.com>
Ralf S. Engelschall [Wed, 24 Feb 1999 17:17:31 +0000 (17:17 +0000)]
Make `openssl x509 -noout -modulus' functional also for DSA certificates (in
addition to RSA certificates) to match the behaviour of `openssl dsa -noout
-modulus' as it's already the case for `openssl rsa -noout -modulus'. For RSA
the -modulus is the real "modulus" while for DSA currently the public key is
printed (a decision which was already done by `openssl dsa -modulus' in the
past) which serves a similar purpose. Additionally the NO_RSA no longer
completely removes the whole -modulus option; it now only avoids using the RSA
stuff. Same applies to NO_DSA now, too.
Dr. Stephen Henson [Wed, 24 Feb 1999 00:14:21 +0000 (00:14 +0000)]
Remove debugging fprintf from req.c and fix the code so it properly skips over
the first leading XXX. in the DN.
Ben Laurie [Tue, 23 Feb 1999 21:45:23 +0000 (21:45 +0000)]
Code for reliable BIO.
Ben Laurie [Tue, 23 Feb 1999 21:44:34 +0000 (21:44 +0000)]
Add reliable BIO.
Ben Laurie [Tue, 23 Feb 1999 12:53:49 +0000 (12:53 +0000)]
Fix more warnings.
Ralf S. Engelschall [Tue, 23 Feb 1999 08:53:04 +0000 (08:53 +0000)]
Get rid of a nasty debugging message which was forgotten here...
Ralf S. Engelschall [Tue, 23 Feb 1999 08:52:20 +0000 (08:52 +0000)]
Fix usage message on gendsa:
1. The dsaparam argument is mandatory and not optional
2. Add a little text what this actually is: a filename
Ralf S. Engelschall [Tue, 23 Feb 1999 07:47:30 +0000 (07:47 +0000)]
Make gcc -Wall happy ("might be used uninitialized...")
Dr. Stephen Henson [Tue, 23 Feb 1999 00:07:46 +0000 (00:07 +0000)]
Redo the way 'req' and 'ca' add objects: add support for oid_section.
Ben Laurie [Mon, 22 Feb 1999 21:21:08 +0000 (21:21 +0000)]
Add syslogging BIO.
Dr. Stephen Henson [Mon, 22 Feb 1999 01:26:40 +0000 (01:26 +0000)]
Various changes to make this stuff compile under Win32 and VC++ with and
without -debug option to mk1mf.pl. Change _export to is_export (_export is
a reserved word under VC++). Add yucky function prototype function pointer
casts. Sanitise the included files in crypto/x509v3.
Also changed ssleay.exe target to openssl.exe
Ben Laurie [Sun, 21 Feb 1999 21:58:59 +0000 (21:58 +0000)]
More stuff for new TLS ciphersuites.