Lutz Jänicke
05ebb1e7cf
Release 0.9.6e.
...
Submitted by:
Reviewed by:
PR:
2002-07-30 10:34:35 +00:00
Lutz Jänicke
bb41724483
OpenSSL Security Advisory [30 July 2002]
...
Changes marked "(CHATS)" were sponsored by the Defense Advanced
Research Projects Agency (DARPA) and Air Force Research Laboratory,
Air Force Materiel Command, USAF, under agreement number
F30602-01-2-0537.
Submitted by:
Reviewed by:
PR:
2002-07-30 10:19:01 +00:00
Lutz Jänicke
d12eb7b024
"make update"
...
Submitted by:
Reviewed by:
PR:
2002-07-30 09:32:45 +00:00
Bodo Möller
693dc88fc6
mention SSL_do_handshake()
2002-07-29 12:34:47 +00:00
Bodo Möller
c3fa44cb17
typo etc.
2002-07-25 11:17:01 +00:00
Bodo Möller
fc288e5740
more detailed instructions for export from US
2002-07-25 11:16:05 +00:00
Bodo Möller
e6db99a4ab
BIS URL really spells 'Notify' as 'Nofify'
2002-07-25 11:01:22 +00:00
Bodo Möller
99078a3e6f
bxa => bis
2002-07-25 11:00:19 +00:00
Richard Levitte
8792704cf2
Don't clobber loop variable.
...
PR: 159
2002-07-24 14:42:05 +00:00
Lutz Jänicke
5787727f5d
HP-UX shared libraries must be +x and should be -w. It doesn't hurt on
...
other platforms.
Submitted by:
Reviewed by:
PR: 134
2002-07-19 16:33:26 +00:00
Bodo Möller
b5b19ae0bd
'SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION' does not belong here,
...
it's 0.9.7 only
2002-07-19 12:37:30 +00:00
Bodo Möller
1802b96a42
update
2002-07-19 12:33:41 +00:00
Lutz Jänicke
165d5907c8
The behaviour is undefined when calling SSL_write() with num=0.
...
Submitted by:
Reviewed by:
PR: 141
2002-07-19 11:54:37 +00:00
Lutz Jänicke
61bed53665
Manual page for SSL_do_handshake().
...
Submitted by: Martin Sjögren <martin@strakt.com >
PR: 137
2002-07-19 11:07:53 +00:00
cvs2svn
124da0e580
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2002-07-19 11:05:52 +00:00
Lutz Jänicke
02b7ec88bb
Manual page for SSL_do_handshake().
...
Submitted by: Martin Sjögren <martin@strakt.com >
PR: 137
2002-07-19 11:05:50 +00:00
Geoff Thorpe
abcce97a97
this is a non-ENGINE version of the clarifications made to the other CVS
...
branches.
PR: 86
2002-07-18 22:24:25 +00:00
Geoff Thorpe
0af9a89cef
This documentation change was being written at the same time as Richard's
...
changes. So I'm committing this version to overwrite his changes for now,
and he can always take his turn to overwrite my words if he wants :-)
PR: 86
2002-07-18 20:59:22 +00:00
Richard Levitte
db802c60e3
Explain why RSA_check_key() doesn't work with hard keys.
...
PR: 86
2002-07-18 19:10:57 +00:00
Richard Levitte
503f3b1a21
Add history for documented new functions.
...
PR: 59
2002-07-18 18:54:46 +00:00
Richard Levitte
0ff3250f05
Allow subjects with more than 255 characters to be properly printed.
...
PR: 147
2002-07-18 17:59:27 +00:00
Richard Levitte
402bcde847
Allow subjects with more than 255 characters to be properly printed.
...
PR: 147
2002-07-18 17:59:21 +00:00
Richard Levitte
ec9ea6a3c8
Further enhance assembler support on Cygwin and DJGPP.
...
Make pod2mantest useable on DOS-based systems.
Part of PR 75, the rest is still under investigation.
2002-07-18 12:37:59 +00:00
Bodo Möller
7e6617611f
Fix bug introduced with revision 1.95 when this filed was modified to
...
use the new X509_CRL_set_issuer_name() function:
The CRL issuer should be X509_get_subject_name(x509), not
X509_get_issuer_name(x509).
Submitted by: Juergen Lesny <lesnyj@informatik.tu-muenchen.de >
typo
2002-07-18 11:23:50 +00:00
Bodo Möller
f0a3f16691
typo
2002-07-18 11:15:52 +00:00
Richard Levitte
c34a865f98
Reverse the change with the following log, it needs further investigation:
...
Make S/MIME output conform with the mail and MIME standards.
PR: 151
2002-07-18 10:39:34 +00:00
Richard Levitte
ca6dde5d3d
Reverse the change with the following log, it needs further investigation:
...
Make S/MIME output conform with the mail and MIME standards.
PR: 151
2002-07-18 10:39:20 +00:00
Richard Levitte
4f27f6be73
Make S/MIME output conform with the mail and MIME standards.
...
PR: 151
2002-07-18 08:47:47 +00:00
Richard Levitte
8e6cbcd7c0
Make S/MIME output conform with the mail and MIME standards.
...
PR: 151
2002-07-18 08:47:33 +00:00
Richard Levitte
9335a5f7c0
Unixware doesn't have strings.h, so we need to declare strcasecmp()
...
differently.
Unixware 2 needs to link with libresolv.
PR: 148
2002-07-18 07:47:30 +00:00
Richard Levitte
32bf74e30e
OPENSSL_SYS_WIN32 is important so util/mkdef.pl can detect it
2002-07-18 06:34:34 +00:00
Richard Levitte
4d088fcede
Make mkdir failsafe in case the directories are already present
2002-07-17 13:33:06 +00:00
Richard Levitte
6643f275e2
Make mkdir failsafe in case the directories are already present
2002-07-17 13:33:02 +00:00
Richard Levitte
cd4c36adb8
Add support for shared libraries with OS/2.
...
PR: 124
2002-07-17 13:27:43 +00:00
Richard Levitte
5fe5996867
Add a few FAQ entries for the various ways building OpenSSL on MacOS X
...
can fail, and point at the text in the PROBLEMS file
2002-07-17 11:29:26 +00:00
Richard Levitte
311e209931
Add a few FAQ entries for the various ways building OpenSSL on MacOS X
...
can fail, and point at the text in the PROBLEMS file
2002-07-17 11:29:15 +00:00
Richard Levitte
fe5eb6707f
If OpenSSL is built with shared library support on MacOS X,
...
everything works fine. Note: this is only true for 0.9.7 and on
2002-07-17 11:16:22 +00:00
Richard Levitte
f5db08e57a
On MacOS X, the shared library editor uses DYLD_LIBRARY_PATH
2002-07-17 11:09:44 +00:00
Richard Levitte
8f56fcdfb0
On MacOS X, you're not allowed to have common objects in shared libraries
2002-07-17 08:20:40 +00:00
Richard Levitte
8cfdb960f0
On MacOS X, you're not allowed to have common objects in shared libraries
2002-07-17 08:20:27 +00:00
Richard Levitte
4d4d588fa1
Add the usually recommended solution to the linking problem entry for MacOS X
2002-07-17 07:48:44 +00:00
Richard Levitte
ebccb429de
Add the usually recommended solution to the linking problem entry for MacOS X
2002-07-17 07:48:39 +00:00
Richard Levitte
7dbed652fc
We had some experimental options in the Darwin entries. They are no longer needed
2002-07-16 11:07:42 +00:00
Richard Levitte
156e746981
The default C compiler on MacOS X doesn't like empty object files
2002-07-16 10:46:04 +00:00
Richard Levitte
6789b41d86
The default C compiler on MacOS X doesn't like empty object files
2002-07-16 10:46:00 +00:00
Richard Levitte
79587521ae
Add the new PROBLEMS section from HEAD
2002-07-16 10:39:37 +00:00
cvs2svn
aa131804c5
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2002-07-16 10:20:07 +00:00
Richard Levitte
0487cb234c
Actually, the "bug" is really documented in the man-page for ld, so
...
it's really a misfeature according to the jargon file (4.0.0)
definition:
":misfeature: /mis-fee'chr/ or /mis'fee`chr/ /n./ A feature
that eventually causes lossage, possibly because it is not adequate
for a new situation that has evolved. Since it results from a
deliberate and properly implemented feature, a misfeature is not a
bug."
2002-07-16 10:20:06 +00:00
Richard Levitte
80e1495b99
There are problems on certain platforms, and possible answers on how to (temporarly) solve them.
2002-07-16 10:04:40 +00:00
Richard Levitte
041843e47e
For those wanting to build for several platforms with the same source
...
directory, making a separate directory tree with lots of symbolic links
seems to be the solution. Unfortunately, Configure doesn't take appropriate
steps to support this solution (as in removing a file that's going to be
rewritten). This change corrects that situation. Now I just have to
find all other places where there's lack of support for this.
2002-07-16 09:19:37 +00:00
Richard Levitte
c2aa4f2081
For those wanting to build for several platforms with the same source
...
directory, making a separate directory tree with lots of symbolic links
seems to be the solution. Unfortunatelt, Configure doesn't take appropriate
steps to support this solution (as in removing a file that's going to be
rewritten). This change corrects that situation. Now I just have to
find all other places where there's lack of support for this.
2002-07-16 08:53:32 +00:00
Richard Levitte
b23f50e67e
Some older code (never committed) wasn't converted to the new format.
...
Corrected.
2002-07-16 08:02:31 +00:00
Richard Levitte
7fe03ed3a3
Let's not forget the second -Wtraditional
2002-07-16 07:06:48 +00:00
Richard Levitte
9466fa6750
Using -Wtraditional took it a little far. After all, we expect ANSI C, so
...
we don't need to care about traditional compilers
2002-07-16 06:53:45 +00:00
Richard Levitte
cead7f36da
Set up the engine before doing anything random-related, since engine randomness
...
is only used for seeding and doing it in the wrong order will mean seeding
is done before the engine randomness is hooked in.
Notified by Frederic DONNAT <frederic.donnat@zencod.com >
2002-07-16 06:52:03 +00:00
Richard Levitte
cbecb3ac37
There's an ongoing project to bring some kind of path selection
...
mechanism to the ENGINE framework. This means there there are going
to be new functionality for the DSO part, and ultimately some way of
merging two file specifications together.
This commit places the merging code into the repository. It's
currently not used anywhere, and hasn't been tested at all. It may be
full of errors, including syntactical ones. Those will be fixed as
promptly as possible.
2002-07-15 15:35:40 +00:00
Bodo Möller
5dbd3efce7
Replace 'ecdsaparam' commandline utility by 'ecparam'
...
(the same keys can be used for ECC schemes other than ECDSA)
and add some new options.
Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS"
in 'PEM' format.
Fix ec_asn1.c (take into account the desired conversion form).
'make update'.
Submitted by: Nils Larsch
2002-07-14 16:54:31 +00:00
Lutz Jänicke
9a55e8263c
Rewording: some algorithms are also patented in Europe, so choose more
...
defensive phrases...
2002-07-12 15:27:35 +00:00
Lutz Jänicke
876811e2af
Rewording: some algorithms are also patented in Europe, so choose more
...
defensive phrases...
2002-07-12 15:26:37 +00:00
Richard Levitte
b57c98df7b
In UI_UTIL_read_pw(), we should look at the size parameter, not at BUFSIZ.
...
Submitted by Götz Babin-Ebell <babinebell@trustcenter.de >
2002-07-11 09:12:29 +00:00
Lutz Jänicke
dfa098012f
Discussion about Redhat's specialties for the FAQ.
...
Submitted by: John.Airey@rnib.org.uk
Reviewed by:
PR: 128
2002-07-10 19:49:47 +00:00
Lutz Jänicke
c4da6dd38a
Discussion about Redhat's specialties for the FAQ.
...
Submitted by: John.Airey@rnib.org.uk
Reviewed by:
PR: 128
2002-07-10 19:48:51 +00:00
Lutz Jänicke
b3994e15d6
Typos in links between manual pages
...
Submitted by: Richard.Koenning@fujitsu-siemens.com
Reviewed by:
PR: 129
2002-07-10 19:37:08 +00:00
Lutz Jänicke
2edcb4ac71
Typos in links between manual pages
...
Submitted by: Richard.Koenning@fujitsu-siemens.com
Reviewed by:
PR: 129
2002-07-10 19:35:54 +00:00
Lutz Jänicke
3406fae673
Sun's official statement with respect to /dev/random support.
...
Submitted by: Garrett Anderson garrett@dirsec.com
Reviewed by:
PR: 120
2002-07-10 17:53:04 +00:00
Lutz Jänicke
0c4d9b2fbc
Sun's official statement with respect to /dev/random support.
...
Submitted by: Garrett Anderson garrett@dirsec.com
Reviewed by:
PR: 120
2002-07-10 17:52:03 +00:00
Lutz Jänicke
e0299ff63b
Minor typos
...
Submitted by: jufi@nerdnet.de
Reviewed by:
PR: 138
2002-07-10 17:35:18 +00:00
Lutz Jänicke
5012158adf
Minor typos
...
Submitted by: jufi@nerdnet.de
Reviewed by:
PR: 138
2002-07-10 17:34:54 +00:00
Bodo Möller
5c9396e37c
remove obsolete comment
2002-07-10 08:39:05 +00:00
Lutz Jänicke
7b63c0fa8c
Reorder inclusion of header files:
...
des_old.h redefines crypt:
#define crypt(b,s)\
DES_crypt((b),(s))
This scheme leads to failure, if header files with the OS's true definition
of crypt() are processed _after_ des_old.h was processed. This is e.g. the
case on HP-UX with unistd.h.
As evp.h now again includes des.h (which includes des_old.h), this problem
only came up after this modification.
Solution: move header files (indirectly) including e_os.h before the header
files (indirectly) including evp.h.
Submitted by:
Reviewed by:
PR:
2002-07-10 07:01:54 +00:00
Lutz Jänicke
063a8905bf
Ciphers with NULL encryption were not properly handled because they were
...
not covered by the strength bit mask.
Submitted by:
Reviewed by:
PR: 130
2002-07-10 06:41:55 +00:00
Lutz Jänicke
d2cbe66ee1
Ciphers with NULL encryption were not properly handled because they were
...
not covered by the strength bit mask.
Submitted by:
Reviewed by:
PR: 130
2002-07-10 06:41:29 +00:00
Bodo Möller
7d0e1c1188
fix synopsis
...
Submitted by: Nils Larsch
2002-07-09 10:51:57 +00:00
Bodo Möller
cd7562091d
fix synopsis
...
Submitted by: Nils Larsch
2002-07-09 10:51:25 +00:00
Bodo Möller
d1d0be3cd2
emtpy fragments are not necessary for SSL_eNULL
...
(but noone uses it anyway)
fix t1_enc.c: use OPENSSL_NO_RC4, not NO_RC4
2002-07-09 08:49:09 +00:00
Bodo Möller
0ac51fcf0b
emtpy fragments are not necessary for SSL_eNULL
...
(but noone uses it anyway)
2002-07-09 08:48:03 +00:00
Geoff Thorpe
2c8ad4f1af
oops, there were other cases of "ENGINE_ID" to change too.
2002-07-08 15:16:10 +00:00
Geoff Thorpe
121dea3f85
Correct an error in the README.ENGINE file.
...
Submitted by: Jan Tschirschwitz <Jan.Tschirschwitz@cluster-labs.de >
2002-07-08 14:57:09 +00:00
Bodo Möller
ea4f109c99
AES cipher suites are now official (RFC3268)
2002-07-04 08:51:09 +00:00
Lutz Jänicke
7650934f21
README and INSTALL should contain information about the request tracker
...
(noted by Jonathan Louie <jlouie@recourse.com >).
2002-06-30 19:40:18 +00:00
Lutz Jänicke
01a9310b75
README and INSTALL should contain information about the request tracker
...
(noted by Jonathan Louie <jlouie@recourse.com >).
2002-06-30 19:39:41 +00:00
Richard Levitte
40c5cae24a
Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
2002-06-29 22:04:09 +00:00
Richard Levitte
cce9396dc9
opensslconf.h doesn't define what we want, e_os2.h does.
...
PR 123
2002-06-27 17:19:55 +00:00
Richard Levitte
e17af60f15
Try to avoid double declaration of ERR_load_PEM_strings().
...
PR 71
2002-06-27 17:06:52 +00:00
Richard Levitte
47f3eafb8d
Try to avoid double declaration of ERR_load_PEM_strings().
...
PR 71
2002-06-27 17:06:28 +00:00
Richard Levitte
53fc93dda6
A few changes to BC-32.pl didn't get properly applied.
...
This completes PR 123
2002-06-27 16:56:30 +00:00
Richard Levitte
17085b022c
Pass CFLAG to dependency makers, so non-standard system include paths are
...
handled properly.
Part of PR 75
2002-06-27 16:39:25 +00:00
Richard Levitte
4367eb8706
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
...
Part of PR 75
2002-06-27 16:32:04 +00:00
Richard Levitte
0a8a99785b
Update the information on Cygwin.
...
Part of PR 75
2002-06-27 16:29:46 +00:00
Richard Levitte
a9d96b98cb
Forgot to change the second $ENV{DJDIR} to /dev/env/DJDIR.
...
Part of PR 75
2002-06-27 16:28:04 +00:00
Richard Levitte
b2d4cea305
Apply the Borland Builder 5 changes that I forgot...
2002-06-27 15:55:44 +00:00
Richard Levitte
9b25ef8b2e
The new stuff is for Borland Bulider 5, so document it appropriately
2002-06-27 15:11:32 +00:00
Richard Levitte
ae689b6b27
The new stuff is for Borland Bulider 5, so document it appropriately
2002-06-27 15:10:57 +00:00
Richard Levitte
60d160da2d
Document the new way of building with Borland Builder.
...
This concludes the changes from PR 123
2002-06-27 15:07:27 +00:00
Richard Levitte
05086644c4
Use underscores instead of dashes in temporary file names.
...
This is due to weird Borland compilers.
Part of PR 123
2002-06-27 14:57:54 +00:00
Richard Levitte
fb96d9d90d
When compiling for Windows, make sure we have the windows definitions declared.
...
Part of PR 123
2002-06-27 14:55:52 +00:00
Richard Levitte
e2c07bce12
Use 32-bit sections instead of the default, 16-bit ones.
...
Part of PR 123
2002-06-27 14:54:48 +00:00
Richard Levitte
e1a32c1807
Use 32-bit sections instead of the default, 16-bit ones.
...
Part of PR 123
2002-06-27 14:54:34 +00:00
Richard Levitte
c678763f7d
have 'openssl pkcs7' exit with code 1 on error instead of 0.
...
PR: 119
2002-06-27 10:27:11 +00:00
Richard Levitte
5585f4eca4
have 'openssl pkcs7' exit with code 1 on error instead of 0.
...
PR: 119
2002-06-27 10:26:40 +00:00
Richard Levitte
5a52e7ecad
gcc requires -m64 to link 64-bit shared libraries on Solaris.
...
PR: 117
2002-06-27 10:20:39 +00:00
Richard Levitte
e8b4d05f61
gcc requires -m64 to link 64-bit shared libraries on Solaris.
...
PR: 117
2002-06-27 10:19:17 +00:00
Richard Levitte
d466e8eb5a
Use bg instead of bag as argument to macros, to avoid clashes with
...
structure field names.
PR: 112
2002-06-27 09:54:23 +00:00
Richard Levitte
0df748e7e2
Use bg instead of bag as argument to macros, to avoid clashes with
...
structure field names.
PR: 112
2002-06-27 09:54:07 +00:00
Richard Levitte
1fbcfbe693
There is no RSAREF any more, so do not ty to install it.
...
PR: 106
2002-06-27 09:18:45 +00:00
Richard Levitte
34ab17b669
The general debug target must specify that it doesn't use assembler routines.
...
PR: 105
2002-06-27 09:13:44 +00:00
Richard Levitte
4942ef6f0e
A number of includes were removed from evp.h some time ago. The reason
...
was that they weren't really needed any more for EVP itself. However,
it seems like soma applications (I know about OpenSSH, but there may
be more) used evp.h as the 'load all' header file, which makes sense
since we try our best to promote the use of EVP instead of the lower
level crypto algorithms. Therefore, I put the inclusions back so
the application authors don't get too shocked by all the errors they
would otherwise get.
Thanks to Theo de Raadt for making us aware of this.
2002-06-27 05:03:00 +00:00
Bodo Möller
2edfbc53d8
Make sure buffers are large enough even for weird parameters
...
Submitted by: Nils Larsch
2002-06-26 14:29:45 +00:00
Bodo Möller
9ae08a9c04
Make sure buffers are large enough even for weird parameters
...
Submitted by: Nils Larsch
2002-06-26 14:28:41 +00:00
Bodo Möller
76f8a1f51d
update an entry on EVP changes
2002-06-26 14:21:16 +00:00
Richard Levitte
ef42bf2a7e
For some reason, we need to return the full path to perl
2002-06-25 11:42:05 +00:00
Richard Levitte
9d358821e5
For some reason, we need to return the full path to perl
2002-06-25 11:40:49 +00:00
Geoff Thorpe
a6c6874a1a
Make sure any ENGINE control commands make local copies of string
...
pointers passed to them whenever necessary. Otherwise it is possible the
caller may have overwritten (or deallocated) the original string data
when a later ENGINE operation tries to use the stored values.
Submitted by: Götz Babin-Ebell <babinebell@trustcenter.de >
Reviewed by: Geoff Thorpe
PR: 98
2002-06-21 02:38:08 +00:00
Lutz Jänicke
a947f2d2b6
<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 20:49:27 +00:00
Lutz Jänicke
94e19e7111
HP-UX: shared libraries MUST be +x and SHOULD be -w.
2002-06-20 19:57:23 +00:00
Lutz Jänicke
c6c12d6301
HP-UX: shared libraries MUST be +x and SHOULD be -w.
2002-06-20 19:54:13 +00:00
Lutz Jänicke
180a8f8e2c
Fix path to find util/pod2man.pl from the execution directory.
...
Make sure to use the predefined PERL.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 19:51:40 +00:00
Lutz Jänicke
04677ce024
Fix path to find util/pod2man.pl from the execution directory.
...
Make sure to use the predefined PERL.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 19:49:39 +00:00
Geoff Thorpe
407adb5b17
This apparently fixes compilation on OSX that was failing in 0.9.7 betas.
...
Submitted by: Pieter Bowman <bowman@math.utah.edu >
2002-06-20 18:22:51 +00:00
Lutz Jänicke
da0616cd13
AIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
Reviewed by:
PR:
2002-06-20 17:32:04 +00:00
Lutz Jänicke
1c02ca537a
load_netscape_key is static.
2002-06-18 17:44:56 +00:00
Bodo Möller
3f2f3d4264
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
2002-06-18 09:36:02 +00:00
Bodo Möller
c4c2c61e8c
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
PR: 102
2002-06-18 09:35:43 +00:00
Bodo Möller
5f3d6f70f6
Implement handling of EC parameter seeds (new functions
...
EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()).
New functions ECPKParameters_print(), ECPKParameters_print_fp().
Submitted by: Nils Larsch
2002-06-18 08:38:59 +00:00
Bodo Möller
ece0bdf1fd
typo
2002-06-17 13:59:12 +00:00
Lutz Jänicke
97e4b1883e
beta2, not beta1
2002-06-16 18:20:28 +00:00
Lutz Jänicke
a2b38b3022
Roll out OpenSSL-0.9.7-beta2
2002-06-16 11:33:59 +00:00
Lutz Jänicke
06d4c6b176
Use -dumpversion to obtain gcc's version.
...
Submitted by: ross.alexander@uk.neceur.com , allenh@eecs.berkeley.edu
Reviewed by:
PR: 96
2002-06-16 10:32:14 +00:00
Lutz Jänicke
d51092f42b
Use -dumpversion to obtain gcc's version.
...
Submitted by: ross.alexander@uk.neceur.com , allenh@eecs.berkeley.edu
Reviewed by:
PR: 96
2002-06-16 10:31:17 +00:00
Lutz Jänicke
bdb6171334
OpenSSL_add_all_algorithms has been replaced by configuration dependent
...
functions and is redirected by macros. Switch it off now, possible removal
later.
2002-06-16 10:18:25 +00:00
Lutz Jänicke
132702460b
Initial support for hpux64-parisc-gcc
...
Submitted by: ross.alexander@uk.neceur.com
Reviewed by:
PR: 96
2002-06-14 20:28:17 +00:00
Lutz Jänicke
1d4547a43d
Initial support for hpux64-parisc-gcc
...
Submitted by: ross.alexander@uk.neceur.com
Reviewed by:
PR: 96
2002-06-14 20:15:18 +00:00
Lutz Jänicke
65ee74fbc7
Some more prototype fixes.
...
Use DECLARE macros in asn1* instead of direct declaration.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de >
Reviewed by:
PR: 89
2002-06-14 19:01:52 +00:00
Bodo Möller
c21506ba02
New option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
...
vulnerability workaround (included in SSL_OP_ALL).
PR: #90
2002-06-14 12:21:11 +00:00
Bodo Möller
32a76f2c75
New option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
...
vulnerability workaround (included in SSL_OP_ALL).
PR: #90
2002-06-14 12:19:34 +00:00
Richard Levitte
00f1628eac
make update (adapt libeay.num to the 0.9.7-stable branch)
2002-06-13 23:35:24 +00:00
Richard Levitte
578c1cdefa
make update
2002-06-13 21:57:57 +00:00
Richard Levitte
c69d103956
Tentatively add support for UWIN, a Unix-like environment on top of Windows.
...
PR: 62
2002-06-13 21:44:23 +00:00
Richard Levitte
c3347d0561
Add support for UWIN, a Unix-like environment on top of Windows.
...
PR: 62
2002-06-13 21:41:46 +00:00
Richard Levitte
1f5a2a4dde
Make sure that any dash in the prefix before the version number is removed.
...
PR: 96
2002-06-13 21:12:20 +00:00
Richard Levitte
d56f92ee78
Make sure that any dash in the prefix before the version number is removed.
...
PR: 96
2002-06-13 21:11:41 +00:00
Richard Levitte
d5492d9b47
Add support for DJGPP.
2002-06-13 20:44:49 +00:00
Richard Levitte
451dc18f10
Add support for DJGPP.
...
PR: 75
2002-06-13 20:42:35 +00:00
Richard Levitte
127dca46a0
Check for the executable $openssl, not just the file.
...
Part of PR: 75
2002-06-13 19:59:40 +00:00
Richard Levitte
e888074bb4
Parse directory using both slashes and backslashes as separators.
...
Do file copying in term of perl statements instead of using cp.
Part of PR: 75
2002-06-13 19:50:37 +00:00
Richard Levitte
1ef5026ef9
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
...
strictly necessary, so let's not do that.
2002-06-13 19:42:37 +00:00
Lutz Jänicke
40889b9cd3
Add missing prototypes.
...
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de >
PR: 89
2002-06-13 17:40:27 +00:00
Dr. Stephen Henson
99889b46c9
Fix ext_dat.h extension ordering.
...
Reinstate -reqout code.
Avoid coredump in ocsp if setup_verify
fails.
Fix typo in ocsp usage message.
2002-06-13 12:56:27 +00:00
Lutz Jänicke
82869b3c8d
Add OIDs for Secure Electronic Transactions (SET)
...
Submitted by: Vadim Fedukovich <vf@unity.net >
Reviewed by: Lutz Jaenicke
PR: 80
2002-06-13 11:52:56 +00:00
Lutz Jänicke
e8233e699b
Clarify formulation (proposed by Bodo Moeller).
2002-06-13 08:53:42 +00:00
Dr. Stephen Henson
04cc76660a
The new ASN1 code automatically allocates
...
structures for fields that are not OPTIONAL.
However in the AUTHORITY_INFO_ACCESS case
the 'location' field was set to NULL in
the old code.
So in 0.9.7+ we should free up the field before
overwriting it in v2i_AUTHORITY_INFO_ACCESS.
2002-06-13 00:43:27 +00:00
Lutz Jänicke
e1f7ea25d2
Make change uniqueIdentifier -> x500UniqueIdentifier clearly visible.
...
Submitted by:
Reviewed by:
PR: 82
2002-06-12 20:46:38 +00:00
Lutz Jänicke
2994181b1b
Correct wrong usage information.
...
PR: 95
2002-06-12 20:16:17 +00:00
Lutz Jänicke
8586df1efb
Correct wrong usage information.
...
PR: 95
2002-06-12 20:15:18 +00:00
Bodo Möller
b8e0e12399
typo
2002-06-12 14:19:01 +00:00
Bodo Möller
254ef80db1
simplify asn1_flag
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-06-12 14:01:17 +00:00
Lutz Jänicke
d993f3af33
Support building the distribution .tar file on platforms with limited
...
argument list length. This requires Gnu-tar. As we use the non-standard
"tardy" software anyway, it doesn't hurt too much to require Gnu-tar.
"make dist" will probably only be used by team-members anyway.
2002-06-12 12:28:06 +00:00
Lutz Jänicke
f9de8446a0
Support building the distribution .tar file on platforms with limited
...
argument list length. This requires Gnu-tar. As we use the non-standard
"tardy" software anyway, it doesn't hurt too much to require Gnu-tar.
"make dist" will probably only be used by team-members anyway.
2002-06-12 12:26:34 +00:00
Ben Laurie
d15711efc6
Handle read errors.
2002-06-11 12:41:37 +00:00
Ben Laurie
25ace3ed25
Fix warnings.
2002-06-11 12:03:51 +00:00
Bodo Möller
012c86ab74
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:41:18 +00:00
Bodo Möller
458c29175e
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:18:21 +00:00
Bodo Möller
8a5dbb0a2e
fix for 'make update'
2002-06-10 11:46:32 +00:00
Bodo Möller
1ffa78ec6c
fix for 'make update'
2002-06-10 11:42:04 +00:00
Bodo Möller
532203cdb0
remove unnecessary calls to EC_POINT_copy()
2002-06-10 11:02:55 +00:00
Lutz Jänicke
64e3974013
Make sure that flags are passed to "make" subprocesses.
2002-06-10 08:12:12 +00:00
Lutz Jänicke
870d3d5595
Make sure that flags are passed to "make" subprocesses.
2002-06-10 08:10:32 +00:00
Lutz Jänicke
c6f0c60427
Make sure that settings are passed back and forth when walking around
...
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.
2002-06-06 11:14:40 +00:00
Bodo Möller
c6c0e4cb32
fix memory leak
...
Submitted by: Nils Larsch
2002-06-06 10:33:05 +00:00
Lutz Jänicke
8f6f347848
For the main directory, Makefile.org is significant :-)
2002-06-06 10:21:04 +00:00
Lutz Jänicke
0f7b63c834
Make sure that settings are passed back and forth when walking around
...
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.
2002-06-06 10:16:59 +00:00
Lutz Jänicke
345731731a
New OID for X509 usage: pseudonym
...
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de >
Reviewed by: Lutz Jaenicke
PR: 83
2002-06-06 07:33:00 +00:00
Richard Levitte
b2c04539a1
Merge from 0.9.7-stable.
2002-06-06 07:22:33 +00:00
Richard Levitte
d13363af60
Make perl replacement for dirname, for system that lack the latter.
...
PR: 81
2002-06-05 14:10:59 +00:00
Richard Levitte
d23a74f71c
Make perl replacement for dirname, for system that lack the latter.
...
PR: 81
2002-06-05 14:09:53 +00:00
Richard Levitte
b6fc2386f0
It's not good to have a pointer point at something in an inner block.
...
PR: 66
2002-06-05 13:47:29 +00:00
Richard Levitte
12c853701e
It's not good to have a pointer point at something in an inner block.
...
PR: 66
2002-06-05 13:47:06 +00:00
Richard Levitte
d5353b5ffb
Unneeded cast removed
2002-06-05 13:12:55 +00:00
Richard Levitte
9f353dd662
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
...
PR: 77
2002-06-05 11:58:29 +00:00
Richard Levitte
549ce02729
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
...
PR: 77
2002-06-05 11:58:16 +00:00
Richard Levitte
ea2a6251b9
signedness warning corrected
2002-06-05 11:23:19 +00:00
Richard Levitte
b49053cae2
Documentation bug corrected.
...
PR: 70
2002-06-05 09:31:05 +00:00
Richard Levitte
89cac82066
Documentation bug corrected.
...
PR: 70
2002-06-05 09:29:33 +00:00
Richard Levitte
c8062c3a5e
Since there's no continuation, the ; can go as well :-)
2002-06-05 09:08:41 +00:00
Lutz Jänicke
05c08fc708
There is no continuation at this point.
2002-06-05 08:00:36 +00:00
Lutz Jänicke
0990a0851a
On some systems the default "perl" may still be perl4, use the correct
...
version determined by "config" instead.
2002-06-05 07:28:07 +00:00
Lutz Jänicke
fa7688a5b1
On some systems the default "perl" may still be perl4, use the correct
...
version determined by "config" instead.
2002-06-05 07:25:49 +00:00
Lutz Jänicke
094ed2dd19
The correct PERL interpreter is passed via commandline.
2002-06-05 07:07:50 +00:00
Lutz Jänicke
bb0db9c491
The correct PERL interpreter is passed via commandline.
2002-06-05 07:03:17 +00:00
Richard Levitte
d0f07ceeee
Addapt loadkeys.c to API changes
...
PR: 64
2002-06-05 05:21:19 +00:00
Richard Levitte
966a753997
Update the recognision of GCC version numbers to handle the prefix text
...
that GCC 3.1 adds to the --version output
2002-06-05 05:00:51 +00:00
Richard Levitte
68927d3670
Update the recognision of GCC version numbers to handle the prefix text
...
that GCC 3.1 adds to the --version output
2002-06-05 05:00:30 +00:00
Richard Levitte
ba6c905c93
make update
2002-06-04 22:33:28 +00:00
Richard Levitte
0f829bd111
make update (including adjusting libeay.num in HEAD to the changes in the
...
0.9.7-stable libeay.num
2002-06-04 22:32:44 +00:00
Lutz Jänicke
fa54157a11
Typo.
2002-06-04 20:44:58 +00:00
Lutz Jänicke
a5200a1b8f
Typo.
...
PR: 72
2002-06-04 20:43:10 +00:00
Richard Levitte
6631a7e7f1
use sstrsep() to get the proper type to aoti().
...
Remove unneeded cast in ustrsep().
PR: 69
2002-06-03 15:27:46 +00:00
Lutz Jänicke
010da5c015
0.9.7-beta1 is just being released.
2002-06-01 15:33:36 +00:00
Richard Levitte
fbb56e5b1d
Document the AES changes.
2002-05-31 13:16:10 +00:00
Richard Levitte
78055aa6a5
Add the AES test vectors from NIST document SP800-38A.
2002-05-31 13:13:43 +00:00
Richard Levitte
e6bd5e8a6d
Make it possible to give vectors only for decryption or encryption.
2002-05-31 13:12:49 +00:00
Richard Levitte
94f1b50c0f
For CFB and OFB modes, always create the encryption key.
2002-05-31 13:11:44 +00:00
Richard Levitte
bd54d55c1d
Declare the CFB and OFB modes for AES, and prepare for a declaration
...
of CTR mode.
2002-05-31 13:08:53 +00:00
Richard Levitte
09c70c3261
In CFB mode, the iv is always encrypted.
2002-05-31 13:07:39 +00:00
Richard Levitte
ea4df8ad62
Reformat the CFLAG string so it can be made part of a C string.
...
Incidently, this works pretty well on the command line as well.
PR: 52
2002-05-30 18:07:30 +00:00
Richard Levitte
1ed0c6621b
Reformat the CFLAG string so it can be made part of a C string.
...
Incidently, this works pretty well on the command line as well.
PR: 52
2002-05-30 18:06:35 +00:00
Richard Levitte
dbf50f36c4
Support the newly release gcc 3.1 on 64-bit Solaris. Not automatic.
...
PR: 57
2002-05-30 17:28:34 +00:00
Richard Levitte
5f8453587e
Support the newly release gcc 3.1 on 64-bit Solaris. Not automatic.
...
PR: 57
2002-05-30 17:28:16 +00:00
Richard Levitte
d49ceb3328
Support shared libraries properly on linux-sparcv[89].
...
PR: 60
2002-05-30 17:08:47 +00:00
Richard Levitte
d6e2d12c74
Support shared libraries properly on linux-sparcv[89].
...
PR: 60
2002-05-30 17:07:38 +00:00
Richard Levitte
305a1afcf7
a B< that wasn't properly ended.
2002-05-30 16:55:15 +00:00
Richard Levitte
d66c022a1f
Check the return values where memory allocation failures may happen.
...
PR: 49
2002-05-30 16:49:00 +00:00
Richard Levitte
9cdf87f194
Check the return values where memory allocation failures may happen.
...
PR: 49
2002-05-30 16:47:45 +00:00
Richard Levitte
04c8e99b39
CAformat should not be used for CA key format.
2002-05-30 16:24:33 +00:00
Richard Levitte
a81e9d3dc4
CAformat should not be used for CA key format.
2002-05-30 16:24:18 +00:00
Richard Levitte
6b7e0a9987
Make sure that MS_STATIC isn't defined to 'static' under Win32.
...
PR: 51
2002-05-30 15:44:54 +00:00
Richard Levitte
09402efb93
pod2man.pl would only remove the first LF from the name.
2002-05-30 15:30:27 +00:00
Richard Levitte
8b57fb1208
pod2man.pl would only remove the first LF from the name.
2002-05-30 15:30:17 +00:00
Richard Levitte
2962243d19
Apparently, there are still chances we have to deal with buggy pod2man versions.
...
Deal with that by testing any available pod2man and using it if appropriate,
and falling back to util/pod2man.pl if none was found.
2002-05-30 15:19:43 +00:00
Richard Levitte
2619064e09
Apparently, there are still chances we have to deal with buggy pod2man versions.
...
Deal with that by testing any available pod2man and using it if appropriate,
and falling back to util/pod2man.pl if none was found.
2002-05-30 15:18:19 +00:00
Richard Levitte
dbdc5d14d3
Correct AES counter mode, which incorrectly incremented the counter before
...
using it.
PR: 56
2002-05-30 14:06:06 +00:00
Bodo Möller
6cbe638294
New functions EC_POINT_point2bn(), EC_POINT_bn2point(), EC_POINT_point2hex(), EC_POINT_hex2point()
...
Submitted by: Nils Larsch
2002-05-30 13:16:03 +00:00
Richard Levitte
3cda197ee3
Avoid freeing certain things twice.
...
PR: 43
2002-05-30 12:51:16 +00:00
Richard Levitte
c019099cb6
Correct darwin shared library support.
...
PR: 39
2002-05-30 12:17:03 +00:00
Richard Levitte
07c08ed42c
Correct darwin shared library support.
...
PR: 39
2002-05-30 12:16:33 +00:00
Richard Levitte
17b226a672
Some shlib extensions were in the wrong field
2002-05-30 10:49:52 +00:00
Richard Levitte
043e8ec568
Some shlib extensions were in the wrong field
2002-05-30 10:47:36 +00:00
Richard Levitte
e57a8c732b
Our copy of pod2man.pl is old and comparatively broken, so lets remove it.
...
PR: 30
2002-05-30 10:18:32 +00:00
Richard Levitte
f33ca23e2f
Our copy of pod2man.pl is old and comparatively broken, so lets remove it.
...
PR: 30
2002-05-30 10:18:13 +00:00
Richard Levitte
6d79659dd7
Add more warnings for my debug targets.
2002-05-30 09:40:46 +00:00
Richard Levitte
da0bab4c0c
Remove the duplicate description of -out.
...
PR: 28
2002-05-30 06:24:41 +00:00
Richard Levitte
c56fb0f1a3
Remove the duplicate description of -out.
...
PR: 28
2002-05-30 06:24:35 +00:00
Dr. Stephen Henson
08241a5814
Make i2c_ASN1_BIT_STRING return the correct length.
2002-05-29 23:14:01 +00:00
Dr. Stephen Henson
9b652e84a8
Make i2c_ASN1_BIT_STRING return the correct length.
2002-05-29 23:13:16 +00:00
Richard Levitte
3d27b1fa85
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
...
PR: 58, submitted by andrew@cis.uoguelph.ca
2002-05-29 21:00:08 +00:00
Richard Levitte
b91c29147b
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
...
PR: 58, submitted by andrew@cis.uoguelph.ca
2002-05-29 20:55:25 +00:00
Richard Levitte
6298bf9073
There is a chance that the input string is larger than size, and on VMS,
...
this wasn't checked and could possibly be exploitable (slim chance, but still)
2002-05-29 08:31:39 +00:00
Richard Levitte
1af4d83565
There is a chance that the input string is larger than size, and on VMS,
...
this wasn't checked and could possibly be exploitable (slim chance, but still)
2002-05-29 08:31:30 +00:00
Lutz Jänicke
9a26adf598
Remove item listed twice <kromJx@crosswinds.net>.
2002-05-28 17:48:54 +00:00
Lutz Jänicke
c1febe86d1
Remove item listed twice <kromJx@crosswinds.net>.
2002-05-28 17:47:17 +00:00
Ulf Möller
64ad04eb2d
Cygnus correction. (I thought I had tested that...)
2002-05-27 19:42:30 +00:00
Bodo Möller
349b293353
fix Cygwin (remove extra colons)
2002-05-24 20:39:31 +00:00
Ulf Möller
fd91256316
Use assembler implementations with Cygwin.
...
This also fixes the bn_sub_part_word problem.
2002-05-24 20:24:38 +00:00
Richard Levitte
6c53759a50
Recover from errors
2002-05-23 23:33:22 +00:00
Richard Levitte
a9a025d08c
Recover from errors
2002-05-23 23:31:22 +00:00
Richard Levitte
8c20ab7994
Avoid loops when linking doesn't work
2002-05-23 15:27:29 +00:00
Richard Levitte
b605e3ada3
make update
2002-05-23 13:52:57 +00:00
Richard Levitte
02cbedc387
Make sure short aliases are used where required.
2002-05-23 13:52:36 +00:00
Richard Levitte
e5d814d040
Define a short alias for another long EC symbol.
2002-05-23 13:34:38 +00:00
Richard Levitte
b09f4fb271
Make sure ECDSA is built and tested on VMS.
...
Avoid loops if linking an application fails.
2002-05-23 13:33:55 +00:00
Richard Levitte
1f4eada3b4
Make sure ECDSA is built and tested on VMS.
2002-05-23 13:33:08 +00:00
Richard Levitte
b935754cb0
Allow the use of the TCP/IP stack keyword TCPIP and NONE
2002-05-22 11:37:20 +00:00
Richard Levitte
396bc53593
Use OPENSSL_SYS_VMS instead of just VMS
2002-05-22 11:35:45 +00:00
Bodo Möller
7711de24f9
accept NULL in 'free' functions
2002-05-21 08:59:57 +00:00
Dr. Stephen Henson
eee6c81af8
Reorganise -subj option code, fix buffer overrun.
2002-05-19 16:31:10 +00:00
Dr. Stephen Henson
b89670ef0e
Fix Mingw32 asm build: use the Unix
...
bignum assembly method of bn-586.pl
and co-586.pl which (for some reason)
VC++ doesn't use.
2002-05-19 12:03:05 +00:00
Dr. Stephen Henson
0fccb00b5b
Add missing EVP_CIPHER_CTX_init call.
2002-05-18 23:43:10 +00:00
Lutz Jänicke
72da660ddb
Fix incorrect =over 4 location.
...
Submitted by: David Waitzman <djw@bbn.com >
Reviewed by: Lutz Jaenicke
PR: [openssl.org #38 ]
2002-05-16 17:45:37 +00:00
Bodo Möller
a9950dfb67
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:55:56 +00:00
Bodo Möller
46ffee4792
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:51:18 +00:00
Lutz Jänicke
c0a953650b
Use the indirect way to the actual request tracker, so that people
...
also are informed about the credentials required for guest access
and the operation instructions.
2002-05-16 10:01:53 +00:00
Bodo Möller
0424fe1a8f
update
2002-05-16 09:28:09 +00:00
Dr. Stephen Henson
544a2aea4b
Zero cipher_data in EVP_CIPHER_CTX_cleanup
...
Add cleanup calls to evp_test.c
Allow reuse of cipher contexts by removing
automatic cleanup in EVP_*Final().
2002-05-15 18:49:25 +00:00
Bodo Möller
60e5f36d27
make b_print.c consistent with the rest of OpenSSL:
...
disable assert() except for debug builds
2002-05-14 19:40:58 +00:00
Bodo Möller
a385a1aef0
make b_print.c consistent with the rest of OpenSSL:
...
disable assert() except for debug builds
2002-05-14 19:04:54 +00:00
Lutz Jänicke
2469361c0f
Add missing '"'
...
Submitted by: Boyd Gerber <gerberb@zenez.com >
2002-05-12 20:37:44 +00:00
Lutz Jänicke
1126740ddd
Fix targets sco5 and svr5 (shared). Boyd Gerber <gerberb@zenez.com>.
2002-05-12 20:36:19 +00:00
Lutz Jänicke
6fa865a325
Recognize PPC64 target.
...
Submitted by:
Reviewed by:
PR: 26
2002-05-12 19:45:51 +00:00
Lutz Jänicke
fa9647d62f
Recognize PPC64 target.
...
Submitted by:
Reviewed by:
PR: 26
2002-05-12 19:45:02 +00:00
Dr. Stephen Henson
e9ba69631b
EVP_SealFinal should return a value.
2002-05-11 17:37:08 +00:00
Ulf Möller
d80a8d1919
values were reset for no reason.
2002-05-11 09:15:42 +00:00
Ulf Möller
d0ff2a237b
updated Mingw32 instructions.
2002-05-11 09:14:40 +00:00
Dr. Stephen Henson
6e5dd63c77
Add config entry debug-steve-linux-pseudo64. This sets the
...
SIXTY_FOUR bignum library option to use 64 bit operations
on the 32 bit linux platform.
This is very inefficient but it can be used to test some
of the 64 bit logic on a 32 bit platform.
2002-05-10 23:00:43 +00:00
Dr. Stephen Henson
dc014d43af
Fallback to normal multiply if n2 == 8 and dna or dnb is not zero
...
in bn_mul_recursive.
This is (hopefully) what was triggering bignum errors on 64 bit
platforms and causing the BN_mod_mul test to fail.
2002-05-10 22:18:13 +00:00
Dr. Stephen Henson
2f9cf160e4
Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.
2002-05-10 22:07:37 +00:00
Richard Levitte
336c35dc9e
Updating status for 0.9.6d
2002-05-09 23:54:02 +00:00
Richard Levitte
5981eee041
Updating status for 0.9.6d
2002-05-09 23:53:01 +00:00
Richard Levitte
72b5215645
Synchronise the FAQ
2002-05-09 23:41:40 +00:00
Richard Levitte
be730546c8
Add space for changes in 0.9.6e.
2002-05-09 23:02:13 +00:00
Richard Levitte
daab6e86f4
Now that tagging has been done, let the version go on to 0.9.6e-dev.
2002-05-09 22:59:00 +00:00
Richard Levitte
5317543ada
About to release 0.9.6d, so set all versoin numbers right.
...
The tag will be OpenSSL_0_9_6d.
2002-05-09 22:40:31 +00:00
Richard Levitte
38d3544867
make update
2002-05-09 21:16:19 +00:00
Richard Levitte
9811a7406c
Make the huge buffer smaller, so the size becomes reasonable for small-stack environments.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 20:14:17 +00:00
Richard Levitte
06bed64317
Make the huge buffer smaller, so the size becomes reasonable for small-stack environments.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 20:14:00 +00:00
Richard Levitte
c559759265
One place where VMS wasn't changed to OPENSSL_SYS_VMS...
2002-05-09 18:27:06 +00:00
Richard Levitte
2d4ce88b11
Move an assert() to avoid core dumps when a static buffer hasn't been given.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 18:19:35 +00:00
Richard Levitte
b4000e8ad8
Move an assert() to avoid core dumps when a static buffer hasn't been given.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 18:19:21 +00:00
Richard Levitte
2cbe7e26c0
Backport the semicolon fix from the 0.9.7 and 0.9.8-dev branches
2002-05-08 15:50:48 +00:00
Richard Levitte
21d5ed98d5
Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.
...
Notified by Stella Power <snpower@maths.tcd.ie >.
PR: 24
2002-05-08 15:20:38 +00:00
Richard Levitte
a6c4ee6d79
Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.
...
Notified by Stella Power <snpower@maths.tcd.ie >.
PR: 24
2002-05-08 15:20:12 +00:00
Richard Levitte
3f8c72ce77
Generate an error if rewinding wasn't possible.
...
Notified by Ken Hirsch <kenhirsch@myself.com >.
PR: 23
2002-05-08 15:13:35 +00:00
Richard Levitte
e9a182fa30
Generate an error if rewinding wasn't possible.
...
Notified by Ken Hirsch <kenhirsch@myself.com >.
PR: 23
2002-05-08 15:12:59 +00:00
Bodo Möller
b6db386ffd
Change internals of the EC library so that the functions
...
EC_GROUP_{set_generator,get_generator,get_order,get_cofactor} are
implemented directly in crypto/ec/ec_lib.c and not dispatched to
methods.
Also fix EC_GROUP_copy to copy the NID.
2002-05-08 11:54:24 +00:00
Lutz Jänicke
2c975b501d
Add missing ";" after fi
...
Submitted by: bryanh@giraffe-data.com
Reviewed by:
PR: [openssl.org #18 ]
2002-05-07 15:35:48 +00:00
Bodo Möller
279fe3b1c5
in SignerInfo, use ecdsa-with-SHA1 OID for ECDSA (not ecPublicKey)
...
Submitted by: Nils Larsch
2002-05-07 15:14:12 +00:00
Bodo Möller
98a9092af1
Fix ciphersuite list to enforce low priority for RC4.
2002-05-07 08:36:26 +00:00
Bodo Möller
87108f5af9
ensure that, for each strength, RC4 ciphers have least preference
...
in the default ciphersuite list
2002-05-07 07:59:35 +00:00
Bodo Möller
f257d984b7
refer to latest draft for AES ciphersuites
2002-05-07 07:55:36 +00:00
Bodo Möller
b889d6a8e8
fix warning
2002-05-06 10:44:59 +00:00
Bodo Möller
35fbadb322
fix warning
2002-05-06 10:42:56 +00:00
Bodo Möller
42e453201d
update
2002-05-05 23:48:29 +00:00
Bodo Möller
47234cd3d2
update
2002-05-05 23:47:46 +00:00
Bodo Möller
2c8d0dccfc
improve wNAF generation
2002-05-05 23:45:09 +00:00
Bodo Möller
a4f576a378
disable AES ciphersuites unless explicitly requested
2002-05-05 23:44:27 +00:00
Bodo Möller
ea9e248cde
fix casts
2002-05-05 23:01:42 +00:00
Bodo Möller
3def5a010e
fix casts
2002-05-05 23:00:28 +00:00
Richard Levitte
3d24c18200
Make sure that date is run under the C locale, so dates are given in the
...
default format.
PR: 16
2002-05-02 08:06:03 +00:00
Richard Levitte
294bd1e2f3
Make sure that date is run under the C locale, so dates are given in the
...
default format.
PR: 16
2002-05-02 08:05:46 +00:00
Dr. Stephen Henson
64f1ae3868
Win32 VC++ warning fixes.
2002-05-02 01:52:18 +00:00
Dr. Stephen Henson
253ef2187c
Add apps_startup and bio_err init code to smime.c
2002-05-01 20:07:46 +00:00
Lutz Jänicke
c0455cbb18
Fix escaping when using the -subj option of "openssl req", document
...
'hidden' -nameopt support. (Robert Joop <joop@fokus.gmd.de >)
2002-04-30 12:08:18 +00:00
Lutz Jänicke
17e2c77a77
Add information about -nameopt option for x509.
2002-04-29 16:01:41 +00:00
Bodo Möller
b52f3818f4
undo nonsense patch (r *is* signed or we have signedness mismatches elsewhere)
2002-04-29 11:03:06 +00:00
Richard Levitte
9cf94f9ed3
Fix unsigned vs. signed clash
2002-04-29 10:30:05 +00:00
Richard Levitte
cc12975514
Fix unsigned vs. signed clash
2002-04-29 10:29:38 +00:00
Richard Levitte
9738f395c6
Synchronise with 0.9.7-stable.
2002-04-29 10:28:29 +00:00
Richard Levitte
d4294c8984
Synchronise with 0.9.7-stable.
2002-04-29 10:19:19 +00:00
Bodo Möller
c15bf8f609
Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
...
encoded as NULL) with id-dsa-with-sha1.
Submitted by: Nils Larsch
2002-04-26 08:30:31 +00:00
Bodo Möller
8df61b5011
Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
...
encoded as NULL) with id-dsa-with-sha1.
Submitted by: Nils Larsch
2002-04-26 08:28:34 +00:00
Lutz Jänicke
f1e6643751
Add generationQualifier OID (proposed by Fiel Cabral).
2002-04-25 18:03:13 +00:00
Richard Levitte
6991bf196c
Potential memory leak removed. Notified by <threaded@totalise.co.uk>
2002-04-25 10:11:21 +00:00
Richard Levitte
6b42cad215
Potential memory leak removed. Notified by <threaded@totalise.co.uk>
2002-04-25 10:10:51 +00:00
Bodo Möller
822a4c1bdb
new items for 0.9.7
2002-04-25 07:52:07 +00:00
Bodo Möller
4a34577ec8
oops
2002-04-25 07:46:45 +00:00
Bodo Möller
a5868b3fe2
oops
2002-04-25 07:46:35 +00:00
Bodo Möller
6e7af77268
AlgorithmIdentifier bugs
2002-04-25 06:29:38 +00:00
Bodo Möller
4edfacb983
AlgorithmIdentifier bugs
2002-04-25 06:29:27 +00:00
Bodo Möller
c6efe6f59e
fix usage (no 'key')
2002-04-23 13:56:14 +00:00
Bodo Möller
5c5a2cd273
fix usage (no 'key')
2002-04-23 13:54:54 +00:00
Richard Levitte
1c4dc1517d
Uhmmm, if we use && after having tested for the presence of the certificate,
...
we just *might* stand a certain chance of actually getting it written
to file...
2002-04-23 13:15:22 +00:00
Richard Levitte
35c2b3a9ac
Uhmmm, if we use && after having tested for the presence of the certificate,
...
we just *might* stand a certain chance of actually getting it written
to file...
2002-04-23 13:15:08 +00:00
Lutz Jänicke
af9675e75a
ERR_file_name is no longer being used.
2002-04-22 13:54:50 +00:00
Lutz Jänicke
07a0226c28
Add cygwin build script (Corinna Vinschen <vinschen@redhat.com>).
2002-04-21 17:55:55 +00:00
cvs2svn
2ced9dc822
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2002-04-21 17:54:05 +00:00
Lutz Jänicke
8b2f9cdfad
Add cygwin build script (Corinna Vinschen <vinschen@redhat.com>).
2002-04-21 17:54:03 +00:00
Lutz Jänicke
9a12193611
Leave out problematic assembler part for sco5-gcc-shared target
...
(Tim Rice <tim@multitalents.net >).
2002-04-21 17:42:02 +00:00
Richard Levitte
01682a8b3c
Make sure ec and ecdsa is properly handled in Windows.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:56 +00:00
Richard Levitte
8b07f23c30
Signedness mismatch.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:19 +00:00
Richard Levitte
45932ad508
The callback must have (void) as argument list.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:42 +00:00
Richard Levitte
ce94682ce1
No point constifying an int.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:01 +00:00
Richard Levitte
2d7ab7e9ea
Do not free p if it hasn't been used yet.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:19:20 +00:00
Richard Levitte
ea599390c6
Make sure the opened directory is closed on exit.
...
Notified by Lorinczy Zsigmond <lzsiga@mail.ahiv.hu >
2002-04-18 16:20:32 +00:00
Richard Levitte
6176df94ed
Make sure the opened directory is closed on exit.
...
Notified by Lorinczy Zsigmond <lzsiga@mail.ahiv.hu >
2002-04-18 16:20:13 +00:00
Lutz Jänicke
a8f8788248
Missing "Configure" entry (Jean-Marc Desperrier <jean-marc.desperrier@certplus.com>).
2002-04-18 12:47:50 +00:00
Lutz Jänicke
d5d007abe3
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
2002-04-18 11:54:06 +00:00
Lutz Jänicke
0a0102b0fd
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
2002-04-18 11:52:28 +00:00
Bodo Möller
1532a839fc
synchronize with engine branch (some changes were done only
...
there for no particular reason)
2002-04-18 09:27:14 +00:00
Lutz Jänicke
d77ee3b75c
Handle headings uniformly to allow automatic processing.
2002-04-18 08:18:41 +00:00
Lutz Jänicke
151457ab16
Handle headings uniformly to allow automatic processing.
2002-04-18 08:11:31 +00:00
Richard Levitte
c387a61fdd
0.9.6d-beta1 is about to be built. Change version numbers and strings
...
accordingly.
2002-04-17 12:28:37 +00:00
Bodo Möller
dde3e83129
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:35:52 +00:00
Bodo Möller
8f182fdc69
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:31:20 +00:00
Bodo Möller
1064acafc4
check return values
...
Submitted by: Nils Larsch
2002-04-17 09:31:34 +00:00
Bodo Möller
5d2175eddb
check return values
...
Submitted by: Nils Larsch
2002-04-17 09:29:54 +00:00
Bodo Möller
ff8e412ceb
get rid of some assignments that have become obsolete
2002-04-15 15:29:43 +00:00
Lutz Jänicke
e9cbcb1d98
Document OID changes.
2002-04-15 14:18:30 +00:00
Lutz Jänicke
ea7fc0311c
Use the "mail" short name according to RFC2798 (Michael Bell
...
<michael.bell@rz.hu-berlin.de >).
2002-04-15 13:30:41 +00:00
Lutz Jänicke
30911232c1
Some more OID enhancements.
2002-04-15 10:41:38 +00:00
Lutz Jänicke
2940a1298e
Fix CRLF problem in BASE64 decode.
2002-04-15 09:55:40 +00:00
Lutz Jänicke
7680669c33
Fix CRLF problem in BASE64 decode.
2002-04-15 09:51:10 +00:00
Bodo Möller
f916052eab
remove disabled code
2002-04-14 13:28:17 +00:00
Bodo Möller
2fb3f002d0
fix length field we create when converting SSL 2.0 format into SSL 3.0/TLS 1.0 format
...
(the bug was introduced with message callback support)
2002-04-14 13:05:15 +00:00
Bodo Möller
a6ec2d58ba
improve binary compatibility
2002-04-14 08:25:41 +00:00
Bodo Möller
82c77c1b32
Implement known-IV countermeasure.
...
Fix length checks in ssl3_get_client_hello().
Use s->s3->in_read_app_data differently to fix ssl3_read_internal().
2002-04-13 22:49:28 +00:00
Bodo Möller
82b0bf0b87
Implement known-IV countermeasure.
...
Fix length checks in ssl3_get_client_hello().
Use s->s3->in_read_app_data differently to fix ssl3_read_internal().
2002-04-13 22:47:20 +00:00
Richard Levitte
3a7cef3e76
Avoid emacs backup files when making a snapshot
2002-04-13 12:28:44 +00:00
Ulf Möller
ea72ff2df7
error reported by Karsten Braaten
2002-04-13 10:00:01 +00:00
Ulf Möller
592c0e0273
another error discovered by Karsten Braaten. The number was not even
...
prime!
2002-04-13 09:58:50 +00:00
Bodo Möller
08b977b5a5
looks like a typo
2002-04-12 13:52:40 +00:00
Bodo Möller
85fb12d554
clean up and synchronize with 0.9.6-stable
2002-04-12 13:45:29 +00:00
Bodo Möller
4e5b835c6a
synchronize with OpenSSL-engine-0_9_6-stable
2002-04-12 13:44:04 +00:00
Bodo Möller
b975183c41
ECDSA representation bugfixes
...
Submitted by: Nils Larsch
2002-04-12 08:57:01 +00:00
Richard Levitte
1171f28f97
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:14:51 +00:00
Richard Levitte
083100e2ab
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:13:58 +00:00
Richard Levitte
241d2ba1da
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:51:40 +00:00
Lutz Jänicke
5c04e56285
Synchronize with 0.9.7-stable
2002-04-11 18:45:15 +00:00
Lutz Jänicke
e4fb49775b
Synchronize with 0.9.7-stable.
2002-04-11 18:43:52 +00:00
Lutz Jänicke
381a146dc6
Synchronize with 0.9.7-stable branch
2002-04-10 19:52:40 +00:00
Lutz Jänicke
9bac8d91d9
Keep my own specially optimized HP-UX shared library building up to date.
2002-04-10 12:37:59 +00:00
Lutz Jänicke
b4a262832a
Keep my own specially optimized HP-UX shared library building up to date.
2002-04-10 12:35:45 +00:00
Bodo Möller
875e8fca2d
harmonize capitalization
2002-04-09 12:43:18 +00:00
Bodo Möller
6d498d478e
harmonize capitalization
2002-04-09 12:42:47 +00:00
Bodo Möller
d0561b5c2d
fix ECDSA handling
...
Submitted by: Nils Larsch
2002-04-09 12:01:21 +00:00
Bodo Möller
4f4b192402
add usage examples
2002-04-09 11:54:24 +00:00
Lutz Jänicke
0ae1661ba2
Apply OID fixes for elliptic curves as supplied by
...
Nils Larsch <nlarsch@compuserve.de >.
2002-04-08 15:49:53 +00:00
Ulf Möller
39ee29b02c
error reported by Karsten Braaten
2002-04-07 13:33:26 +00:00
Ulf Möller
4e9ef338fc
error reported by Karsten Braaten
2002-04-07 13:33:16 +00:00
Richard Levitte
d16e1131b4
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 20:22:48 +00:00
Richard Levitte
847b76dd0e
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 20:22:32 +00:00
Richard Levitte
a18894d159
make update (libeay.num has been edited to match 0.9.7-stable)
2002-04-06 19:16:12 +00:00
Richard Levitte
c901a0538b
make update
2002-04-06 19:08:51 +00:00
Richard Levitte
dfee50ecd9
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 19:00:50 +00:00
Richard Levitte
a5ee2b5232
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 18:59:43 +00:00
Richard Levitte
10189984f9
Oops, the system macro for VMS is OPENSSL_SYS_VMS, not VMS
2002-04-06 11:58:04 +00:00
Richard Levitte
d8425465a3
Recognise DEC C++ as equivalent to DEC C for the definitions of OPENSSL_EXTERN and OPENSSL_GLOBAL.
...
Submitted by Compaq.
2002-04-06 11:37:18 +00:00
Richard Levitte
f520a2a8c2
Recognise DEC C++ as equivalent to DEC C for the definitions of OPENSSL_EXTERN and OPENSSL_GLOBAL.
...
Submitted by Compaq.
2002-04-06 11:37:07 +00:00
Richard Levitte
1fc02dcf6a
Use recv() and send() for socket communication on VMS instead of read()
...
and write(). The reason is that read() and write() make additional record
level locking which causes hangs of Compaq Secure Web Server (Apache) with
SSL.
Submitted by Compaq.
2002-04-06 11:35:49 +00:00
Richard Levitte
78e7617324
Use recv() and send() for socket communication on VMS instead of read()
...
and write(). The reason is that read() and write() make additional record
level locking which causes hangs of Compaq Secure Web Server (Apache) with
SSL.
Submitted by Compaq.
2002-04-06 11:35:40 +00:00
Richard Levitte
56d490cd40
Don't define RSA-specifici variables when RSA isn't used.
2002-04-06 09:57:52 +00:00
Richard Levitte
9bd313b83d
Make shared libraries resolve global symbols within themselves first.
...
Currently only on GNUish linkers...
Submitted by Steven Bade <sbade@austin.ibm.com >
2002-04-06 09:42:31 +00:00
Richard Levitte
83d092f785
Make shared libraries resolve global symbols within themselves first.
...
Currently only on GNUish linkers...
Submitted by Steven Bade <sbade@austin.ibm.com >
2002-04-06 09:42:19 +00:00
Lutz Jänicke
50e4d01fa0
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
2002-04-04 17:56:57 +00:00
Lutz Jänicke
4825092bbe
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
2002-04-04 17:48:37 +00:00
Richard Levitte
bbd79bdf03
Forgot one of the casts
2002-04-03 15:01:28 +00:00
Richard Levitte
a096e9b719
Cast the pointers to the BIGNUM data to unsigned long *. This would be
...
harmful if we didn't also pass the exact number of bytes of that data
2002-04-03 14:47:38 +00:00
Richard Levitte
ddab25a90d
Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.
...
Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
2002-03-29 23:48:55 +00:00
Richard Levitte
4a579233b4
Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.
...
Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
2002-03-29 23:48:29 +00:00
Lutz Jänicke
ffbe98b763
Make short names of objects RFC2256-compliant.
2002-03-26 17:18:48 +00:00
Richard Levitte
d7a9bb0a2a
A forgotten file
2002-03-26 16:42:38 +00:00
Richard Levitte
0d81c69b8e
Add the possibility to enable olde des support, not just disable it, for future support. Redocument
2002-03-26 14:28:04 +00:00
Richard Levitte
401cd0af0f
Add the mapping of des_random_seed() for 0.9.6 compatibility.
...
Make sure DES_cblock is defined at all times (meaning one shouldn't include
openssl/des_old.h directly any more).
2002-03-26 13:59:22 +00:00
Richard Levitte
c7b41e67f0
Correct the mapping for des_read_pw()
2002-03-26 13:54:15 +00:00
Richard Levitte
003144a8e8
Make the change to strong keys in the string to key(s) functions experimental in the main trunk as well
2002-03-26 12:44:35 +00:00
Bodo Möller
af1cb47e65
fix warnings
...
Submitted by: Nils Larsch
2002-03-25 23:41:32 +00:00
Bodo Möller
e8e7fbdb16
fix memory leak
...
Submitted by: Nils Larsch
2002-03-25 23:18:11 +00:00
Bodo Möller
d5c21afd4b
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:15:21 +00:00
Lutz Jänicke
1afa967909
Fix typo (Craig Davison <cd@securityfocus.com>).
2002-03-25 17:12:24 +00:00
Lutz Jänicke
ca3bba36c4
Fix typo (Craig Davison <cd@securityfocus.com>).
2002-03-25 17:10:20 +00:00
Ben Laurie
a37d05fa56
Fix warning.
2002-03-25 12:53:25 +00:00
Bodo Möller
85b7b80434
fix conditational compilation for OPENSSL_NO_...
2002-03-22 11:02:13 +00:00
Richard Levitte
fe0f662310
Merge changes from 0.9.7-stable
2002-03-22 10:51:41 +00:00
Richard Levitte
90453438ff
Merge changes from 0.9.7-stable
2002-03-22 10:32:23 +00:00
Richard Levitte
2e63f3b733
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:49:46 +00:00
Richard Levitte
125cc35b59
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:42:57 +00:00
Lutz Jänicke
7e58aa7d71
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
2002-03-21 19:16:02 +00:00
Lutz Jänicke
b111c5b8ce
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
2002-03-21 19:14:56 +00:00
Lutz Jänicke
7228bfb439
Remove superflous (and buggy) statement <justin.fletcher@ntlworld.com>.
2002-03-21 19:11:19 +00:00
Lutz Jänicke
be3d90de02
Remove superflous (and buggy) statement <justin.fletcher@ntlworld.com>.
2002-03-21 19:08:35 +00:00
Bodo Möller
82652aaf17
fix DH_generate_parameters for general 'generator'
2002-03-20 16:04:04 +00:00
Bodo Möller
687f9d2b94
fix DH_generate_parameters for general 'generator'
2002-03-20 16:01:29 +00:00
Bodo Möller
17d6bb8158
New function EC_GROUP_check_discriminant().
...
Restructure implementation of EC_GROUP_check().
Submitted by: Nils Larsch
2002-03-20 10:18:07 +00:00
Lutz Jänicke
6bcba344b5
Map new X509 verification errors to alert codes (Tom Wu <tom@arcot.com>).
2002-03-19 16:47:09 +00:00
Lutz Jänicke
11c26ecf81
Map new X509 verification errors to alert codes (Tom Wu <tom@arcot.com>).
2002-03-19 16:42:09 +00:00
Bodo Möller
99d5b23023
Fix typo.
...
Submitted by: Nils Larsch
2002-03-19 09:51:31 +00:00
Dr. Stephen Henson
611ba3f4a1
Initialize ciph_ctx in kssl.c
2002-03-19 01:28:00 +00:00
Bodo Möller
af28dd6c75
Fix bugs and typos.
...
Add some WTLS curves.
New function EC_GROUP_check() (this will probably
be implemented differently soon).
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-03-18 13:10:45 +00:00
Bodo Möller
e79ec456be
fix #include position
...
Submitted by: Nils Larsch
2002-03-18 13:05:20 +00:00
Bodo Möller
6cebd2dd00
in INCLUDES, use '-I../..' so that we find "e_os.h"
2002-03-18 10:54:56 +00:00
Bodo Möller
b82a94ee26
use '-I../..' so that we find "e_os.h"
2002-03-18 10:53:01 +00:00
Dr. Stephen Henson
3e268d2717
Ensure EVP_CipherInit() uses the correct encode/decode parameter if
...
enc == -1
[Reported by Markus Friedl <markus@openbsd.org >]
Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
2002-03-16 23:20:05 +00:00
Bodo Möller
ba5541e1ad
Rename 'cray-t90-cc' into 'cray-j90'.
...
Add to 'config'.
2002-03-15 16:47:23 +00:00
Bodo Möller
c46acbacde
Rename 'cray-t90-cc' into 'cray-j90'.
...
Add to 'config'.
2002-03-15 16:46:41 +00:00
Bodo Möller
84b45fda86
oops -- undo previous commit, I'm still waiting for confirmation
...
from Weny Palm
2002-03-15 11:09:31 +00:00
Bodo Möller
7aacd4c458
fix ssl3_pending
2002-03-15 10:53:34 +00:00
Bodo Möller
304d90425f
fix ssl3_pending
2002-03-15 10:52:32 +00:00
Lutz Jänicke
e18ed57afd
Add missing strength entries.
2002-03-14 18:56:59 +00:00
Lutz Jänicke
bfaa8a89e1
Add missing strength entries.
2002-03-14 18:53:15 +00:00
Dr. Stephen Henson
de941e289e
Initialize cipher context in KRB5
...
("D. Russell" <russelld@aol.net >)
Allow HMAC functions to use an alternative ENGINE.
2002-03-14 18:22:23 +00:00
Bodo Möller
1d28453529
add OIDs for WAP/TLS curves
2002-03-14 13:18:57 +00:00
Bodo Möller
690ecff795
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
...
Fix dsaparam usage output.
Submitted by: Nils Larsch
2002-03-14 09:52:03 +00:00
Bodo Möller
ff9722c7f1
use BIO_nwrite() more properly to demonstrate the general idea of
...
BIO_nwrite0/BIO_nwrite (the previous code was OK for BIO pairs but not
in general)
2002-03-14 09:49:10 +00:00
Bodo Möller
234c73767d
use BIO_nwrite() more properly to demonstrate the general idea of
...
BIO_nwrite0/BIO_nwrite (the previous code was OK for BIO pairs but not
in general)
2002-03-14 09:48:54 +00:00
Bodo Möller
08f38d887e
we need e_os.h
2002-03-14 09:45:37 +00:00
Dr. Stephen Henson
497810cae7
Undo previous patch: avoid warnings by #undef'ing
...
duplicate definitions.
Suggested by "Kenneth R. Robinette" <support@securenetterm.com >
2002-03-13 13:59:38 +00:00
Dr. Stephen Henson
cbc9d9713d
Fix Kerberos warnings with VC++.
2002-03-12 19:37:18 +00:00
Dr. Stephen Henson
98fa4fe8c5
Fix ASN1 additions for KRB5
2002-03-12 13:32:35 +00:00
Bodo Möller
5798378a22
add a paragraph from 0.9.7-dev/0.9.8-dev
2002-03-12 12:22:08 +00:00
Dr. Stephen Henson
0b4c91c0fc
Fix various warnings when compiling with KRB5 code.
2002-03-12 02:59:37 +00:00
Bodo Möller
b9b43196e1
asm/mips3.o problems
2002-03-11 09:36:04 +00:00
Dr. Stephen Henson
bf6a9e66d6
Make ciphers and digests obtain an ENGINE functional reference
...
if impl is explicitly supplied.
2002-03-09 18:58:05 +00:00
Dr. Stephen Henson
0c372b94f7
Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
...
functional reference in all cases.
2002-03-09 18:25:03 +00:00
Dr. Stephen Henson
26e1237380
Fix the Win32_rename() function so it correctly
...
returns an error code. Use the same code in Win9X
and NT.
Fix some ca.c options so they work under Win32:
unlink/rename wont work under Win32 unless the file
is closed.
2002-03-08 19:11:15 +00:00
Bodo Möller
4882171df5
EC curve stuff
...
Submitted by: Nils Larsch
2002-03-08 11:10:40 +00:00
Richard Levitte
931627e6a0
Synchronise the AEP engine in all branches. For 0.9.6-stable [engine], implement software fallback
2002-03-07 19:38:59 +00:00
Richard Levitte
274a2c9970
When closing, do not use close(). Also, if the closing call fails, do
...
not return immediately since that leaves a locked lock.
2002-03-07 17:13:30 +00:00
Richard Levitte
006fcc22a8
Change des_old.c to use types prefixed with _ossl_old_des_.
2002-03-07 15:41:36 +00:00
Bodo Möller
709c51c424
fix spacing
2002-03-07 12:21:31 +00:00
Bodo Möller
9bc448546e
Add more curves.
...
Submitted by: Nils Larsch
Remove unnecessary 'const'.
2002-03-07 12:14:03 +00:00
Dr. Stephen Henson
0dc092334b
ENGINE module additions.
...
Add "init" command to control ENGINE
initialization.
Call ENGINE_finish on initialized ENGINEs on exit.
Reorder shutdown in apps.c: modules should be shut
down first.
Add test private key loader to openssl ENGINE: this
just loads a private key in PEM format.
Fix print format for dh length parameter.
2002-03-06 14:15:13 +00:00
Bodo Möller
36c194638e
add SECG OIDs
...
Submitted by: Nils Larsch
2002-03-06 13:47:32 +00:00
Bodo Möller
45fb737950
reference counting for EC_GROUP structures is not needed (at the
...
moment at least), so remove it
2002-03-06 09:46:17 +00:00
Richard Levitte
a01273bae3
OpenSSL currently fails on certain pure 64-bit architectures. This is a showstopper
2002-03-06 06:25:31 +00:00
Richard Levitte
e1fefe8124
Typo.
2002-03-06 06:13:44 +00:00
Bodo Möller
b8b09625dc
Rephrase statement on the security of two-key 3DES.
...
[Chosen plaintext attack: R. Merkle, M. Hellman: "On the Security of
Multiple Encryption", CACM 24 (1981) pp. 465-467, p. 776.
Known plaintext angriff: P.C. van Oorschot, M. Wiener: "A
known-plaintext attack on two-key triple encryption", EUROCRYPT '90.]
2002-03-05 15:30:41 +00:00
Bodo Möller
2c17323e15
Rephrase statement on the security of two-key 3DES.
...
[Chosen plaintext attack: R. Merkle, M. Hellman: "On the Security of
Multiple Encryption", CACM 24 (1981) pp. 465-467, p. 776.
Known plaintext angriff: P.C. van Oorschot, M. Wiener: "A
known-plaintext attack on two-key triple encryption", EUROCRYPT '90.]
2002-03-05 15:29:30 +00:00
Bodo Möller
870694b3da
fix 'ecdsaparam -C'
2002-03-05 15:17:17 +00:00
Bodo Möller
87a4b4d1f4
fix printf call
2002-03-05 15:05:00 +00:00
Bodo Möller
8ecf5104b3
typo
2002-03-05 14:58:53 +00:00
Bodo Möller
2b3aeffbbd
fix 'ecdsaparam -C' output
...
Submitted by: Nils Larsch
2002-03-05 14:56:17 +00:00
Dr. Stephen Henson
2c2f9e2cc3
Make sure the type accessed by the LONG and ZLONG ASN1 type
...
is really a long, to avoid problems on platforms where
sizeof(int) != sizeof(long).
2002-03-05 13:48:51 +00:00
Bodo Möller
2d9b1b3ffa
more X9.62 OIDs
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-03-05 12:39:19 +00:00
Bodo Möller
f070480275
disable '#ifdef DEBUG' code
2002-03-05 12:37:35 +00:00
Richard Levitte
49f1597de2
Provide a pre 0.9.7 compatibility mapping if
...
OPENSSL_DES_PRE_0_9_7_COMPATIBILITY is defined. NOT AT ALL TESTED YET!
Add a comment as to the libdes compatibility.
2002-03-05 11:26:03 +00:00
Richard Levitte
b44e425f39
New configuration targets for OpenBSD, handed to me by Bob Beck <beck@openbsd.org>
2002-03-05 09:43:18 +00:00
Bodo Möller
93683c3cf8
'#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change
2002-03-05 09:07:16 +00:00
Richard Levitte
a08ee55e2d
Typo. In DCL, the continuation character is a dash at the end of the
...
line, which I forgot when spliting one.
2002-03-04 18:07:59 +00:00
Richard Levitte
3bac6d9479
Rename des_SPtrans to DES_SPtrans to differentiate from libdes and avoid certain linkage clashes.
2002-03-04 16:08:13 +00:00
Richard Levitte
54d78c4778
Make it so one can select tests from within the test directory
2002-03-04 15:58:49 +00:00
Richard Levitte
5c5143de48
Make it so one can select tests from within the test directory
2002-03-04 15:58:38 +00:00
Dr. Stephen Henson
c8cd7d9e0f
Fix warnings about signed/unsigned mismatch and global
...
shadowing (random, index) in hw_4758_cca.c
2002-03-03 17:08:20 +00:00
Richard Levitte
e0a6cdcf30
This change was only made in 0.9.7-stable. Synchronise
2002-03-03 01:25:21 +00:00
Bodo Möller
354d263e44
_INT_MAX should read INT_MAX (this is correct in the 0.9.7-dev and
...
main branches)
2002-03-01 14:05:30 +00:00
Bodo Möller
f85b14c4ba
add missing '#endif'
...
Submitted by: Oscar Jacobsson <oscar@jacobsson.org >
2002-03-01 14:01:27 +00:00
Richard Levitte
a0ecb9b8fc
Remove the perl/ subdirectory. It hasn't been worked on for ages, is
...
very broken, and there are working modules in CPAN, which makes our
module even more moot.
2002-02-28 22:07:50 +00:00
Richard Levitte
4bf4bc784f
make update
2002-02-28 20:29:20 +00:00
Bodo Möller
9437fef8cc
use ERR_peek_last_error() instead of ERR_peek_error()
2002-02-28 14:07:37 +00:00
Bodo Möller
16b0384bd2
use ERR_peek_last_error() instead of ERR_peek_error() to ignore
...
any other errors that may be left in the error queue
Submitted by: Jeffrey Altman
2002-02-28 14:05:13 +00:00
Richard Levitte
87ebdd8a71
VMS addaptation, including a few more long names that needed hacking.
2002-02-28 13:17:40 +00:00
Richard Levitte
7d68189d8a
Make sure aep_close_connection() is declared and has a prototype that's
...
consistent with the rest of the AEP functions
2002-02-28 12:58:43 +00:00
Richard Levitte
26414ee013
Increase internal security when using strncpy, by making sure the resulting string is NUL-terminated
2002-02-28 12:42:19 +00:00
Richard Levitte
5c62f68e14
Updated AEP engine, submitted by Diarmuid O'Neill <Diarmuid.ONeill@aep.ie>
2002-02-28 11:36:38 +00:00
Richard Levitte
0d22b5dace
Document the added modes for AES
2002-02-28 11:29:55 +00:00
Bodo Möller
023ec151df
Add 'void *' argument to app_verify_callback.
...
Submitted by: D. K. Smetters <smetters@parc.xerox.com >
Reviewed by: Bodo Moeller
2002-02-28 10:52:56 +00:00
Bodo Möller
59dbdb51dc
disable '#ifdef DEBUG' sections
2002-02-28 10:51:56 +00:00
Geoff Thorpe
92d1bc09cb
This adds a new ENGINE to support IBM 4758 cards, contributed by Maurice
...
Gittens.
2002-02-27 22:55:28 +00:00
Lutz Jänicke
ec20856622
Fix the fix (Yoram Zahavi)...
2002-02-27 11:26:20 +00:00
Lutz Jänicke
d62bfb39cd
Fix the fix (Yoram Zahavi)...
2002-02-27 11:23:05 +00:00
Lutz Jänicke
e463138be9
SSL_clear != SSL_free/SSL_new
2002-02-27 08:11:18 +00:00
Lutz Jänicke
ce4b274aa1
SSL_clear != SSL_free/SSL_new
2002-02-27 08:08:57 +00:00
Lutz Jänicke
ce1e801013
Make sure to remove bad sessions in SSL_clear() (found by Yoram Zahavi).
2002-02-26 21:50:28 +00:00
Lutz Jänicke
334f1842fc
Make sure to remove bad sessions in SSL_clear() (found by Yoram Zahavi).
2002-02-26 21:40:09 +00:00
Dr. Stephen Henson
b12540520d
Always init ctx_tmp in PKCS7_dataFinal since it is always cleaned up.
2002-02-26 19:33:24 +00:00
Richard Levitte
0d7b9b8b7e
make update, after moving around symbols in libeay.num to match
...
0.9.7-stable.
2002-02-26 14:41:29 +00:00
Richard Levitte
03a6dcdf31
make update
2002-02-26 14:18:23 +00:00
Dr. Stephen Henson
31188ee1a8
Fix new -aes command argument handling
2002-02-26 13:46:55 +00:00
Dr. Stephen Henson
4a3e6bce79
Make the engine config module always add dynamic ENGINEs
...
to the list using dynamic_path. This stops ENGINEs which
don't supply any default algorithms being automatically
freed (because they have no references) and allows them
to be accessed by id.
Alternative dynamic loading behaviour can be achieved by
issuing the dynamic ENGINE ctrls separately in the config file.
2002-02-24 16:20:50 +00:00
Dr. Stephen Henson
a3829cb720
Updates from stable branch.
2002-02-23 13:50:29 +00:00
Dr. Stephen Henson
e84be9b495
New OPENSSL_LOAD_CONF define to load openssl.cnf
...
when OpenSSL_add_all_algorithms() is called.
2002-02-23 01:00:44 +00:00
Dr. Stephen Henson
3a3ca3f515
Fix for AIX.
...
Submitted by Dawn Whiteside <dwhitesi@tiercel.uwaterloo.ca >
2002-02-22 21:26:25 +00:00
Dr. Stephen Henson
032c49b8b3
non-Monolith fixes.
...
Submitted by Andrew W. Gray <agray@iconsinc.com >
2002-02-22 21:21:18 +00:00
Dr. Stephen Henson
3208ff58ca
make errors
2002-02-22 21:17:31 +00:00
Dr. Stephen Henson
6707d22a40
Update from stable branch.
2002-02-22 14:07:35 +00:00
Dr. Stephen Henson
3647bee263
Config code updates.
...
CONF_modules_unload() now calls CONF_modules_finish()
automatically.
Default use of section openssl_conf moved to
CONF_modules_load()
Load config file in several openssl utilities.
Most utilities now load modules from the config file,
though in a few (such as version) this isn't done
because it couldn't be used for anything.
In the case of ca and req the config file used is
the same as the utility itself: that is the -config
command line option can be used to specify an
alternative file.
2002-02-22 14:01:21 +00:00
Richard Levitte
e2aebccba1
We have AES support in openssl speed
2002-02-21 17:23:04 +00:00
Richard Levitte
bfb863b8b5
As in 0.9.7 and on, let's remove the use of MS_FAR, and thereby the
...
need for e_os.h.
2002-02-21 16:38:09 +00:00
Bodo Möller
f261295d9c
disable '#ifdef DEBUG' sections
2002-02-21 14:07:55 +00:00
Bodo Möller
3e563bcea7
disable '#ifdef DEBUG' sections
2002-02-21 13:07:44 +00:00
Bodo Möller
f4702b467e
disable '#ifdef DEBUG' sections
2002-02-21 12:56:50 +00:00
Dr. Stephen Henson
92f91ff48b
Config file updates from stable branch
2002-02-21 00:54:54 +00:00
Richard Levitte
b3dfaaa143
Add AES support in the applications that support -des and -des3.
2002-02-20 18:03:07 +00:00
Richard Levitte
5b7848a345
Add comfy aliases for AES in CBC mode.
2002-02-20 17:59:49 +00:00
Richard Levitte
2aa5dac48f
Stop assuming the IV is 8 bytes long, use the real size instead.
...
This is especially important for AES that has a 16 bytes IV.
2002-02-20 17:55:34 +00:00
Richard Levitte
915c6a21ba
Stop assuming the IV is 8 bytes long, use the real size instead.
...
This is especially important for AES that has a 16 bytes IV.
2002-02-20 17:55:08 +00:00
Richard Levitte
fae0ff419a
Including openssl/e_os.h in the OpenSSL 0.9.6 branch is legal, since
...
it's exported. Changing that is a BIG step, which has been done in
0.9.7-dev.
2002-02-20 17:39:25 +00:00
Richard Levitte
58706d595b
Including openssl/e_os.h in the OpenSSL 0.9.6 branch is legal, since
...
it's exported. Changing that is a BIG step, which has been done in
0.9.7-dev.
2002-02-20 14:07:07 +00:00
Richard Levitte
236be53269
gcc figures that the format specifier %2x means unsigned int, so let's
...
make n unsigned.
2002-02-20 13:50:36 +00:00
Richard Levitte
1fc1bd382b
Instead of casting a lvalue, let's constify meth.
2002-02-20 13:49:17 +00:00
Richard Levitte
a60033f106
Update the status on 64-bit thingy.
2002-02-20 13:19:59 +00:00
Bodo Möller
3613e6fc57
simplifications
...
Submitted by: Nils Larsch
2002-02-20 13:08:17 +00:00
Bodo Möller
f8e21776f9
typo
2002-02-20 12:38:00 +00:00
Richard Levitte
006723cf76
Add reports on checked 64-bit platforms and make space to add platforms that need to be checked
2002-02-20 12:31:23 +00:00
Richard Levitte
aa89bcd279
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 12:16:17 +00:00
Richard Levitte
f19759a182
Instead of just checking for OpenVMS, check if DEC C is used, since it's as
...
picky on all platforms
2002-02-20 12:01:24 +00:00
Bodo Möller
d009bcbfb6
bugfix: allocate sufficiently large buffer
...
Submitted by: Nils Larsch
2002-02-20 11:59:42 +00:00
Richard Levitte
4b71f63ac0
Comparing a pointer (data) with 0 using > is incorrect. The changed
...
comparison doesn't look right, but at least it compiles. It would be nice
if the one who knows what this is supposed to do changed it to do it correctly
2002-02-20 11:57:33 +00:00
Richard Levitte
3adb8c3854
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 11:43:40 +00:00
Richard Levitte
02e666d59f
Don't shadow already defined variables
2002-02-20 11:42:42 +00:00
Geoff Thorpe
5b2d6ff07e
make update
2002-02-20 08:33:55 +00:00
Geoff Thorpe
877b2fbd3c
A rough little self-test for tunala. This runs through all cipher-suite /
...
SSL/TLS version combinations looking for mishaps.
2002-02-20 05:12:45 +00:00
Geoff Thorpe
afeab58a3c
Make the "ungunk" logic a little more robust.
2002-02-20 05:09:22 +00:00
Geoff Thorpe
744c49a81b
- Add support for cipher suites that require a temporary RSA key for
...
key-agreement.
- Tolerate signal interruptions of select().
2002-02-20 05:02:50 +00:00
Richard Levitte
74e6916996
Merge in Cygwin-related changes from main trunk.
2002-02-16 22:45:06 +00:00
Richard Levitte
9c5b91fd0b
Oh, and since config figures out that we run Cygwin and what versions,
...
let's recommend running config instead of a manual Configure.
2002-02-16 22:31:16 +00:00
Richard Levitte
290d3eab76
Since Cygwin is the proper spelling, let's change to that everywhere.
...
Also, with the change in Configure, it now knows on it's own if
threads are supported or not.
2002-02-16 22:28:31 +00:00
Ulf Möller
46dae77c23
Cygwin target name has been changed!
2002-02-16 16:53:25 +00:00
Richard Levitte
a6cd870784
The AES modes OFB and CFB are defined with 128 feedback bits. This
...
deviates from the "standard" 64 bits of feedback that all other
algorithms are using. Therefore, let's redo certain EVP macros to
accept different amounts of feedback bits for these modes.
Also, change e_aes.c to provide all usually available modes for AES.
CTR isn't included yet.
2002-02-16 12:39:07 +00:00
Richard Levitte
97879bcd57
Add the modes OFB128, CFB128 and CTR128 to AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org >
2002-02-16 12:20:34 +00:00
Richard Levitte
ab1dee1efc
Adjust the NID names for the AES modes OFB and CFB to contain the number
...
of feedback bits
2002-02-16 12:15:30 +00:00
Richard Levitte
e072aa535d
The macro IMPLEMENT_ASN1_FUNCTIONS_const already contains an ending ;,
...
so do not add one after the expansion, since ANSI C doesn't allow ;;
at this level (or at least, so tells me gcc).
2002-02-16 12:03:25 +00:00
Richard Levitte
48f9859d2a
Local time' shadows the global function
time()'. Rename the local
...
variable to `tim' (and, as a matter of consequence, `time_d' to `tim_d').
2002-02-16 12:01:13 +00:00
Richard Levitte
48b5083ca0
Missing #endif
2002-02-16 11:58:16 +00:00
Richard Levitte
cd64618674
gcc chokes on C++ comments in C code.
2002-02-16 11:57:25 +00:00
Richard Levitte
99738e6393
Give the linux-sparv9 target shared capability.
...
Submitted by Ian Marsh <mushypea@dominion.net.uk >
2002-02-15 16:22:58 +00:00
Richard Levitte
5d7e960adf
Give the linux-sparv9 target shared capability.
...
Submitted by Ian Marsh <mushypea@dominion.net.uk >
2002-02-15 16:22:22 +00:00
Lutz Jänicke
0df2a19b10
Even though it is not really practical people should know about it.
2002-02-15 09:36:08 +00:00
cvs2svn
1c8f840653
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2002-02-15 07:41:45 +00:00
Lutz Jänicke
f0d6ee6be8
Even though it is not really practical people should know about it.
2002-02-15 07:41:42 +00:00
Bodo Möller
e65991f977
fix indentation
2002-02-14 16:08:55 +00:00
Bodo Möller
e2d39e421d
fix indentation
2002-02-14 16:06:19 +00:00
Richard Levitte
3e83e686ba
Add the configuration target VxWorks.
2002-02-14 15:37:38 +00:00
Richard Levitte
2ff622cf9d
Add the configuration target VxWorks.
2002-02-14 15:36:50 +00:00
Bodo Möller
8f06b00373
make it possible to disable memory checking for timings
2002-02-14 14:41:13 +00:00
Bodo Möller
1dea1f4509
'-C' is still quite broken
2002-02-14 14:30:20 +00:00
Bodo Möller
44411db8e0
fix '-C'
2002-02-14 14:25:33 +00:00
Bodo Möller
23ac7a1407
fix memory leak
2002-02-14 14:21:49 +00:00
Bodo Möller
dda640835f
move ECDSA test right after EC test
2002-02-14 14:03:32 +00:00
Bodo Möller
6cc3700314
don't call OPENSSL_config(), this does not make any sense during "make test"
2002-02-14 13:51:20 +00:00
Richard Levitte
cc1489d2f2
Make sure memset() is defined by including string.h
...
Notified by Oscar Jacobsson <oscar@jacobsson.org >
2002-02-14 13:51:04 +00:00
Richard Levitte
016029c69f
For some reason, getting the topmost error was done the same way as
...
getting the bottommost one. I hope I understood correctly how this
should be done. It seems to work when running evp_test in an
environment where it can't find openssl.cnf.
2002-02-14 13:45:26 +00:00
Richard Levitte
516b848286
make update, with libeay.num remade to match the 0.9.7-stable one.
2002-02-14 13:43:30 +00:00
Richard Levitte
b92fb90de5
make update
2002-02-14 13:37:29 +00:00
Richard Levitte
8481a0905b
The Cygwin shared extension was shifted.
2002-02-14 13:36:38 +00:00
Richard Levitte
c4202285ef
The Cygwin shared extension was shifted.
2002-02-14 13:36:28 +00:00
Richard Levitte
44bbfcddaf
At Corinna Vinschen's request, change CygWin32 to Cygwin
2002-02-14 12:29:02 +00:00
Richard Levitte
49e045482a
At Corinna Vinschen's request, change CygWin32 to Cygwin
2002-02-14 12:28:24 +00:00
Bodo Möller
d8309efc72
EC_GROUP_get_group_by_name() is now called EC_GROUP_new_by_name()
2002-02-14 10:23:20 +00:00
Ben Laurie
f43acc8a50
Fix warnings.
2002-02-14 09:59:35 +00:00
Richard Levitte
6b7b277900
Correct sh, please
2002-02-14 02:20:41 +00:00
Richard Levitte
ba47f5c9b0
Correct sh, please
2002-02-14 02:20:34 +00:00
Bodo Möller
5e99ec6c7c
it's year 2002 now
2002-02-13 18:22:18 +00:00
Bodo Möller
4d94ae00d5
ECDSA support
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 18:21:51 +00:00
Bodo Möller
60d8bae30d
some modifications to named curve support
2002-02-13 17:57:52 +00:00
Richard Levitte
0caec9e8f8
Modify the main trunk version to 0.9.8-dev.
...
0.9.7 now lives in the branch OpenSSL_0_9_7-stable.
2002-02-13 17:46:38 +00:00
Bodo Möller
4f85a2e21e
new locks
2002-02-13 17:25:27 +00:00
Bodo Möller
945e15a253
add support for named curves
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 17:22:59 +00:00
Richard Levitte
52f3038667
Update the configuration of CygWin32 to use the new capabilities of
...
CygWin 1.3.x, which includes thread and shared library support.
Submitted by Corinna Vinschen <vinschen@redhat.com > and modified a
little bit.
2002-02-13 14:45:19 +00:00
Richard Levitte
1fe198b6f9
Update the configuration of CygWin32 to use the new capabilities of
...
CygWin 1.3.x, which includes thread and shared library support.
Submitted by Corinna Vinschen <vinschen@redhat.com > and modified a
little bit.
2002-02-13 14:44:33 +00:00
Richard Levitte
1827be43ab
Merge in the slightly more efficient variant of link-shared from the
...
main trunk.
2002-02-13 10:32:07 +00:00
Bodo Möller
78d6603aad
We should implement a countermeasure against the predictable-IV CBC
...
weakness in SSL/TLS
2002-02-13 10:21:25 +00:00
Richard Levitte
7241ae1a0a
Move teh silencer to the right place.
2002-02-13 10:16:37 +00:00
Richard Levitte
5f58d6a5e0
Make link-shard a little bit more efficient. If there are no
...
extensions to link together, there's no point looping at all.
2002-02-13 10:15:05 +00:00
Ulf Möller
8935c03618
add casts as in head (required for VC++)
2002-02-11 17:44:30 +00:00
Lutz Jänicke
76dca45720
Backport from 0.9.7:
...
Make removal from internal session cache more robust and do not store
into internal session cache when it won't be looked up anyway.
2002-02-10 12:52:57 +00:00
Lutz Jänicke
acfe628b6e
Make removal from session cache more robust.
2002-02-10 12:46:41 +00:00
Bodo Möller
182d8435f0
add a wish
2002-02-09 01:49:53 +00:00
Lutz Jänicke
4de920c91d
Do not store unneeded data.
2002-02-08 15:15:04 +00:00
Richard Levitte
3cd039dd8f
Add notes on the added support for aep and sureware crypto cards in
...
0.9.7.
2002-02-07 22:15:53 +00:00
Richard Levitte
81269a81ee
Remove an unused variable.
2002-02-07 21:55:22 +00:00
Richard Levitte
3537525e00
Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked
...
CRYPTO_LOCK_RAND...
2002-02-07 21:49:21 +00:00
Richard Levitte
d38f3ad1ee
I forgot to include the aep and sureware vendor header files.
2002-02-07 21:43:05 +00:00
Richard Levitte
e083f91497
Because AEP and we used the same AEP_R_ prefix for error reasons,
...
lets change our prefix to AEPHK_R_. Otherwise, we get very mysterious
errors because we happen to redefine AEP_R_OK and AEP_R_GENERAL_ERROR.
2002-02-07 21:12:08 +00:00
Richard Levitte
ba2cad19cf
Add aep and sureware implementations and clean up some error reasons
...
that were never part of the engine framework.
The aep and sureware implementations are taken directly from 0.9.6c
[engine] and have been modified to fit the newer engine framework and
to be possible to build shared libraries of.
The aep implementation has gone through quite a bunch of tests and is
cleaned up (there were some misunderstandings in it about how to use
locks).
The sureware hasn't been tested at all in this incarnation and is
basically a quick hack to get it to compile properly.
2002-02-07 20:44:14 +00:00
Richard Levitte
db0a1efcc9
Certain reasons aren't really part of the engine framework, so let's
...
make them ubsec-specific in the ubsec implementation.
2002-02-07 20:37:55 +00:00
Richard Levitte
9074521458
Generate the individual engines' error strings and macros
...
automatically.
2002-02-07 20:02:49 +00:00
Richard Levitte
f924200e1b
If the intended header file doesn't exist, create it.
2002-02-07 19:23:35 +00:00
Richard Levitte
de2f6e4dae
'make update'
2002-02-05 17:34:58 +00:00
Richard Levitte
44bdb056d4
With the changed des_old API, let's complete the work by renaming the
...
functions in ui_compat. This gave reason to rework that part more
thoroughly, so here are the changes made:
1. Add DES_read_password() and DES_read_2passwords() with the same
functionality as the corresponding old des_ functions, as a
convenience to the users.
2. Add UI_UTIL_read_pw_string() and UI_UTIL_read_pw() with the
functionality from des_read_pw_string() and des_read_pw(), again as
a concenience to the users.
3. Rename des_read_password(), des_read_2passwords(),
des_read_pw_string() and des_read_pw() by changing des_ to
_ossl_old_des_, and add the usual mapping macros.
4. Move the implementation of des_read_password() and
des_read_2passwords() to the des directory, since they are tightly
tied to DES anyway.
This change was inspired by a patch from Assar Westerlund <assar@sics.se >:
There are some functions that didn't get the kick-away-old-des-and-
replace-des-with-DES action. Here's a patch that adds DES_ and des_
(in des_old.h) versions of des_read_pw_string et al. This patch
includes some of the first des_old.h semi-colon macro fixes that I've
already sent.
2002-02-05 17:15:18 +00:00
Richard Levitte
c31bbf1e68
Apply one patch from Assar Westerlund <assar@sics.se>:
...
The following patch makes sure that string2key does not use weak DES
keys (then making them non-weak by xor:ing with 0xF0).
2002-02-05 15:05:42 +00:00
Richard Levitte
5e68f8ce15
Apply three patches from Assar Westerlund <assar@kth.se>:
...
This patch makes the macros in des_old.h actually pretend to be
functions.
There's no reason not to define _ossl_old_crypt when using
PERL5/FreeBSD/darwin/Next, since it makes using crypt and including
des.h break. Here's a trivial patch.
This patch fixes some of the typos used in macro names in des_old.h
and the number of arguments for some of them.
2002-02-05 06:02:58 +00:00
Richard Levitte
b9a3ef4c6e
ASN1_BIT_STRING_set_bit() didn't clear previously set bits
2002-02-03 21:31:41 +00:00
Richard Levitte
a5f158fa0b
ASN1_BIT_STRING_set_bit() didn't clear previously set bits
2002-02-03 21:27:04 +00:00
Dr. Stephen Henson
1955b87423
#undef some things that cause a conflict under Win32 when
...
wincrypt.h is included.
2002-02-02 13:19:27 +00:00
Lutz Jänicke
866eedb936
Shut up compiler warnings for inconsistent declarations.
2002-01-29 17:14:50 +00:00
Lutz Jänicke
f701551f36
HP-UX 32bit:
...
* When linking against shared libraries, the absolute path is remembered.
- When linking against -L.., '..' is remembered inside the executable,
so it will fail after "make install" or when not called from inside the
"apps/" subdirectory of the build tree.
- When using the "+cdp" option of "ld", the ".." information can be
exchanged against $(INSTALL_TOP)/lib. In this case the executable
will however refuse to work before "make install" has been called.
This makes testing the 'openssl' executable a problem.
* Solution 1:
Relink the "openssl" executable, when "make install" is called.
This would however require significant changes to the toplevel Makefile
and the apps/ Makefile.
* Solution 2:
Statically link against libssl and libcrypto, so that the "openssl"
executable is no longer dependant on the openssl shared libraries.
Select option 2 for HP-UX 32bit, as this requires the smallest change.
2002-01-29 16:32:40 +00:00
Lutz Jänicke
adc4df3616
Make SHLIB_TARGET available in subdirs (here: apps/)
2002-01-29 16:20:08 +00:00
Richard Levitte
1199e2d8cf
Apply patch from Toomas Kiisk <vix@cyber.ee> and complete it.
2002-01-29 12:36:01 +00:00
Lutz Jänicke
0f180d1d1d
Superflous '\' messes up with HP-UX make.
2002-01-28 16:30:06 +00:00
Bodo Möller
072569e0f1
Undo previous change, X509_check_issued() was correct.
...
[See
Message-ID: <3BB07999.30432AD2@celocom.com >
Date: Tue, 25 Sep 2001 13:33:29 +0100
From: Dr S N Henson <drh@celocom.com >
To: openssl-dev@openssl.org
Subject: Re: Error in v3_purp.c
]
2002-01-27 17:41:12 +00:00
Richard Levitte
1a11273bc3
Merge in the sanity checker from 0.9.7-dev.
2002-01-27 17:05:39 +00:00
Richard Levitte
ba9786e4b8
Spelling correction.
2002-01-27 16:12:27 +00:00
Richard Levitte
613599ffff
Correct the number of colons for the targets aix43-cc, aix43-gcc,
...
alpha-cc, alpha-cc-rpath, alpha-gcc, alpha164-cc and alphaold-cc.
2002-01-27 16:03:40 +00:00
Richard Levitte
c9c21d3b89
Detect one-step shifts of the dso_scheme.
2002-01-27 15:58:34 +00:00
Richard Levitte
d0d046eca2
I got some reports that some targets have weird dso_schemes.
...
Therefore, I've added a sanity checker.
Note that it can be combined with almost any other argument (the other
arguments will be completely ignored), with "reconf" as the blatant
exception, since it also has the behavior of ignoring all following
command line arguments. If --test-sanity and reconf are both used on
the command line, the first one wins.
2002-01-27 15:52:37 +00:00
Richard Levitte
babc4d0e7a
Make sure libssl.sl will depend on the local libcrypto.sl, not on
...
another (that possibly doesn't even exist!).
2002-01-26 16:50:40 +00:00
Lutz Jänicke
2a81428489
Remove blanks at begin of empty lines irritating epv_test.c
2002-01-26 15:24:38 +00:00
Richard Levitte
7073e9e2a0
Update SCO5 targets.
2002-01-26 05:24:05 +00:00
Richard Levitte
c9c111468c
Update SCO5 targets.
2002-01-26 05:21:08 +00:00
Richard Levitte
d866df33a1
Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared
...
libraries with debug-linux-elf.
2002-01-26 05:08:31 +00:00
Richard Levitte
73feb5418d
Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared
...
libraries with debug-linux-elf.
2002-01-26 05:07:56 +00:00
Richard Levitte
b3467218f8
According to the main trunk, Darwin should get USE_TOD defined.
2002-01-26 05:02:45 +00:00
Richard Levitte
b77fcddb6b
Apply a small patch from Oscar Jacobsson <oscar@jacobsson.org> that
...
makes things more compilable with VC++.
2002-01-26 04:50:41 +00:00
Richard Levitte
f6fbd470e3
It looks like I didn't remove everything that has to do with the
...
non-existant aestest.c.
2002-01-26 04:45:37 +00:00
Richard Levitte
f760c5d80b
From reports I've seen, it looks like TIMES is wrong for Darwin.
2002-01-26 04:44:39 +00:00
Richard Levitte
63810d8566
Apply a small patch from Diego R. Lopez <diego.lopez@rediris.es>,
...
making X509_check_issued() properly match an issuer that's found in a
Authority Key Identifier.
2002-01-26 04:25:16 +00:00
Richard Levitte
123c401967
GCC uses __i386__.
2002-01-26 03:57:41 +00:00
Richard Levitte
a3fffd648b
Add old patch from Robert Dahlem <Robert.Dahlem@ffm2.siemens.de> to
...
make it possible to produce shared libraries on ReliantUNIX.
2002-01-26 03:17:27 +00:00
Richard Levitte
2d57b73a50
I got a request to make the "old des" symbols more closely tied to
...
OpenSSL. Adding '_ossl' in the name seems to be a good way to do
this.
2002-01-26 01:14:09 +00:00
Richard Levitte
4fd350e8f5
Apply Neale Ferguson's patch to add a configuration target for linux-s390x
2002-01-25 22:13:26 +00:00
Richard Levitte
f14845d999
Apply Neale Ferguson's patch to add a configuration target for linux-s390x
2002-01-25 22:06:59 +00:00
Richard Levitte
80bb905d3d
Apply the following changes by Toomas Kiisk <vix@cyber.ee>:
...
* make openssl rsa work with -engine chil
* misc changes, including debug-linux-ppro Configure target
and FORMAT_NETSCAPE-aware load_{,pub}key()
This completes the application of his changes.
2002-01-25 19:43:52 +00:00
Richard Levitte
a297985f42
Apply a change by Toomas Kiisk <vix@cyber.ee>:
...
* Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
2002-01-25 17:45:30 +00:00
Richard Levitte
404dcc5e8e
I must learn to compile before I commit...
2002-01-25 17:35:19 +00:00
Richard Levitte
8242a6a9fc
Document the change in rsautl.
2002-01-25 17:00:56 +00:00
Richard Levitte
17bcb8d465
Add -keyform. Document -engine.
2002-01-25 16:51:46 +00:00
Richard Levitte
72165799a8
There is no aestest currently. The EVP tester is used to check the
...
AES algorithm.
2002-01-25 07:52:25 +00:00
Geoff Thorpe
f1c2a9de45
The 'type' parameter, an EVP_MD pointer, represents the type of digest
...
required as well as a default implementation (when no ENGINE provides a
replacement implementation). This change makes sure the correct
implementation's "init()" handler is used rather than assuming 'type'.
2002-01-25 03:13:50 +00:00
Richard Levitte
52b66a622d
Keep the NIST AES vectors that were there previously.
2002-01-24 18:09:50 +00:00
Bodo Möller
273db408a8
sort functions ...
2002-01-24 17:17:33 +00:00
Bodo Möller
957b6db3b1
fix formatting of automatically generated error section
2002-01-24 16:20:42 +00:00
Bodo Möller
a14e2d9dfe
New functions
...
ERR_peek_last_error
ERR_peek_last_error_line
ERR_peek_last_error_line_data
(supersedes ERR_peek_top_error).
Rename OPENSSL_NO_OLD_DES_SUPPORT into OPENSSL_DISABLE_OLD_DES_SUPPORT
because OPENSSL_NO_... indicates disabled algorithms (according to
mkdef.pl).
2002-01-24 16:16:43 +00:00
Bodo Möller
a8b94d6409
Reword CHANGES entry for _old_des_..., as it was a little complicated
...
syntactically.
2002-01-24 14:05:55 +00:00
Richard Levitte
fe19c448f0
make update
...
libeay.num got tweaked so the old des symbols would retain their
positions.
2002-01-24 12:31:54 +00:00
Richard Levitte
fcf6473199
Because of recent changes, there's no need to hack the des symbols any
...
more.
2002-01-24 12:30:15 +00:00
Richard Levitte
1285221370
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:26:50 +00:00
Richard Levitte
5dcf517d84
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:19:13 +00:00
Lutz Jänicke
9b2f486c9e
Document the current behaviour of the DES interface.
2002-01-23 10:12:45 +00:00
Ben Laurie
24995f3a10
Support old DES APIs by default.
2002-01-22 23:19:01 +00:00
Ben Laurie
0fc5cf0870
Make no config file not an error. Move /dev/crypto config to ctrl.
2002-01-22 22:29:58 +00:00
Dr. Stephen Henson
f78d4a35f8
Constification.
2002-01-22 02:06:33 +00:00
Dr. Stephen Henson
df5eaa8a52
default_algorithms option in ENGINE config.
2002-01-22 01:40:18 +00:00
Lutz Jänicke
bc52146aee
Typos (jsyn <jsyn@openbsd.org>).
2002-01-21 18:02:27 +00:00
Lutz Jänicke
6ce46d69f5
Typos (jsyn <jsyn@openbsd.org>).
2002-01-21 18:01:46 +00:00
Lutz Jänicke
575e664a7c
Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).
2002-01-21 17:59:37 +00:00
Lutz Jänicke
348c9e5985
Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).
2002-01-21 17:58:53 +00:00
Richard Levitte
7389c848d4
Use FIPS-197 vectors for AES. The NIST vectors were constructed by
...
reencrypting or redecrypting the ciphertext 10000 times, which of
course gives higly different results.
2002-01-21 17:55:38 +00:00
Richard Levitte
4d393410f3
Add more of the NIST test vectors for AES.
...
For some reason, they give incorrect results with the OpenSSL
implementation. I wonder why...
2002-01-21 16:09:45 +00:00
Richard Levitte
bd69750360
Bring VMS up to date with development.
2002-01-21 15:37:53 +00:00
Dr. Stephen Henson
c9501c223f
Initial ENGINE config module, docs to follow.
...
Fix buffer overrun errors in OPENSSL_conf().
2002-01-21 03:02:36 +00:00
Ben Laurie
9dd5ae6553
Constification, add config to /dev/crypto.
2002-01-18 16:51:05 +00:00
Bodo Möller
e1e876072d
disable broken code
2002-01-18 12:28:05 +00:00
Ben Laurie
dd2589494f
Other errors are possible.
2002-01-18 12:19:24 +00:00
Ben Laurie
1cfa8a397f
Stupid apps should die, not fail silently.
2002-01-18 11:46:39 +00:00
Ben Laurie
bdae099862
Fix memory leak.
2002-01-18 11:32:30 +00:00
Ben Laurie
cca28b291c
Constification, missing declaration, update dependencies.
2002-01-18 10:59:43 +00:00
Geoff Thorpe
062d3e39e7
Correct for the recent prototype changes.
2002-01-17 01:51:37 +00:00
Ulf Möller
06e6478d6f
*** empty log message ***
2002-01-16 19:22:36 +00:00
Ulf Möller
e29f478a7a
*** empty log message ***
2002-01-16 19:22:13 +00:00
Geoff Thorpe
1b58b616e3
Produce less confusing statistics when "-out_totals" is used.
2002-01-16 05:31:02 +00:00
Geoff Thorpe
c70d381775
The sample certs had expired, so these are newer ones that should last
...
quite a bit longer.
2002-01-16 05:29:11 +00:00
Bodo Möller
508d8b1617
run test_evp before test_ssl
2002-01-15 11:43:51 +00:00
Bodo Möller
19fa8cfe5a
Bugfix: In ssl3_accept, don't use a local variable 'got_new_session'
...
to indicate that a real handshake is taking place (the value will be
lost during multiple invocations). Set s->new_session to 2 instead.
2002-01-14 23:42:47 +00:00
Bodo Möller
8c74b5e56c
Bugfix: In ssl3_accept, don't use a local variable 'got_new_session'
...
to indicate that a real handshake is taking place (the value will be
lost during multiple invocations). Set s->new_session to 2 instead.
2002-01-14 23:40:26 +00:00
Bodo Möller
5f18fe493e
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
...
the SSL_R_LENGTH_MISMATCH error is detected.
2002-01-14 12:42:38 +00:00
Bodo Möller
c59ba5b528
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
...
the SSL_R_LENGTH_MISMATCH error is detected.
2002-01-14 12:37:59 +00:00
Ben Laurie
45d87a1ffe
Prototype info function.
2002-01-12 15:56:13 +00:00
Ben Laurie
a3feb21bbe
Add client_cert_cb prototype.
2002-01-12 13:15:40 +00:00
Ben Laurie
37530362fa
Return value could be undefined.
2002-01-12 13:13:22 +00:00
Geoff Thorpe
fd69886aed
- Network errors could pollute the buffers because -1 isn't noticed in an
...
"unsigned int".
- Remove redundant processing with machine->ssl is NULL.
- Remove compiler warnings about uninitialised 'ctx' (it's not used
uninitialised, but gcc can't see that).
2002-01-10 06:03:12 +00:00
Richard Levitte
d16e3759a8
Patches to make OpenSSL compilable on MacOS/X.
...
Submitted by Pier Fumagalli <pier@betaversion.org >
2002-01-08 09:19:55 +00:00
Richard Levitte
fd795679bb
Patches to make OpenSSL compilable on MacOS/X.
...
Submitted by Pier Fumagalli <pier@betaversion.org >
2002-01-08 09:19:31 +00:00
Geoff Thorpe
e523f5f389
- libtool finally annoyed me too much, so I'm nuking it,
...
- tidy up some output,
- print a warning when running an SSL server with no cert,
- only log each connect/disconnect if the new "-out_conns" switch is used.
2002-01-08 02:58:55 +00:00
Geoff Thorpe
e4dd79bbc8
- Add the same header stuff to aes_locl.h as is in des_locl.h to avoid
...
undefined functions (memset, etc).
- Put a .cvsignore in the aes directory too.
2002-01-05 12:55:08 +00:00
Dr. Stephen Henson
bc37d996fc
Experimental configuration code.
...
Incomplete, largely untested and subject to change/deletion.
2002-01-05 01:37:16 +00:00
Bodo Möller
31cafe53c9
add a sentence previously deleted by accident
2002-01-04 15:22:40 +00:00
Bodo Möller
31961f7308
use some descriptions from Lutz' redundant manual page
...
instead of the previous ones
2002-01-04 15:21:26 +00:00
Bodo Möller
dc4ddcd2bb
add documentation for SSLeay_version(SSLEAY_DIR) and
...
'openssl version -d'
use some descriptions from Lutz' redundant manual page
instead of the previous ones
2002-01-04 15:17:09 +00:00
Lutz Jänicke
2e1b411f23
Tsss, SSLeay_version() was already documented, it just was not linked in.
2002-01-04 15:08:34 +00:00
Lutz Jänicke
5256b021f3
Tsss, SSLeay_version() was already documented, it just was not linked in.
2002-01-04 15:05:51 +00:00
Bodo Möller
1bb68d62ab
synchronize with engine-0.9.6 tree
2002-01-04 15:03:25 +00:00
Bodo Möller
4d77825557
add symbols reserved in 'engine' tree (tagged as NOEXIST)
2002-01-04 15:02:40 +00:00
Lutz Jänicke
439c7ba540
Add information as provided by Richard Levitte on openssl-users :-)
2002-01-04 14:57:31 +00:00
cvs2svn
edbbf22a0e
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2002-01-04 14:55:39 +00:00
Lutz Jänicke
4ab1e7ceaf
Add information as provided by Richard Levitte on openssl-users :-)
2002-01-04 14:55:38 +00:00
Dr. Stephen Henson
06623ff028
Update PEM docs
2002-01-04 13:35:37 +00:00
Bodo Möller
67d48c8cc8
fix 'Configure TABLE' output
2002-01-04 13:30:05 +00:00
Bodo Möller
1cb8923507
fix 'Configure TABLE' output
2002-01-04 13:29:20 +00:00
Bodo Möller
83f1147664
Changes that break something should be included in CHANGES
...
to make it easier to fix things.
2002-01-04 13:28:04 +00:00
Bodo Möller
d59fb0dd2f
Changes that break something should be included in CHANGES
...
to make it easier to fix things.
2002-01-04 13:27:52 +00:00
Bodo Möller
245f44e2ab
add automatically generated ERR_load_... prototype
2002-01-04 13:12:08 +00:00
Bodo Möller
e5d6528a12
fix EVP_CIPHER_mode macro
...
Submitted by: "Dan S. Camper" <dan@bti.net >
2002-01-04 13:04:45 +00:00
Bodo Möller
4d4744ef48
fix EVP_CIPHER_mode macro
...
Submitted by: "Dan S. Camper" <dan@bti.net >
2002-01-04 13:04:15 +00:00
Geoff Thorpe
980afccf98
Constify.
2002-01-04 07:01:35 +00:00
Richard Levitte
0242564c17
Better clarification on perl
2002-01-03 18:53:55 +00:00
Richard Levitte
9bd2cd745f
Better clarification on perl
2002-01-03 18:53:47 +00:00
Richard Levitte
e8d2e6cac2
Use the variable $(PERL) to invoke perl.
...
Noted by Joe Orton <jorton@redhat.com >
2002-01-03 14:08:02 +00:00
Richard Levitte
015fbde807
make update
2002-01-02 17:31:23 +00:00
Richard Levitte
ba1b888384
Implement speed measurement for AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org > as part of his AES
integration patch.
2002-01-02 16:57:57 +00:00
Richard Levitte
6f9079fd50
Because Rijndael is more known as AES, use crypto/aes instead of
...
crypto/rijndael. Additionally, I applied the AES integration patch
from Stephen Sprunk <stephen@sprunk.org > and fiddled it to work
properly with the normal EVP constructs (and incidently work the same
way as all other symmetric cipher implementations).
This results in an API that looks a lot like the rest of the OpenSSL
cipher suite.
2002-01-02 16:55:35 +00:00
Richard Levitte
c938563a81
The block size may be something other than 8!
2002-01-02 16:51:17 +00:00
Richard Levitte
40928698bb
When RSA or DSA are disabled, do not include the stuff that's specific
...
to them.
2002-01-02 12:45:51 +00:00
Richard Levitte
138d8ab0c7
make update
2002-01-02 12:44:54 +00:00
Richard Levitte
47cc5525a2
RSA counter should only be defined of RSA is available.
2002-01-02 12:40:38 +00:00
Richard Levitte
67fec850e1
Allow verification of other types than DATA.
...
Submitted by Leonard Janke <leonard@votehere.net >
2002-01-02 11:54:38 +00:00
Richard Levitte
651fa63e2b
Allow verification of other types than DATA.
...
Submitted by Leonard Janke <leonard@votehere.net >
2002-01-02 11:54:32 +00:00
Richard Levitte
82db6e1646
Say that recent CygWin perl versions work as well.
...
Submitted by Eric Hanchrow <erich@votehere.net >
2002-01-02 11:25:17 +00:00
Richard Levitte
6a40c26308
Say that recent CygWin perl versions work as well.
...
Submitted by Eric Hanchrow <erich@votehere.net >
2002-01-02 11:25:11 +00:00
Richard Levitte
b7342e116b
Allow 8-bit characters. This is not really complete, it only marks
...
characters with the highest bit set as HIGHBIT. We need to expand
this to support the UTF-8 character set properly. However, this
solves the problem that the character 0x80 (which is common in UTF-8)
gets masked to 0x00.
Patch submitted by "Huang Yuzhen" <huangyuzhen@bj.tom.com >
2002-01-02 11:06:17 +00:00
Richard Levitte
e7227322b3
Allow 8-bit characters. This is not really complete, it only marks
...
characters with the highest bit set as HIGHBIT. We need to expand
this to support the UTF-8 character set properly. However, this
solves the problem that the character 0x80 (which is common in UTF-8)
gets masked to 0x00.
Patch submitted by "Huang Yuzhen" <huangyuzhen@bj.tom.com >
2002-01-02 11:06:02 +00:00
Richard Levitte
9d7bb313e3
On Solaris64, cc needs the flag -xarch=v9 when linking shared
...
libraries. Make a general change to support shared library
linking flags in general.
Noted by Nick Briggs <briggs@parc.xerox.com >
2002-01-02 10:30:40 +00:00
Richard Levitte
a5595fde9a
On Solaris64, cc needs the flag -xarch=v9 when linking shared
...
libraries. Make a general change to support shared library
linking flags in general.
Noted by Nick Briggs <briggs@parc.xerox.com >
2002-01-02 10:30:07 +00:00
Richard Levitte
00b6ab09fc
Add support for Linux on HP/PA.
...
Submitted by "Bryan W. Headley" <bheadley@interaccess.com >
2002-01-02 10:00:52 +00:00
Richard Levitte
95f8c7195c
Add support for Linux on HP/PA.
...
Submitted by "Bryan W. Headley" <bheadley@interaccess.com >
2002-01-02 10:00:22 +00:00
Ulf Möller
dcbbf83dba
ssl3_read_bytes bug fix
...
Submitted by: D P Chang <dpc@qualys.com >
Reviewed by: Bodo
2001-12-28 17:14:35 +00:00
Ulf Möller
c99b94be3e
ssl3_read_bytes bug fix
...
Submitted by: D P Chang <dpc@qualys.com >
Reviewed by: Bodo
2001-12-28 17:13:10 +00:00
Bodo Möller
3c89d78dba
update FAQ and CHANGES file (0.9.6c has been released)
2001-12-21 12:29:52 +00:00
Bodo Möller
b9bb1c5f77
This should be in 0.9.6c, but somehow escaped from the commit ...
...
But note that 0.9.6c has correct versions of the files autogenerated
from objects.txt (obj_mac.h, obj_dat.h), so libraries built from
the source distribution will not be buggy.
2001-12-21 12:23:05 +00:00
Bodo Möller
87af0e5e19
Fix FAQ, although in case there is another release from this tree,
...
it won't be correct anymore anyway: current version is 0.9.6c.
not 0.9.6b.
(The engine version does not have this typo.)
2001-12-21 12:15:36 +00:00
Richard Levitte
76b5524d3d
Status update
2001-12-21 03:23:20 +00:00
Richard Levitte
84fcd6f83e
Status update
2001-12-21 03:23:15 +00:00
Richard Levitte
0b421d35fb
The release has been tagged, so let's move on to 0.9.6d, which we hope will never be released.
2001-12-21 02:26:39 +00:00
Richard Levitte
b2f570ecbb
Time to release 0.9.6c. The tag will be OpenSSL_0_9_6c
2001-12-21 01:21:23 +00:00
Richard Levitte
988988807f
And just for the sake of completeness, let's add some standard macros...
2001-12-21 01:12:43 +00:00
Richard Levitte
a92ae07091
And just for the sake of completeness, let's add some standard macros...
2001-12-21 01:12:29 +00:00
Richard Levitte
b1b62e7976
Better use the same number in all branches, to avoid confusion
2001-12-21 01:09:07 +00:00
Richard Levitte
68809d3969
Better use the same number in all branches, to avoid confusion
2001-12-21 01:08:40 +00:00
Dr. Stephen Henson
069eb94607
Add missing ERR_LIB_COMP #define
2001-12-21 00:48:45 +00:00
Richard Levitte
5dfaf1c437
make update
2001-12-20 22:25:41 +00:00
Richard Levitte
c6c5cf1754
Do not forget to compile comp_err.c
2001-12-20 22:15:42 +00:00
Richard Levitte
d6a89fcf88
Do not forget to compile comp_err.c
2001-12-20 22:12:10 +00:00
Richard Levitte
ef5f6a08ff
Synchronise with the 0.9.6 branch.
2001-12-20 16:58:26 +00:00
Ulf Möller
3d7b414c55
remove some useless information (change log is in CHANGES)
2001-12-20 12:36:39 +00:00
Ben Laurie
7c517a04b1
Security fix.
2001-12-20 12:18:08 +00:00
Richard Levitte
863b1279f7
Summarize the news.
2001-12-20 11:04:46 +00:00
Bodo Möller
24ceef033a
make sure mklink.pl looks at ERR_load_...
2001-12-19 19:48:51 +00:00
Ulf Möller
fe165e465b
Cygwin patch. Submitted by Michael Kobar <mkobar@lymeware.com>
2001-12-19 19:37:41 +00:00
Ulf Möller
d78e52987e
Cygwin patch. Submitted by Michael Kobar <mkobar@lymeware.com>
2001-12-19 19:37:31 +00:00
Bodo Möller
755cc53a6e
formatting consistency
2001-12-17 19:28:05 +00:00
Bodo Möller
1226c472b7
oops
2001-12-17 19:26:43 +00:00
Bodo Möller
3ece3605ac
remove redundant ERR_load_... declarations
2001-12-17 19:24:39 +00:00
Bodo Möller
4d7072f4b5
remove redundant ERR_load_... declarations
2001-12-17 19:22:23 +00:00
Bodo Möller
b5348a095d
consistency with 0.9.6 stable "CHANGES"
2001-12-17 19:11:03 +00:00
Bodo Möller
b35ef576f4
correction: certain changes have been done *after* 0.9.6b was released
2001-12-17 19:08:39 +00:00
Bodo Möller
66df02fd98
fix BN_rand_range
2001-12-14 10:09:29 +00:00
Bodo Möller
865ce8abcb
fix BN_rand_range
2001-12-14 10:09:01 +00:00
Richard Levitte
206eb6a11d
Change pkcs12 so the certificates coming from -in do not get tossed if
...
-certfile is given as well.
2001-12-12 16:49:02 +00:00
Richard Levitte
f11fd3f4e1
Implement failover for ubsec. Submitted by Subramanian Ramamoorthy
...
<sram@broadcom.com > with the following comment:
[...] We have implemented failover (ie, if for some reason that the
hardware fails, the implementation detects this failure and performs
this operation as if no hardware is present, ie, in software) for
sometime now and have tested it here with our hardware. [...]
This change was cc:ed to exports@crypto.com
2001-12-12 12:53:13 +00:00
Richard Levitte
29b108f939
make update
2001-12-11 10:57:13 +00:00
Ulf Möller
a69b3e94f3
name confusion with HP library function prototype (?)
2001-12-10 18:52:42 +00:00
Ulf Möller
31106cc750
name confusion with HP library function prototype (?)
2001-12-10 18:52:06 +00:00
Ben Laurie
ff3fa48fc7
Improve back compatibility.
2001-12-09 21:53:31 +00:00
Bodo Möller
87166e1fb6
fix warnings (one of them was clearly justified)
2001-12-07 17:02:01 +00:00
Dr. Stephen Henson
7f0f3f17b3
Don't overwrite signing time.
2001-12-07 00:40:53 +00:00
Dr. Stephen Henson
f3e24baddf
Don't overwrite signing time.
2001-12-07 00:36:32 +00:00
Lutz Jänicke
a6977ee73d
HPUX 9.X on m68k with gcc
...
("Anton J. Gamel" <gamel@anna.anatomie.uni-freiburg.de >)
2001-12-06 13:15:51 +00:00
Lutz Jänicke
0bc2e28295
HPUX 9.X on m68k with gcc
...
("Anton J. Gamel" <gamel@anna.anatomie.uni-freiburg.de >)
2001-12-06 13:11:42 +00:00
Richard Levitte
4b16376d51
"UID" is an incorrect lable for the attribute type uniqueIdentifier.
...
Furthermore, it create conflicts with LDAP and some RFCs that define
"UID" as a lable for the attribute type userId (which we haven't even
defined here).
The next question is if we should update objects.txt with the added
stuff from the main trunk.
2001-12-04 11:10:54 +00:00
Richard Levitte
d4704d5245
UID was never a lable for uniqueIdentifier. However, LDAP and certain
...
RFCs concerning X.500 directories use UID as a shorter name for the
attribute type userId, which is defined by CCITT and available through
RFCs 1274 and 2247.
Unfortunately, if some applications have used the name "UID" for the
uniqueIdentifier attribute type, they will produce incorrect results.
However, I found it better to follow the standards that are out there
rather than having our own incompatible one.
2001-12-04 11:01:17 +00:00
Richard Levitte
fe094cdfe3
I was recently informed that some people wrongly use ssleay.txt as
...
main documentation, so let's warn them a little more, so the word
"OBSOLETE" really gets understood.
2001-12-04 07:50:52 +00:00
Richard Levitte
8f0edcb3d2
I was recently informed that some people wrongly use ssleay.txt as
...
main documentation, so let's warn them a little more, so the word
"OBSOLETE" really gets understood.
2001-12-04 07:38:17 +00:00
Bodo Möller
35e25255e0
crypto/objects stuff
2001-12-03 14:03:23 +00:00
Bodo Möller
276753772e
crypto/objects stuff
2001-12-03 13:54:58 +00:00
Bodo Möller
c3fbf5d9a8
Fix: 2.5.29 is "id-ce", not "ld-ce" (sort of a typo in objects.h).
...
Fix (?): Delete 'ip-pda 6' (id-pda-pseudonym) because it does not exist
in RFC 3039.
Also change Perl scripts to put auto-generation warning in the
first lines of the file.
2001-12-03 13:47:22 +00:00
Bodo Möller
16712ec35e
Fix: 2.5.29 is "id-ce", not "ld-ce" (sort of a typo in objects.h).
...
Fix: Some ip-pda OIDs were incorrect (cf. RFC 3039).
Also change Perl scripts to put auto-generation warning in the
first lines of the file.
2001-12-03 13:44:24 +00:00
Dr. Stephen Henson
55e42c93a8
EVP_BytesToKey documentation.
2001-12-03 03:07:37 +00:00
Dr. Stephen Henson
6a0dec9584
Make EVP_SealInit() return the correct value.
2001-12-01 23:09:38 +00:00
Dr. Stephen Henson
21a85f1977
Add -pubkey option to req command.
2001-12-01 23:03:30 +00:00
Dr. Stephen Henson
322de0c8c1
NO_DSA, NO_RSA patches.
2001-12-01 22:41:39 +00:00
Lutz Jänicke
6a9af68b56
Support for QNX (wrat@jump.net (the wharf rat)).
2001-11-30 09:38:57 +00:00
Lutz Jänicke
4e6c537141
Support for QNX 6 (wrat@jump.net (the wharf rat)).
2001-11-30 09:36:15 +00:00
Richard Levitte
b6e4dac217
Certain missing algorithms make some SSL versions or TLS impossible to
...
build.
2001-11-27 11:48:30 +00:00
Bodo Möller
1b0613e313
discuss -name and default_ca more correctly (I hope)
2001-11-26 12:14:22 +00:00
Bodo Möller
8a0a9392ab
discuss -name and default_ca more correctly (I hope)
2001-11-26 12:13:50 +00:00
Geoff Thorpe
bcbe4e5254
This looks to have been a typo.
2001-11-24 04:02:42 +00:00
Bodo Möller
47ff5c6279
For future portability reasons MIT is moving all macros to function
...
calls. This patch allows compilation either way.
Submitted by: Jeffrey Altman <jaltman@columbia.edu >
2001-11-23 21:50:50 +00:00
Bodo Möller
898f856c44
info on 0.9.6 engine branch
2001-11-23 21:12:44 +00:00
Bodo Möller
75140e8bc9
update with info on engine branch
2001-11-23 21:11:46 +00:00
Bodo Möller
883b0c2274
fix submitted by Andy Schneider <andy.schneider@bjss.co.uk>
...
(in main branch, hn_ncipher.c is already correct)
2001-11-23 20:58:40 +00:00
Bodo Möller
f717e5460f
fix submitted by Andy Schneider <andy.schneider@bjss.co.uk>
2001-11-23 20:57:59 +00:00
Bodo Möller
65129e1d57
OS/390 support
...
Submitted by: Richard Shapiro <rshapiro@abinitio.com >
2001-11-22 11:26:54 +00:00
Bodo Möller
2a6db68797
OS/390 support
...
Submitted by: Richard Shapiro <rshapiro@abinitio.com >
2001-11-22 11:15:00 +00:00
Bodo Möller
4f94d1a8b1
check OPENSSL_NO_... before including header files that might be
...
disabled
2001-11-22 11:13:10 +00:00
cvs2svn
2b98d1ccb7
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-11-22 11:09:43 +00:00
Bodo Möller
1d4581c2dd
OS/390 support
...
Submitted by: Richard Shapiro <rshapiro@abinitio.com >
2001-11-22 11:09:42 +00:00
Bodo Möller
c05940edc7
comment
2001-11-22 11:08:38 +00:00
Geoff Thorpe
c507a16e49
Cut "ENGINE_ID" to the more concise "ID".
2001-11-22 10:08:49 +00:00
Geoff Thorpe
308f028e28
In this particular error condition, the structural reference wasn't being
...
released.
2001-11-22 09:20:08 +00:00
Geoff Thorpe
e4a6cf421a
When the "dynamic" ENGINE loads another ENGINE from a shared-library, it
...
essentially overwrites itself with the new ENGINE, with the exception of
reference counts, ex_data structures, and other 'admin' elements. However
if the new ENGINE doesn't populate certain elements, there's the risk of
the "dynamic" ENGINE's elements showing through - the "cmd_defns" were just
one of the possibilities. This implements a more comprehensive cleanup.
2001-11-22 09:13:18 +00:00
Geoff Thorpe
329636d6e3
The "openssl" ENGINE is no longer used except as a testing/debugging
...
device. This change enables it for building as a self-contained "dynamic"
ENGINE, to help testing such mechanisms.
2001-11-22 09:01:11 +00:00
Geoff Thorpe
9163b8fb23
'flags' should only be set inside DSO_load() if constructing a new DSO
...
object - otherwise we overwrite any flags that had been previously set in
the DSO before calling DSO_load().
2001-11-22 08:48:09 +00:00
Richard Levitte
ce8ac3dc00
Extentions of the explanations to the linking problem on Win32. Provided by Andrew Gray <agray@iconsinc.com>
2001-11-19 20:46:47 +00:00
Richard Levitte
a542db90c6
Extentions of the explanations to the linking problem on Win32. Provided by Andrew Gray <agray@iconsinc.com>
2001-11-19 20:46:35 +00:00
Lutz Jänicke
c156d5c9bd
Clarify reference count handling/removal of session
...
(shinagawa@star.zko.dec.com ).
2001-11-19 11:12:30 +00:00
Lutz Jänicke
a7ce69dbd7
Clarify reference count handling/removal of session
...
(shinagawa@star.zko.dec.com ).
2001-11-19 11:11:23 +00:00
Richard Levitte
54b293ec3c
On VMS, the norm is still that symbols are uppercased, so for now it's better
...
to trust that norm. I might implement a control for this later on
2001-11-16 13:13:09 +00:00
Richard Levitte
9d93ce246c
On VMS, the norm is still that symbols are uppercased, so for now it's better
...
to trust that norm. I might implement a control for this later on
2001-11-16 13:12:19 +00:00
Bodo Möller
76c4336c43
wNAFs use does not bring that much performance on Sparcs (where
...
elliptic curves are are relatively faster than on PCs anyway)
2001-11-16 12:02:01 +00:00
Bodo Möller
e71adb85c5
avoid stupid compiler warning
2001-11-16 11:37:36 +00:00
Richard Levitte
033c51f0a3
Build dynamic rsaref engine on VMS. Tested on VAX so far.
2001-11-16 09:14:06 +00:00
Richard Levitte
452d1595a6
End assembler macro correctly.
...
On VAX, all global variables are accessed through functions, so skip
doing transfer entries for variables.
Forgot the looping gotos.
2001-11-16 09:09:15 +00:00
Richard Levitte
0d197a833c
On systems that don't do too well including headers from a different
...
directory, trust the building scripts to handle it properly.
2001-11-16 08:54:34 +00:00
Richard Levitte
e0031b80ee
Make sure evp_locl.h can be included (hw_openbsd_dev_crypto.c needs that).
2001-11-16 08:52:56 +00:00
Bodo Möller
b19941ab05
comment
2001-11-16 06:22:21 +00:00
Bodo Möller
752938daab
use a more interesting test case
2001-11-16 06:22:05 +00:00
Bodo Möller
c78515f55e
comments etc.
2001-11-15 22:35:41 +00:00
Bodo Möller
3ba1f11147
Improve EC efficiency.
2001-11-15 22:32:11 +00:00
Richard Levitte
bbc206fdf7
A missing comma added.
2001-11-15 22:29:02 +00:00
Richard Levitte
2bd065dfbe
make update
2001-11-15 20:24:00 +00:00
Richard Levitte
6d7dbc12f2
Add MD digests.
...
And this finishes this engine, it now offers all ciphers and digests
that RSAref 2.0 has.
2001-11-15 20:23:29 +00:00
Richard Levitte
83c40e7fc0
Make it possible to give digest names as -evp arguments.
2001-11-15 20:19:40 +00:00
Richard Levitte
b5fe234588
Add DES functions.
...
Restructure the code and comment it a bit.
Prepare for the presence of digests.
2001-11-15 18:52:28 +00:00
Richard Levitte
e1a00d7d1d
If an engine isn't built in, try loading it as a shareable library
...
instead. This also makes it possible for users to simply give said
shareable library as argument for the -engine option.
2001-11-15 18:48:42 +00:00
Richard Levitte
acf60ef707
At least for the two common Unixly DSO loading methods, include the
...
system error in the error text.
2001-11-15 18:24:42 +00:00
Richard Levitte
c85a157854
Use the generated error code files.
2001-11-15 16:57:36 +00:00
Richard Levitte
0c5d16e4f5
'make update' + some touches.
2001-11-15 16:57:00 +00:00
Richard Levitte
bd2af5e707
Add targets to update the error code files.
2001-11-15 16:56:17 +00:00
Richard Levitte
58d55afa6f
Add a local error code configuration file for the rsaref dynamic
...
engine.
2001-11-15 16:53:50 +00:00
Richard Levitte
6343e2fac3
Make it possible to build completely static, independent error C
...
files.
2001-11-15 16:52:10 +00:00
Richard Levitte
5a8e7c5bec
Restore extern "C" balance.
2001-11-15 14:33:49 +00:00
Richard Levitte
75df0bb231
perl util/mkerr.pl -recurse -write -rebuild
2001-11-15 12:44:57 +00:00
Richard Levitte
22b540f5c2
make update
...
perl util/mkdef.pl crypto update rewrite
2001-11-15 12:41:39 +00:00
Richard Levitte
479275ef18
make update
...
perl util/mkdef.pl crypto update rewrite
2001-11-15 12:36:30 +00:00
Richard Levitte
b476df64a1
make update
...
perl util/mkerr.pl -recurse -write -rebuild
2001-11-15 12:25:14 +00:00
Richard Levitte
6f3fa4b71d
Apply the following changes from the main trunk:
...
2001-03-08 13:14 bodo
* util/mkerr.pl (1.14): Change mkerr.pl so that it puts the
ERR_load_..._strings() prototype in header files that it writes.
2001-05-10 02:07 steve
* util/mkerr.pl (1.15): Fix to allow multiple NONE libraries in
mkerr.pl .
2001-11-15 12:18:01 +00:00
Geoff Thorpe
2f4dca7052
The change in the HEAD to not cache gethostbyname() values made two
...
functions redundant - which were later commented out. This does the same
for the merge of the gethostbyname() change to 0.9.6-stable.
2001-11-15 01:56:10 +00:00
Richard Levitte
1d46b6b3b9
Make use of RSAref's header files instead of EAY's crafted rsaref.h.
2001-11-14 23:39:01 +00:00
Richard Levitte
bbb35447c4
In a Debian Linux environment, it's not a good idea, apparently, to
...
manually declare the include directory /usr/include at the same time
as the macro PROTOTYPES is defined with the value 1. Besides,
/usr/include is the standard include directory anyway, so there's no
need to specify it explicitely.
2001-11-14 23:25:46 +00:00
Richard Levitte
6276f1e100
Add a demo that reimplements the RSAref glue in form of a dynamically
...
loadable engine.
2001-11-14 22:42:35 +00:00
Richard Levitte
5b8a57ecae
After loading a dynamic engine, reset the command definitions to the
...
empty set. This prevents engines that do not set the command
definitions themselves to inherit the ones from "dynamic", which would
otherwise be very confusing.
2001-11-14 22:32:19 +00:00
Richard Levitte
817dfc18a3
Change the order of events so the capabilities of loaded engines can
...
get listed as well.
2001-11-14 22:30:17 +00:00
Bodo Möller
0b0b2a8087
remove obsolete entry
2001-11-14 21:21:47 +00:00
Bodo Möller
7b78aa0e8d
remove obsolete entry
2001-11-14 21:21:04 +00:00
Bodo Möller
c37e7bf580
fix warning
2001-11-14 21:19:47 +00:00
Bodo Möller
c23d16ac19
cast to unsigned int, not to int to avoid the warning -- all these
...
values really are unsigned
2001-11-14 21:18:35 +00:00
Bodo Möller
926606deab
consistency between main branch and stable branch
2001-11-14 21:18:30 +00:00
Bodo Möller
1b28ed575b
consistency between main branch and stable branch
2001-11-14 21:17:39 +00:00
Richard Levitte
135c0af1bb
Implement STARTTLS for certain protocols, currently only supporting SMTP.
2001-11-14 13:57:52 +00:00
Richard Levitte
f98c9972a7
Remove temporary files
2001-11-14 10:59:35 +00:00
Richard Levitte
475918410b
Remove temporary files
2001-11-14 10:58:37 +00:00
Richard Levitte
3102792161
unsigned int vs. int.
2001-11-14 10:55:29 +00:00
Richard Levitte
a291182757
Exclude .out files
2001-11-14 10:53:47 +00:00
Richard Levitte
df7cae352d
Apply the following changes from the main trunk:
...
2001-10-10 16:46 levitte
* Configure (1.294), Makefile.org (1.142): For systems where gcc is
used and where we don't know if GNU ld is used or not, let's ask
collect2 which ld it uses and choose to use the target
do-gnu_shared if GNU ld is used.
This solves the reported problems on Solaris systems where GNU cc
is used but GNU ld isn't, and probably on other systems with
similar setups.
2001-11-14 10:44:13 +00:00
Richard Levitte
eda75c31e3
Apply the following changes from the main trunk:
...
2001-06-05 06:41 levitte
* Makefile.org (1.137): Small detail about AIX forgotten...
2001-11-14 10:08:55 +00:00
Richard Levitte
2e689f6040
Apply the following changes from the main trunk:
...
2001-02-13 14:08 levitte
* Configure (1.251): Update of linux-ppc. Contributed by MATSUURA
Takanori <t-matsuu@protein.osaka-u.ac.jp >
2001-11-14 09:45:30 +00:00
Richard Levitte
ea494f7b88
Apply the following changes from the main trunk:
...
2001-04-27 23:33 levitte
* Makefile.org (1.135): A method to create shared libraries on AIX,
and according to "Howard Chu" <hyc@highlandsun.com >, it may be
general enough to work on any Unixly system.
2001-11-14 09:44:37 +00:00
Richard Levitte
8250f6f1fc
Apply the following changes from the main trunk:
...
2001-04-26 22:17 levitte
* Makefile.org (1.134): Linux shared libraries can be linked with
debug symbols. Tru64 shared libraries can be linked with static
libraries.
2001-11-14 09:38:55 +00:00
Richard Levitte
eb0c85dec3
Apply the following changes from the main trunk:
...
2001-01-10 17:43 bodo
* Makefile.org (1.118): Pass ${PERL} down to the Makefile in
sub-directory "test" in "make tests"
2001-01-10 17:40 bodo
* Makefile.org (1.117): Use $(PERL) in place of hard-coded perl
2001-11-14 08:26:55 +00:00
Richard Levitte
9332b8c1c4
Apply the following change from the main trunk:
...
2000-12-01 02:11 levitte
* Configure (1.243), config (1.71): Recognise Darwin as well. For
now, have it do exactly the same thing as for Rhapsody
2001-11-14 08:18:07 +00:00
Richard Levitte
7be09992c6
Apply the following change from the main trunk:
...
2000-11-14 12:05 jaenicke
* Makefile.org (1.115): 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' :-)
2001-11-14 08:08:04 +00:00
Richard Levitte
ceea4c85b4
Apply the following change from the main trunk:
...
2000-11-01 01:05 levitte
* Configure (1.236), Makefile.org (1.110), CHANGES (1.640): Add
support for shared libraries under Irix. Submitted by Albert
Chin-A-Young <china@thewrittenword.com >
2001-11-14 08:06:42 +00:00
Richard Levitte
d1ec197e49
Apply the following change from the main trunk:
...
2000-11-01 01:05 levitte
* Configure (1.236), Makefile.org (1.110), CHANGES (1.640): Add
support for shared libraries under Irix. Submitted by Albert
Chin-A-Young <china@thewrittenword.com >
2001-11-14 07:52:33 +00:00
Richard Levitte
f4d9cdc531
Make default attributes consistent in all sub-packages (and thereby
...
closer to the main trunk).
2001-11-14 07:42:39 +00:00
Richard Levitte
e3f47ba87f
Correct the order of the changes.
2001-11-14 07:23:45 +00:00
Richard Levitte
ab665f4a7e
Apply the following change from the main trunk:
...
2000-11-01 00:14 levitte
* Configure (1.234), config (1.68), CHANGES (1.638): Add
configuration option to build on Linux on both big-endian and
little-endian MIPS. Submitted by Ralf Baechle
<ralf@uni-koblenz.de >
2001-11-14 07:18:47 +00:00
Richard Levitte
35ff595e19
Apply the following change from the main trunk:
...
2000-10-22 23:37 levitte
* Makefile.org (1.106): 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.
2001-11-14 07:08:10 +00:00
Richard Levitte
be2c37ef73
Apply the following change from the main trunk:
...
2000-10-22 00:05 levitte
* Configure (1.232): 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.
2001-11-14 07:01:34 +00:00
Richard Levitte
888b8f32d7
Apply the following change from the main trunk:
...
2000-10-21 23:24 levitte
* CHANGES (1.631), Configure (1.231), Makefile.org (1.104):
Add what's needed to get shared libraries on HP-UX.
2001-11-14 06:59:15 +00:00
Richard Levitte
962c53c0cd
That was incorrect. Revert.
2001-11-13 11:21:23 +00:00
Richard Levitte
ce6f656e1b
Apply change from revision 1.101 (2000-10-09 02:50 levitte):
...
Make sure ranlib is only used on .a libraries.
2001-11-13 11:10:29 +00:00
Bodo Möller
9cb12c9d76
update FAQ from main branch
2001-11-13 08:57:58 +00:00
Bodo Möller
f089efdfab
synchronise with HEAD branch,
...
remove redundant name OpenUNIX for OpenUNIX-8 configuration
2001-11-12 23:29:23 +00:00
Bodo Möller
b26ca3408c
synchronise with 0.9.6 stable branch
2001-11-12 23:22:29 +00:00
Bodo Möller
a236373435
information on 0.9.6c-engine
2001-11-12 22:13:28 +00:00
Bodo Möller
83978bd37a
information on 0.9.6c-engine
2001-11-12 22:10:15 +00:00
Mark J. Cox
a3790c0d01
Phew, finished
...
Submitted by:
Reviewed by:
PR:
2001-11-12 20:30:01 +00:00
Mark J. Cox
63b6090f7c
I've still got one left; the backport of the Broadcom UBSEC driver to
...
0.9.6 that we've got - just waiting for clearance on that one
Submitted by:
Reviewed by:
PR:
2001-11-12 15:32:11 +00:00
Bodo Möller
c5571db0c2
Add unixware-7-gcc as in 0.9.6 branch (except that we need a 'sys_id'
...
field here, which is left empty).
Various configurations are *only* in the 0.9.6 branch at the moment:
OpenUNIX
OpenUNIX-8-gcc-shared
OpenUNIX-8-shared
Either Configure or CHANGES must be changed to rectify the situation.
2001-11-12 15:31:39 +00:00
Bodo Möller
7d555c8615
order entries as in main branch
2001-11-12 15:25:17 +00:00
Bodo Möller
d63b1678b5
'make update'
2001-11-12 15:15:46 +00:00
Mark J. Cox
beaa89def7
Sync ia64.S in 0.9.6c-dev with ia64.S in 0.9.7 (some fixes had been
...
applied since the initial patch was created)
Submitted by:
Reviewed by:
PR:
2001-11-12 14:08:49 +00:00
Mark J. Cox
b4bf34ce39
Add an entry for gcc on UnixWare
...
Submitted by: Gary Benson
Reviewed by: Mark Cox
PR:
2001-11-12 13:22:14 +00:00
Mark J. Cox
f99ac98efb
Add assembler implementation for IA-64
...
Submitted by: Andy Polyakov
Reviewed by: Mark Cox
PR:
2001-11-12 12:49:25 +00:00
Bodo Möller
e0457d5f7c
the PRNG race conditions were mostly a theoretical issue, remove from NEWS
2001-11-12 11:33:38 +00:00
Bodo Möller
c615cdd7cb
the PRNG race conditions were mostly a theoretical issue, remove from NEWS
2001-11-12 11:33:07 +00:00
Bodo Möller
ae52ec9869
add changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c
2001-11-12 11:28:15 +00:00
Bodo Möller
e7d339b678
add changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c
2001-11-12 11:27:34 +00:00
Bodo Möller
3f64d0bf3b
synchronize with HEAD branch
2001-11-12 11:22:45 +00:00
Dr. Stephen Henson
0b33bc6b72
Add an FAQ.
2001-11-12 01:58:50 +00:00
Bodo Möller
7aa983c6db
Order chronologically: move entry for recent s2_clnt.c/s2_srvr.c fixes
...
(nearly) to the top.
Move msg_callback entry to the top as the implementation for SSL 2.0
is based on the s2_clnt.c/s2_srvr.c changes.
2001-11-10 15:14:00 +00:00
Bodo Möller
fab972b914
order chronologically: move entry for recent s2_clnt.c/s2_srvr.c fixes to the top
2001-11-10 15:09:47 +00:00
Bodo Möller
2b90b1f344
make code a little more similar to what it looked like before the fixes,
...
call ssl2_part_read again to parse error message
2001-11-10 10:44:15 +00:00
Bodo Möller
a10b85d9e6
make code a little more similar to what it looked like before the fixes
2001-11-10 10:43:51 +00:00
Bodo Möller
44cc9715ec
remove incorrect 'callback' prototype
2001-11-10 02:14:43 +00:00
Bodo Möller
65123f8064
remove incorrect 'callback' prototype
2001-11-10 02:12:56 +00:00
Bodo Möller
1d8634b110
msg_callback documentation
2001-11-10 02:12:09 +00:00
Bodo Möller
29e0c30c2a
more output for SSL 2.0 in our msg_callback
2001-11-10 01:17:02 +00:00
Bodo Möller
cf82191d77
Implement msg_callback for SSL 2.0.
...
Important SSL 2.0 bugfixes (bugs found while implementing msg_callback).
2001-11-10 01:16:28 +00:00
Bodo Möller
a807f6460e
important SSL 2.0 bugfixes
2001-11-10 01:15:29 +00:00
Bodo Möller
3a8a0a3945
2001, not 2000
2001-11-09 13:15:05 +00:00
Bodo Möller
19c3f1c40d
typo
2001-11-09 13:10:47 +00:00
Bodo Möller
c5d4ab7e35
adjust to OpenSSL_0_9_6-stable version
2001-11-09 13:09:11 +00:00
Bodo Möller
b30504c61c
fix warning
2001-11-09 13:03:12 +00:00
Bodo Möller
cbb5f1f025
cast to 'unsigned long' before using ~ if we need an unsigned long result
...
Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net >
2001-11-09 12:59:15 +00:00
Bodo Möller
b955dbd325
cast to 'unsigned long' before using ~ if we need an unsigned long result
...
Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net >
2001-11-09 12:58:05 +00:00
Bodo Möller
45582d1e2b
clarify
2001-11-08 14:54:21 +00:00
Bodo Möller
b8556ab14b
clarify
2001-11-08 14:52:40 +00:00
Bodo Möller
48c269ad7f
Don't define _REENTRANT here in e_os.h. On systems where we need
...
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.
2001-11-08 14:36:49 +00:00
Bodo Möller
60c50cbf9c
Don't define _REENTRANT here in e_os.h. On systems where we need
...
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.
2001-11-08 14:32:06 +00:00
Dr. Stephen Henson
3a3619b46a
PKCS#12 code fixes: initialize and cleanup digests and ciphers
...
properly.
2001-11-06 13:54:48 +00:00
Dr. Stephen Henson
b83eddc578
Win32 fixes.
2001-11-06 13:40:27 +00:00
Richard Levitte
7f558334ad
des_old.h doesn't really need to include des.h, so don't. That will
...
avoid clashes with other code that have their own DES_ functions but
really only use OpenSSL's old des_ functions.
2001-11-06 11:37:14 +00:00
Dr. Stephen Henson
6229a5607c
Fix email address delete code.
2001-11-06 01:44:21 +00:00
Richard Levitte
6acc3b9689
Place the OpenSSL-specific headers back so they always get included,
...
or we get a dependency war in Makefile.ssl
2001-11-05 18:18:12 +00:00
Richard Levitte
66aa856698
No need to include anything on systems that do not have /dev/crypt
2001-11-05 12:44:14 +00:00
Richard Levitte
f559f31bef
DOS and Windows do not like unistd.h
2001-11-05 12:43:17 +00:00
Ben Laurie
3210b4fd14
If verify fails, say why.
2001-11-02 13:29:14 +00:00
Richard Levitte
a7b42009c4
Change the shared library support so the shared libraries get built
...
sooner and the programs get built against the shared libraries.
This requires a bit more work. Things like -rpath and the possibility
to still link the programs statically should be included. Some
cleanup is also needed. This will be worked on.
2001-10-30 08:00:59 +00:00
Richard Levitte
d6945e10b5
Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names
2001-10-29 13:06:29 +00:00
Richard Levitte
7b5ffd6834
Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names
2001-10-29 13:05:28 +00:00
Dr. Stephen Henson
9b55da73ca
Another noemailDN fix.
2001-10-27 17:53:06 +00:00
Dr. Stephen Henson
e7156ff2e8
Allow ca to certify requests containing BMPStrings and UTF8Strings.
2001-10-27 17:04:47 +00:00
Dr. Stephen Henson
437db75b94
Bugfixes for noemailDN option. Make it use the
...
correct name (instead of NULL) if nomailDN is
not set, fix memory leaks and retain DN structure
when deleting emailAddress.
2001-10-27 17:03:20 +00:00
Dr. Stephen Henson
1586365835
Stop compiler warnings.
2001-10-27 00:18:04 +00:00
Dr. Stephen Henson
7d5b04db4e
Add support for Subject Info Acess extension.
2001-10-27 00:16:53 +00:00
Bodo Möller
48b0cf8b10
Note BUF_MEM_grow() consistency fix.
2001-10-26 14:06:33 +00:00
Bodo Möller
70bed0ca2d
typo
2001-10-26 14:03:51 +00:00
Bodo Möller
b693f941fd
Consistency fix in BUF_MEM_grow: Initialise to zero when new memory
...
had to be allocated, not just when reusing the existing buffer.
2001-10-26 13:12:25 +00:00
Bodo Möller
c602e7f4e8
disable caching in BIO_gethostbyname
2001-10-26 13:04:23 +00:00
Bodo Möller
e20788700c
disable caching in BIO_gethostbyname
2001-10-26 13:03:28 +00:00
Dr. Stephen Henson
1fc6d41bf6
New options to allow req to accept UTF8 strings as input.
2001-10-26 12:40:38 +00:00
Ulf Möller
a41477f92e
remove compatibility notes that no longer apply
2001-10-25 17:45:25 +00:00
Richard Levitte
5f68c5feef
Correct some links...
2001-10-25 16:56:06 +00:00
Richard Levitte
ee84a5a7fb
Change the DES documentation to reflect the current status. Note that
...
some password reading functions are really part of the UI
compatibility library...
2001-10-25 16:55:17 +00:00
Richard Levitte
66d3e7481e
Make sure openssl speed is compilable on systems where fork() doesn't
...
exist. For now, that's all the ones we "support" except Unix.
2001-10-25 16:08:17 +00:00
Ben Laurie
0e21156333
Add paralellism to speed - note that this currently causes a weird memory leak.
2001-10-25 14:27:17 +00:00
Ben Laurie
f533b7780e
Fix warning.
2001-10-25 14:24:59 +00:00
Bodo Möller
cc2f5a8022
Like MD_Init, MD now must include a NULL engine pointer in its definition.
2001-10-25 08:53:54 +00:00
Bodo Möller
b441bf9226
remove redundant definitions that are also in des.h
2001-10-25 08:46:10 +00:00
Bodo Möller
2a9aca32dc
mention des_old.h
2001-10-25 08:44:10 +00:00
Bodo Möller
b60806a097
'make update'
2001-10-25 08:36:22 +00:00
Bodo Möller
89da653fa6
Add '-noemailDN' option to 'openssl ca'. This prevents inclusion of
...
the e-mail address in the DN (i.e., it will go into a certificate
extension only). The new configuration file option 'email_in_dn = no'
has the same effect.
Submitted by: Massimiliano Pala madwolf@openca.org
2001-10-25 08:25:19 +00:00
Bodo Möller
af50b58c3f
filenames are des_old.[ch], not des.comp*
2001-10-25 08:23:13 +00:00
Bodo Möller
0b9925be4f
Consistency with s2_... and s23_... variants (no real functional
...
change)
2001-10-25 08:18:56 +00:00
Bodo Möller
3e9ae0c462
Oops
2001-10-25 08:18:36 +00:00
Bodo Möller
4d635a7001
Consistency with s2_... and s23_... variants (no real functional
...
change)
2001-10-25 08:17:53 +00:00
Richard Levitte
ce15d5a9dc
Remove DES_random_seed() but retain des_random_seed() for now. Change
...
the docs to reflect this change and correct libeay.num.
2001-10-25 06:46:22 +00:00
Bodo Möller
ba1c602281
Assume TLS 1.0 when ClientHello fragment is too short.
2001-10-25 06:09:51 +00:00
Bodo Möller
96ec4ce0d2
Assume TLS 1.0 if ClientHello fragment is too short.
2001-10-25 06:06:50 +00:00
Richard Levitte
cfc781be6e
Have the removal warnings very high up in the source.
2001-10-25 05:37:10 +00:00
Richard Levitte
84acc3c2bc
A C file is a C file is a C file!
2001-10-24 21:31:14 +00:00
Richard Levitte
c2e4f17c1a
Due to an increasing number of clashes between modern OpenSSL and
...
libdes (which is still used out there) or other des implementations,
the OpenSSL DES functions are renamed to begin with DES_ instead of
des_. Compatibility routines are provided and declared by including
openssl/des_old.h. Those declarations are the same as were in des.h
when the OpenSSL project started, which is exactly how libdes looked
at that time, and hopefully still looks today.
The compatibility functions will be removed in some future release, at
the latest in version 1.0.
2001-10-24 21:21:12 +00:00
Bodo Möller
38b3e9edde
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
...
never resets s->method to s->ctx->method when called from within one
of the SSL handshake functions.
2001-10-24 19:05:26 +00:00
Bodo Möller
979689aa5c
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
...
never resets s->method to s->ctx->method when called from within
one of the SSL handshake functions.
2001-10-24 19:03:22 +00:00
Richard Levitte
a3faebd104
Deprecate the macro MAC_OS_pre_X.
2001-10-24 15:32:53 +00:00
Richard Levitte
025c7737b2
make update
2001-10-24 15:32:14 +00:00
Richard Levitte
513d4b4c16
make update
2001-10-24 08:27:22 +00:00
Richard Levitte
7ef701519b
Correction of the id-pda OID's.
...
Submitted by Frederic.Giudicelli@INTRINsec.com
2001-10-23 14:30:57 +00:00
Dr. Stephen Henson
50d194af4d
Sanitize CHANGES entry.
2001-10-23 00:54:58 +00:00
Bodo Möller
287973746e
Fix memory leak.
2001-10-22 13:59:36 +00:00
Dr. Stephen Henson
f1558bb424
Reject certificates with unhandled critical extensions.
2001-10-21 02:09:15 +00:00
Dr. Stephen Henson
6ca487992b
Stop spurious "unable to load config info" errors in req
2001-10-21 01:05:53 +00:00
Bodo Möller
cf3a5cebd7
Call msg_callback with correct length parameter if ssl3_write_bytes had to
...
be called multiple times
2001-10-20 18:56:01 +00:00
Bodo Möller
a661b65357
New functions SSL[_CTX]_set_msg_callback().
...
New macros SSL[_CTX]_set_msg_callback_arg().
Message callback imlementation for SSL 3.0/TLS 1.0 (no SSL 2.0 yet).
New '-msg' option for 'openssl s_client' and 'openssl s_server'
that enable a message callback that displays all protocol messages.
In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if
client_version is smaller than the protocol version in use.
Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0
if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the
client will at least see that alert.
Fix SSL[_CTX]_ctrl prototype (void * instead of char * for generic
pointer).
Add/update some OpenSSL copyright notices.
2001-10-20 17:56:36 +00:00
Bodo Möller
9ccadf1c6f
In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if
...
client_version is smaller than the protocol version in use.
Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0
if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the
client will at least see that alert.
2001-10-20 17:52:40 +00:00
Dr. Stephen Henson
1e55e768c3
Typo.
2001-10-20 16:23:18 +00:00
Dr. Stephen Henson
98e6654938
Typo.
2001-10-20 16:22:28 +00:00
Dr. Stephen Henson
cecd263878
Add missing EVP_CIPHER_CTX_{init,cleanup}
2001-10-20 16:18:03 +00:00
Bodo Möller
31fe950d2b
gcc complained about "write" being shadowed even though the "write"
...
variable name occured just in a function *prototype* -- so rename it
2001-10-17 20:44:25 +00:00
Richard Levitte
db6a87d8cc
Wrong place...
2001-10-17 17:54:17 +00:00
Richard Levitte
7beb408771
The EVP_*Init_ex() functions take one extra argument. Let's default
...
it to NULL.
2001-10-17 16:03:42 +00:00
Bodo Möller
51008ffce1
document SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
2001-10-17 11:56:26 +00:00
Dr. Stephen Henson
3811eed8d5
Update docs.
2001-10-17 01:50:32 +00:00
Dr. Stephen Henson
581f1c8494
Modify EVP cipher behaviour in a similar way
...
to digests to retain compatibility.
2001-10-17 00:37:12 +00:00
Lutz Jänicke
b914a547e1
Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
2001-10-16 14:25:27 +00:00
Lutz Jänicke
41ebed27fa
Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
2001-10-16 14:24:46 +00:00
Bodo Möller
bf21446a2a
Add per-SSL 'msg_callback' with 'msg_callback_arg'.
...
Both have per-SSL_CTX defaults.
These new values can be set by calling SSL[_CTX]_[callback_]ctrl
with codes SSL_CTRL_SET_MSG_CALLBACK and SSL_CTRL_SET_MSG_CALLBACK_ARG.
So far, the callback is never actually called.
Also rearrange some SSL_CTX struct members (some exist just in
SSL_CTXs, others are defaults for SSLs and are either copied
during SSL_new, or used if the value in the SSL is not set;
these three classes of members were not in a logical order),
and add some missing assignments to SSL_dup.
2001-10-16 13:09:24 +00:00
Dr. Stephen Henson
e72d734d5f
Update docs.
2001-10-16 02:22:59 +00:00
Dr. Stephen Henson
20d2186c87
Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
...
with existing code.
Modify library to use digest *_ex() functions.
2001-10-16 01:24:29 +00:00
Bodo Möller
9ba3ec9176
The message header for fake SSL 3.0/TLS 1.0 client hellos created from
...
SSL 2.0 client hellos added with the previous commit was totally wrong --
it must start with the message type, not the protocol version.
(Not that this particular header is actually used anywhere ...)
2001-10-16 00:56:04 +00:00
Bodo Möller
8f71fb8d98
For consistency, set s->init_num in the 'reuse_message' case
...
(if s23_srvr.c faked the message, s->init_num is 0).
2001-10-15 20:16:36 +00:00
Bodo Möller
48948d53b6
Change ssl3_get_message and the functions using it so that complete
...
'Handshake' protocol structures are kept in memory, including
'msg_type' and 'length'.
(This is in preparation of future support for callbacks that get to
peek at handshake messages and the like.)
2001-10-15 19:49:25 +00:00
Bodo Möller
dbec19622e
make sure .rnd exists
2001-10-15 17:58:00 +00:00
Bodo Möller
03b148f4a9
make sure .rnd exists
2001-10-15 17:57:27 +00:00
Bodo Möller
2dbdcd9734
Fix ssl3_get_message to handle message fragmentation correctly.
2001-10-15 17:42:43 +00:00
Bodo Möller
2ce15df528
Fix ssl3_get_message handle message fragmentation correctly.
2001-10-15 17:41:41 +00:00
Bodo Möller
681bfae499
the previous commit accidentily removed 'ret = 1' from the SSL_ST_OK
...
case of ssl3_accept
2001-10-15 17:40:42 +00:00
Bodo Möller
1147fa5a5f
the previous commit accidentily removed 'ret = 1' from the SSL_ST_OK
...
case of ssl3_accept
2001-10-15 17:40:22 +00:00
Ulf Möller
a9eba3f3f5
openbsd-x86 macros
...
Submitted by: Toomas Kiisk <vix@cyber.ee >
2001-10-14 00:58:32 +00:00
Ulf Möller
5dd955dcd2
openbsd-x86 macros
...
Submitted by: Toomas Kiisk <vix@cyber.ee >
2001-10-14 00:57:30 +00:00
Lutz Jänicke
aa8a33c230
Update information as a partial response to the post
...
From: "Chris D. Peterson" <cpeterson@aventail.com >
Subject: Implementation Issues with OpenSSL
To: openssl-users@openssl.org
Date: Wed, 22 Aug 2001 16:13:17 -0700
The patch included in the original post may improve the internal session
list handling (and is therefore worth a seperate investigation).
No change to the list handling will however solve the problems of incorrect
SSL_SESSION_free() calls. The session list is only one possible point of
failure, dangling pointers would also occur for SSL object currently
using the session. The correct solution is to only use SSL_SESSION_free()
when applicable!
2001-10-12 12:29:57 +00:00
Lutz Jänicke
56fa8e69cf
Update information as a partial response to the post
...
From: "Chris D. Peterson" <cpeterson@aventail.com >
Subject: Implementation Issues with OpenSSL
To: openssl-users@openssl.org
Date: Wed, 22 Aug 2001 16:13:17 -0700
The patch included in the original post may improve the internal session
list handling (and is therefore worth a seperate investigation).
No change to the list handling will however solve the problems of incorrect
SSL_SESSION_free() calls. The session list is only one possible point of
failure, dangling pointers would also occur for SSL object currently
using the session. The correct solution is to only use SSL_SESSION_free()
when applicable!
2001-10-12 12:29:16 +00:00
Richard Levitte
46ff8e0d0a
In certain cases, no encoding has been set up for the b64 filter. In
...
such cases, a flush should *not* attempt to finalise the encoding, as
the EVP_ENCODE_CTX structure will only be filled with garbage. For
the same reason, do the same check when a wpending is performed.
2001-10-11 19:43:45 +00:00
Richard Levitte
67d0738aba
In certain cases, no encoding has been set up for the b64 filter. In
...
such cases, a flush should *not* attempt to finalise the encoding, as
the EVP_ENCODE_CTX structure will only be filled with garbage. For
the same reason, do the same check when a wpending is performed.
2001-10-11 19:38:40 +00:00
Richard Levitte
3f9077278a
Make sure the macro PEDANTIC is defined when we compile with
...
-pedantic, or some parts of the source will raise complaints from the
compiler.
2001-10-11 07:59:25 +00:00
Richard Levitte
accb6063f3
'make update'
2001-10-10 21:52:27 +00:00
Richard Levitte
b8a61e7362
'make update'
2001-10-10 21:52:06 +00:00
Richard Levitte
744301ccd8
Add support for md4WithRSAEncryption.
2001-10-10 21:51:00 +00:00
Richard Levitte
dd5e774664
Add support for md4WithRSAEncryption.
2001-10-10 21:37:45 +00:00
Richard Levitte
6b86bad5ef
For systems where gcc is used and where we don't know if GNU ld is
...
used or not, let's ask collect2 which ld it uses and choose to use the
target do-gnu_shared if GNU ld is used.
This solves the reported problems on Solaris systems where GNU cc is
used but GNU ld isn't, and probably on other systems with similar
setups.
2001-10-10 14:46:41 +00:00
Richard Levitte
712557128b
'make update'
2001-10-10 08:27:52 +00:00
Richard Levitte
3009e9f9ef
It seems like gcc does canonicalisation of file names. More
...
specifically, a starting './' is removed. makedepend doesn't do this,
resulting in another possible commit war, so let's fix that by doing a
poor mans canonicalisation of file names that gives the same effect as
doing dependencies through gcc.
2001-10-10 08:27:28 +00:00
Richard Levitte
b30245dae0
'make update'
2001-10-10 07:56:20 +00:00
Richard Levitte
116daf4c2f
To avoid commit wars over dependencies, let's make it so things that
...
depend on the environment, like the presence of the OpenBSD crypto
device or of Kerberos, do not change the dependencies within OpenSSL.
2001-10-10 07:55:02 +00:00
Richard Levitte
cb40bdaf57
makedepend sometimes produces duplicates. Remove them.
2001-10-10 07:44:54 +00:00
Richard Levitte
a295ca8cf9
A few more OIDs, contributed by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>
2001-10-10 06:15:42 +00:00
Richard Levitte
4b12506891
A few more OIDs, contributed by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>
2001-10-09 15:32:23 +00:00
Geoff Thorpe
cf98440178
evp_test.c and evptests.txt both need to be linked in the test/ directory
...
however for different reasons. This separation should prevent the win32
build from interpreting evptests.txt as source code.
2001-10-09 01:38:31 +00:00
Geoff Thorpe
c500d44735
Change some EVP prototypes to use "cipher" rather than "type" as a variable
...
name. The implementations already use this anyway.
2001-10-08 17:25:42 +00:00
Geoff Thorpe
18eda73234
EVP_EncryptInit_ex() and EVP_DecryptInit_ex() had been defined in evp.h but
...
not implemented. (Bug reported by Martin Szotkowski)
This also changes the non-"_ex" versions to defer directly to
EVP_CipherInit_ex() rather than EVP_CipherInit() to avoid an unecessary
level of indirection.
2001-10-08 17:24:10 +00:00
Geoff Thorpe
7526e2c043
As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for
...
it to be defined on all platforms whether or not it is of any practical
use on them. This also resolves linker problems on "special" platforms,
such as win32.
2001-10-08 17:08:17 +00:00
Geoff Thorpe
6d52f260bf
Make sure the "ENGINE_TABLE" cleanup callbacks have correct prototypes.
2001-10-08 17:06:52 +00:00
Geoff Thorpe
752f2b6785
Missing pointer in the eng_table_register function. Reported by
...
Martin Szotkowski.
2001-10-08 14:44:38 +00:00
Lutz Jänicke
293c4d747c
Small documentation fixes (Howard Lum <howard@pumpkin.canada.sun.com>)
2001-10-08 08:38:12 +00:00
Lutz Jänicke
e1c279b63d
Small documentation fixes (Howard Lum <howard@pumpkin.canada.sun.com>)
2001-10-08 08:37:24 +00:00
Richard Levitte
467889703a
Copy evptests.txt to the right place.
2001-10-04 21:15:03 +00:00
Richard Levitte
3a457cca86
Typo...
2001-10-04 19:25:12 +00:00
Richard Levitte
285046ec51
SSL_add_dir_cert_subjects_to_stack for Win32 finally implemented.
...
Submitted by Massimo Santin <msantin@santineassociati.com >.
2001-10-04 12:27:39 +00:00
Richard Levitte
f8000b9345
'make update'
2001-10-04 07:49:09 +00:00
Richard Levitte
77a8eb352f
Since ossl_typ.h is an exported header, we sure need to export it on
...
VMS as well :-).
2001-10-04 07:46:30 +00:00
Richard Levitte
114697bef3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
Also, it seems like krb5 was forgotten in some places.
2001-10-04 07:34:45 +00:00
Richard Levitte
2aa9043ad3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
2001-10-04 07:32:46 +00:00
Dr. Stephen Henson
1a095560f7
Use the maximum block length for the extra size in the encrypt
...
BIO buffer instead of hard coding it as 8.
2001-10-03 12:47:03 +00:00
Dr. Stephen Henson
f329b8d73b
Make EVP_DecryptUpdate work again.
2001-10-02 16:19:49 +00:00
Richard Levitte
3d90a32429
sch isn't an array, how did this pass through gcc?
2001-10-02 11:49:55 +00:00
Richard Levitte
e3a7463c5d
A lot of things are undeclared unless x509.h is included.
2001-10-02 11:06:42 +00:00
Richard Levitte
796c6eadcb
Hmm, everything "open" isn't necessarely "openssl" :-).
...
*sigh* habit...
2001-10-02 10:03:15 +00:00
Richard Levitte
b485e5b7e3
Woopsie...
2001-10-01 17:20:28 +00:00
Richard Levitte
d1cc7b8f22
'make update'
2001-10-01 17:16:24 +00:00
Richard Levitte
1cf9d58cb4
sk_ENGINE_CLEANUP_ITEM_pop_free() is duplicated in ENGINE_cleanup().
...
Let's use sk_ENGINE_CLEANUP_ITEM_pop_free() instead.
2001-10-01 17:15:28 +00:00
Richard Levitte
0cff933416
Addapt seldom compiled code to new semantics of the key schedule (not
...
a pointer any more).
2001-10-01 17:10:10 +00:00
Richard Levitte
c41b29e5db
Some new symbols have very long names...
2001-10-01 17:09:17 +00:00
Richard Levitte
65fb3fa630
o_time.c contains symbols with dollar signs in them, so we must tell
...
the compiler not to warn about that.
2001-10-01 17:08:18 +00:00
Geoff Thorpe
0b0f08dbc7
The cleanup stack in ENGINE changed slightly, so this "make update" is
...
needed.
2001-10-01 16:39:58 +00:00
Geoff Thorpe
5c32657c80
The STACK macros take care of casting to and from the designated item type
...
of the stack, and the (void *) type used in the underlying sk_***
functions. However, declaring a STACK_OF(type) where type is a *function*
type implicitly involves casts between function pointers and data pointers.
That's a no-no. This changes the ENGINE_CLEANUP handling to use a regular
data type in the stack.
2001-10-01 16:26:00 +00:00
Geoff Thorpe
07cee70258
Make an (overdue) note about the recent ENGINE restructuring. Apart from
...
a few items however, most of the details are deferred to the
crypto/engine/README file.
2001-10-01 15:56:25 +00:00
Geoff Thorpe
4ba163cbf9
Make "openssl engine -c" list any supported digests as well as supported
...
ciphers.
2001-10-01 15:41:31 +00:00
Lutz Jänicke
2bfb2398e3
Typos (Chris Pepper <pepper@mail.reppep.com>)
2001-10-01 14:43:47 +00:00
Lutz Jänicke
09389cbef5
Typos (Chris Pepper <pepper@mail.reppep.com>)
2001-10-01 14:39:23 +00:00
Richard Levitte
a4a8f7b3ef
Change HZ in speed to rely on sysconf() if the clock tick is available
...
that way. Synchronise s_time with these changes.
2001-09-28 10:34:48 +00:00
Geoff Thorpe
34c66925aa
ENGINE_register_all_complete() will register all implementations of all
...
algorithms present in all loaded ENGINEs. The result is that if any of
those ENGINEs successfully initialises, and the ENGINE_TABLE_FLAG_NOINIT
flag isn't set, then they will always be used (and cached as defaults) in
preference to software implementations. Ie. accidental auto-detection of
acceleration hardware :-)
This change stops all implementations being automatically registered in
"openssl" sub-commands, so that the "setup_engine()" handler in apps.c
controls which ENGINEs are registered for use. A special case has been
added that will revert to this "auto-detect" logic, ie. if the "-engine"
switch is used as;
-engine auto
2001-09-28 02:25:14 +00:00
Dr. Stephen Henson
cb7fd76f57
Modernise and fix (ancient) "maurice" demos.
2001-09-28 01:48:34 +00:00
Dr. Stephen Henson
de822715b2
Constify EVP_SealInit, EVP_OpenInit
2001-09-28 01:47:36 +00:00
Dr. Stephen Henson
89f534e1d3
Make (ancient) sign.c demo compile again.
2001-09-28 00:47:36 +00:00
Dr. Stephen Henson
d46c1a8126
Support fractional seconds in GeneralizedTime
2001-09-28 00:44:44 +00:00
Richard Levitte
e32587d5a6
Synchronise with Unixly build.
2001-09-27 16:07:36 +00:00
Richard Levitte
7876e4488f
Stop thinking arguments starting with - are algorithm identifiers.
...
Show timing parameters and timing functions used.
It looks like some Linuxen have very weird settings for CLK_TCK. I'm
very unsure about this change and will investigate further.
2001-09-27 15:43:55 +00:00
Richard Levitte
1a19f83d4c
Apparently, Linux is identified with __linux__ as well.
2001-09-27 15:41:34 +00:00
Richard Levitte
db8c838c6a
'make update'
2001-09-26 15:23:14 +00:00
Richard Levitte
37da54b10e
The #error message must match a very specific regexp (see mkdef.pl,
...
currently line 470).
2001-09-26 15:18:32 +00:00
Ben Laurie
0fea7ed4a4
Don't clean up stuff twice.
2001-09-26 15:15:03 +00:00
Ben Laurie
dbeac560aa
Fixes.
2001-09-26 15:14:10 +00:00
Richard Levitte
89eeccacde
Two changes:
...
1. if there are several symbols with the same entry number, sort those
symbols in ASCII order.
2. Do not stop reading the header files when "BEGIN ERROR CODES" is
found, since mkerr.pl will add a function declaration after that
comment. Instead, trigger on "Error codes for the \w+ function",
which is the actual start of the error code macros.
Additionally, a few more debugging printouts that helped.
2001-09-26 15:06:45 +00:00
Ben Laurie
c9fc143972
Fix warning.
2001-09-26 11:38:57 +00:00
Geoff Thorpe
004aa803a9
"FALLBACK" handling was a hack that was thrown out long ago in the
...
ENGINE redevelopment. The idea had been that "-1" could be used as a
special "ask me later" 'nid' rather than specifying supported cipher and
digest 'nid's up front. However the idea turned out to be pretty broken.
2001-09-25 21:52:39 +00:00
Geoff Thorpe
c921a5e1d4
Make update to bring in all the cipher/digest-related ENGINE changes.
...
NB: It looks like mkdef.pl is causing certain cvs wars by continually
flipping the order of some definitions ...
2001-09-25 21:47:27 +00:00
Geoff Thorpe
0b4b9a11f5
Put the cipher info back into the "openssl engine" command.
2001-09-25 21:45:03 +00:00
Geoff Thorpe
d7e0299792
Fiddling.
2001-09-25 21:44:12 +00:00
Geoff Thorpe
9dfdf0ad1d
This change puts the original OpenBSD /dev/crypto support that was in
...
crypto/evp/ into the corresponding ENGINE. This code is currently untested.
2001-09-25 21:43:08 +00:00
Geoff Thorpe
3b04cdd706
This change adds dummy RC4 and SHA1 support to the "openssl" ENGINE for
...
testing. Because of the recent changes (see crypto/engine/README), the
"openssl" ENGINE is no longer needed nor is it loaded automatically or by
ENGINE_load_builtin_engines(). So a explicit ENGINE_load_openssl() call is
required by applications or a modification to eng_all.c before this ENGINE
will be used. This change will send output to stderr as/when its
implementations are used.
2001-09-25 21:41:20 +00:00
Geoff Thorpe
11a57c7be5
This changes EVP's cipher and digest code to hook via the ENGINE support.
...
See crypto/engine/README for details.
- it also removes openbsd_hw.c from the build (that functionality is
going to be available in the openbsd ENGINE in a upcoming commit)
- evp_test has had the extra initialisation added so it will use (if
possible) any ENGINEs supporting the algorithms required.
2001-09-25 21:37:02 +00:00
Geoff Thorpe
b370230b78
This change adds cipher and digest support into ENGINE using the
...
ENGING_TABLE mechanism. The necessary hooks from crypto/evp/ to use this
will be committed shortly.
2001-09-25 21:28:40 +00:00
Geoff Thorpe
50a381b789
indentation.
2001-09-25 21:22:32 +00:00
Geoff Thorpe
534aaf3731
"make update".
2001-09-25 20:39:59 +00:00
Geoff Thorpe
6dc5d570d0
Make necessary tweaks to apps/ files due to recent ENGINE surgery. See
...
crypto/engine/README for details.
2001-09-25 20:35:01 +00:00
Geoff Thorpe
cb78486d97
This commits changes to various parts of libcrypto required by the recent
...
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
pointers to manage their hooking with ENGINE. Previously their use of
"method" pointers was replaced by use of ENGINE references. See
crypto/engine/README for details.
Also, remove the ENGINE iterations from evp_test - even when the
cipher/digest code is committed in, this functionality would require a
different set of API calls.
2001-09-25 20:23:40 +00:00
Geoff Thorpe
9c9aa4f145
This commits the changes to STACK macros forced by recent ENGINE surgery.
2001-09-25 20:17:15 +00:00
Geoff Thorpe
b6d1e52d45
This change replaces the ENGINE's underlying mechanics with the new
...
ENGINE_TABLE-based stuff - as described in crypto/engine/README.
Associated miscellaneous changes;
- the previous cipher/digest hooks that hardwired directly to EVP's
OBJ_NAME-based storage have been backed out. New cipher/digest support
has been constructed and will be committed shortly.
- each implementation defines its own ENGINE_load_<name> function now.
- the "openssl" ENGINE isn't needed or loaded any more.
- core (not algorithm or class specific) ENGINE code has been split into
multiple files to increase readability and decrease linker bloat.
- ENGINE_cpy() has been removed as it wasn't really a good idea in the
first place and now, because of registration issues, can't be
meaningfully defined any more.
- BN_MOD_EXP[_CRT] support is removed as per the README.
- a bug in enginetest.c has been fixed.
NB: This commit almost certainly breaks compilation until subsequent
changes are committed.
2001-09-25 20:00:51 +00:00
Geoff Thorpe
f185e725a0
Some major restructuring changes to ENGINE, including integrated cipher and
...
digest support, are on their way. Rather than having gigantic commit log
messages and/or CHANGES entries, this change to the README will serve as an
outline of what it all is and how it all works.
2001-09-25 19:31:30 +00:00
Dr. Stephen Henson
591ccf586d
Fix AES CBC mode EVP_CIPHER structures: the IV length is always
...
16.
2001-09-25 13:49:58 +00:00
Bodo Möller
b7061c61b0
'openssl rsa' etc. should include AES support in addition to DES
2001-09-25 11:01:14 +00:00
Bodo Möller
8a428200a6
'openssl speed' does not include AES support yet
2001-09-25 10:30:15 +00:00
Geoff Thorpe
10b2328fea
"make update"
2001-09-24 17:42:35 +00:00
Richard Levitte
594a3e5bd5
In case of memory problems, the va_start() wasn't cleaned with a va_end().
...
Noticed by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at >.
2001-09-24 15:06:44 +00:00
Richard Levitte
98c2a26ea6
In case of memory problems, the va_start() wasn't cleaned with a va_end().
...
Noticed by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at >.
2001-09-24 13:39:48 +00:00
Bodo Möller
ae9010abd5
comment
2001-09-24 07:57:20 +00:00
Bodo Möller
965b6dad44
comment
2001-09-24 07:56:45 +00:00
Bodo Möller
a3d8c0fc5d
ignore binary
2001-09-24 07:56:02 +00:00
Bodo Möller
a32d795aae
avoid everything resembling a magic trigraph
2001-09-24 07:54:11 +00:00
Bodo Möller
ef3dc028ef
The 'no-rijndael' option must define OPENSSL_NO_AES because that is
...
what we look for in crypto/evp.
2001-09-22 01:40:47 +00:00
Bodo Möller
2413a3975f
crypto/idea and crypto/rijndael were missing in the list of
...
directories that may have been deleted
2001-09-22 01:39:51 +00:00
Bodo Möller
ae3a6640b7
crypto/idea was missing in the list of directories that may have been deleted
2001-09-22 01:37:36 +00:00
Bodo Möller
029dfa64d4
bugfix: handle HelloRequest received during handshake correctly
2001-09-21 11:19:26 +00:00
Bodo Möller
3b0b5abae3
bugfix: handle HelloRequest received during handshake correctly
2001-09-21 11:18:40 +00:00
Bodo Möller
b49124f6d9
Disable session related stuff in SSL_ST_OK case of ssl3_accept if we
...
just sent a HelloRequest.
2001-09-21 07:01:25 +00:00
Bodo Möller
f8845509b6
Disable session related stuff in SSL_ST_OK case of ssl3_accept if we
...
just sent a HelloRequest.
2001-09-21 07:01:04 +00:00
Bodo Möller
2260ad21fb
Bugfix: correct cleanup after sending a HelloRequest
2001-09-21 00:04:15 +00:00
Bodo Möller
3f98e1dd11
Bugfix: correct cleanup after sending a HelloRequest
2001-09-21 00:03:00 +00:00
Bodo Möller
6b0e9facf4
New function SSL_renegotiate_pending().
...
New option SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION.
2001-09-20 22:54:09 +00:00
Bodo Möller
c404ff7955
make update
2001-09-20 22:52:19 +00:00
Bodo Möller
8e2f6b79ea
fix ssl3_accept: don't call ssl_init_wbio_buffer() in HelloRequest case
2001-09-20 21:37:13 +00:00
Bodo Möller
e53afa9e9b
fix ssl3_accept: don't call ssl_init_wbio_buffer() in HelloRequest case
2001-09-20 21:36:39 +00:00
Bodo Möller
ee60d9fb28
Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't
...
reveal whether illegal block cipher padding was found or a MAC
verification error occured.
In ssl/s2_pkt.c, verify that the purported number of padding bytes is in
the legal range.
2001-09-20 18:35:52 +00:00
Bodo Möller
e41c5bd730
Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't
...
reveal whether illegal block cipher padding was found or a MAC
verification error occured.
In ssl/s2_pkt.c, verify that the purported number of padding bytes is in
the legal range.
2001-09-20 18:34:36 +00:00
Bodo Möller
be6d77005f
comments
2001-09-20 15:41:34 +00:00
Bodo Möller
b263b66746
Change Makefile so that it works without any additional changes
...
at least on Solaris
2001-09-18 09:15:40 +00:00
Bodo Möller
5294dd705d
Another demo.
2001-09-17 19:07:00 +00:00
Geoff Thorpe
2b67158673
Some of the ENGINE file names were changed for 8.3 filename uniqueness
...
recently. So comments including file names have been fixed, and copyright
notices brought up to "2001" at the same time.
2001-09-14 18:31:57 +00:00
Geoff Thorpe
db744f8950
Fix a typo in the preprocessor logic in eng_list.c that had left RSA, DSA,
...
and DH all conditional upon OPENSSL_NO_RSA.
2001-09-14 18:23:31 +00:00
Geoff Thorpe
e059b19ddb
Add a SHA1 test to evptests.txt - only the MD5 hash algorithm was being
...
tested previously.
2001-09-14 18:21:36 +00:00
Geoff Thorpe
997a54c981
'evp_test' needs to initialise and cleanup EVP_CIPHER_CTX structures. Also,
...
fix a typo and add cleanup operations. This also switches on memory leak
checking (which is how the rest was found).
2001-09-14 18:20:44 +00:00
Bodo Möller
10981a5c84
add comment
2001-09-14 13:48:37 +00:00
Bodo Möller
b78e502104
add comment
2001-09-14 13:47:25 +00:00
Bodo Möller
9cf8888149
Increase permissible ClientKeyExchange message length as in main
...
branch (revision 1.50, 2000-11-17)
2001-09-14 13:32:03 +00:00
Bodo Möller
b6d0054a52
Get rid of junk (deleted/renamed function) by rebuilding
...
based on 0.9.6 tree.
2001-09-14 09:31:07 +00:00
Bodo Möller
117df10db4
add details
2001-09-14 08:45:43 +00:00
Lutz Jänicke
491d390ec9
Synchronize typo corrections with 0.9.7-dev
2001-09-13 15:19:39 +00:00
Lutz Jänicke
d300bcca7f
Typo.
2001-09-13 15:18:51 +00:00
Lutz Jänicke
87301baec9
One more manual page.
2001-09-13 15:07:21 +00:00
cvs2svn
0cf4df488b
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-09-13 15:05:43 +00:00
Lutz Jänicke
d59c3e5046
One more manual page.
2001-09-13 15:05:42 +00:00
Lutz Jänicke
6d8566f2eb
Rework section about return values another time (based on hints from
...
Bodo Moeller).
2001-09-13 13:21:38 +00:00
Bodo Möller
4e1b0d8904
avoid "statement not reached" warning
2001-09-13 13:02:59 +00:00
Geoff Thorpe
8ce2912fbc
Updated dependencies from "make update"
2001-09-12 02:43:22 +00:00
Geoff Thorpe
1372965e2e
Reduce the header dependencies on engine.h in apps/.
2001-09-12 02:39:06 +00:00
Geoff Thorpe
1a1422643b
ENGINE uses a very opaque design, so we can predeclare the structure type
...
in "types.h" so that very few headers will need to include engine.h,
generally only C files using API functions will need it (reducing
the header dependencies quite a lot).
2001-09-12 02:34:20 +00:00
Geoff Thorpe
409960491d
ENGINE files were renamed, and error strings are now in eng_err.c
2001-09-12 01:54:17 +00:00
Dr. Stephen Henson
96bd6f730a
Add certificate and request demos.
...
Fix X509V3 macro so they compile.
2001-09-12 00:19:20 +00:00
Lutz Jänicke
c0f5dd070b
Make maximum certifcate chain size accepted from the peer application
...
settable (proposed by "Douglas E. Engert" <deengert@anl.gov >).
2001-09-11 13:08:51 +00:00
Bodo Möller
9d7a8d3578
add 'release showstopper' entry
2001-09-11 12:46:50 +00:00
Bodo Möller
4dec4f646d
update
2001-09-11 12:26:56 +00:00
Bodo Möller
fde9626cff
update from main branch
2001-09-11 12:26:35 +00:00
Bodo Möller
2cb924b052
ex_data situation is no longer that bad
2001-09-11 12:20:20 +00:00
Geoff Thorpe
51ac0cfe44
make update
2001-09-10 21:18:11 +00:00
Geoff Thorpe
16e819e1d8
Put all "common" initialisation in the apps_startup() and apps_shutdown()
...
macros in apps.h.
2001-09-10 21:04:14 +00:00
Geoff Thorpe
1023cfe70d
enginetest needs 'memset' defined.
2001-09-10 21:02:06 +00:00
Ulf Möller
8e0a2d8461
missed one file
2001-09-10 20:16:31 +00:00
Bodo Möller
e13ae96d7c
While ispell may not like it, "cancelling" may be spelt with two "l"s
2001-09-10 18:59:53 +00:00
Bodo Möller
9f29ec4721
fix memory leak (I think)
2001-09-10 18:50:09 +00:00
Bodo Möller
b9a20b5057
remove an old comment
2001-09-10 18:49:25 +00:00
Bodo Möller
c2222c2ea2
restore previous revision -- memory leak should be fixed in mem.c
2001-09-10 18:47:33 +00:00
Bodo Möller
336da5642d
fix memory leak
2001-09-10 18:13:16 +00:00
Bodo Möller
8573fa1806
avoid warning ('const' discarded)
2001-09-10 17:46:54 +00:00
Bodo Möller
a52c2fb296
exclude disabled message digests
2001-09-10 17:18:56 +00:00
Bodo Möller
41450b27f2
add AES ciphers
2001-09-10 17:12:31 +00:00
Bodo Möller
e72d5983f2
Update so that progs.h can indeed be automatically generated
...
(Working file: progs.h
revision 1.24
date: 2001/02/19 16:06:03; author: levitte; state: Exp; lines: +59 -59
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.
[...])
2001-09-10 17:00:28 +00:00
Bodo Möller
5a85385387
typo
2001-09-10 16:57:06 +00:00
Bodo Möller
fb9520c12d
comments
2001-09-10 15:03:08 +00:00
Bodo Möller
5e54b4f364
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
2001-09-10 15:00:30 +00:00
Bodo Möller
5ba372b17c
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
Also fix indentation, and add OpenSSL copyright.
2001-09-10 14:59:17 +00:00
Bodo Möller
62b0502750
copyright
2001-09-10 14:51:45 +00:00
Bodo Möller
f9b0f47c0c
copyright
2001-09-10 14:51:19 +00:00
Bodo Möller
4deeadf7dc
Delete pointless casts
2001-09-10 14:10:10 +00:00
Bodo Möller
384eff877c
Fix apps/openssl.c and ssl/ssltest.c so that they use
...
CRYPTO_set_mem_debug_options() instead of CRYPTO_dbg_set_options(),
which is the default implementation of the former and should usually
not be directly used by applications (at least if we assume that the
options accepted by the default implementation will also be meaningful
to any other implementations).
Also fix apps/openssl.c and ssl/ssltest such that environment variable
setting 'OPENSSL_DEBUG_MEMORY=off' actively disables the compiled-in
library defaults (i.e. such that CRYPTO_MDEBUG is ignored in this
case).
2001-09-10 09:50:30 +00:00
Lutz Jänicke
c77c4c9f1c
Fix typo.
2001-09-09 07:43:12 +00:00
Dr. Stephen Henson
c5220abc6a
Replace old (and invalid) copyright notice.
2001-09-08 12:16:24 +00:00
Dr. Stephen Henson
68dbba9817
Replace old (and invalid) copyright notice.
2001-09-08 12:15:09 +00:00
Bodo Möller
ea7150b070
The various hash #includes in rand_lcl.h *are* needed despite
...
<openssl/evp.h> is now used (MD_DIGEST_LENGTH definitions!).
No need to include such headers directly in md_rand.c.
2001-09-07 23:55:15 +00:00
Lutz Jänicke
b90f36d240
Support for OpenUNIX-8 (Boyd Lynn Gerber <gerberb@zenez.com>)
2001-09-07 13:22:41 +00:00
Lutz Jänicke
2712fe80be
Recognize OpenUNIX
2001-09-07 12:16:52 +00:00
Lutz Jänicke
cb42ce0b67
Recognize OpenUNIX-8 with compiler
2001-09-07 12:13:10 +00:00
Ben Laurie
e8330cf5ac
Add a cleanup function for MDs.
2001-09-07 12:03:24 +00:00
Ben Laurie
7d34470458
Look up MD5 by name.
2001-09-07 11:45:42 +00:00
Ben Laurie
f1047cebea
Remove duplication.
2001-09-07 11:44:59 +00:00
Ben Laurie
da8a2e6f90
Now need sha.h for some reason.
2001-09-07 11:44:17 +00:00
Ben Laurie
546ec5a9b3
Redo type-safety fix.
2001-09-07 11:43:30 +00:00
Ulf Möller
e3fefbfd56
ispell
2001-09-07 06:39:38 +00:00
Ulf Möller
3b80e3aa9e
ispell
2001-09-07 06:13:40 +00:00
Ulf Möller
13aab9cca4
make update
2001-09-07 04:32:11 +00:00
Ulf Möller
14cfde9c83
make engine file names unique in 8.3
2001-09-07 04:14:48 +00:00
Lutz Jänicke
9cabef963c
Completely reworked SVR5 shared library support.
2001-09-06 19:25:56 +00:00
Ulf Möller
ce9eab79a7
unused function
2001-09-06 17:02:33 +00:00
Ulf Möller
e9e202cfa8
include the proper header file
2001-09-06 16:25:34 +00:00
Ulf Möller
d83ae69455
double definition
2001-09-06 16:24:29 +00:00
Lutz Jänicke
bb4f7a8d52
Even more corrections for OpenUNIX 8
2001-09-06 14:28:35 +00:00
Bodo Möller
619b2c03dc
Avoid strdup.
...
(Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get
the declaration, but on other platforms _XOPEN_SOURCE disables
the strdup declaration in <string.h>.)
2001-09-06 13:09:00 +00:00
Lutz Jänicke
aa4c2de10e
Sort out mess of colons...
2001-09-06 12:48:16 +00:00
Lutz Jänicke
6c36f7a9f2
Support for shared libraries on Unixware-7 and OpenUNIX-8
...
(Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:39:00 +00:00
Bodo Möller
78f7923580
Totally get rid of CRYPTO_LOCK_ERR_HASH.
...
In err.c, flags int_error_hash_set and int_thread_hash_set
appear superfluous since we can just as well initialize
int_error_hash and int_thread_hash to NULL.
Change some of the err.c formatting to conform with the rest of
OpenSSL.
2001-09-06 12:37:36 +00:00
Lutz Jänicke
33c0e6f547
Build shared libraries on Unixware-7 and OpenUNIX-8 in old (pre-0.9.7)
...
style (Boyd Lynn Gerber <gerberb@zenez.com >.
2001-09-06 12:30:17 +00:00
cvs2svn
d84f543ea6
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-09-06 12:28:06 +00:00
Lutz Jänicke
978ebf0141
Build shared libaries for Unixware-7 and OpenUNIX-8 in old (pre 0.9.7)
...
style (Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:28:05 +00:00
Bodo Möller
a7113d645f
improve OAEP check
2001-09-06 10:43:42 +00:00
Bodo Möller
a9ed4da8eb
improve OAEP check
2001-09-06 10:42:56 +00:00
Bodo Möller
e1a4814cd4
fix formatting so that the file can be view with any tab-width
2001-09-06 09:30:16 +00:00
Bodo Möller
3cad81f6fe
Mention DSO_up => DSO_up_ref renaming
2001-09-05 21:39:39 +00:00
Bodo Möller
4450107afb
Renaming DH_up to DH_up_ref does not warrant a CHANGES entry of its own
...
as the functions were only introduced a couple of days ago.
Some '*)' apparently should be '+)' as the changes do not apply
to the 0.9.6 bugfix branch.
2001-09-05 19:14:53 +00:00
Geoff Thorpe
908efd3b73
ENGINEs can now perform structural cleanup.
2001-09-05 19:07:01 +00:00
Geoff Thorpe
1a7691c059
This adds "destroy" handlers to the existing ENGINEs that load their own
...
error strings - the destroy handler functions unload the error strings so
any pending error state referring to them will not attempt to reference
them after the ENGINE has been destroyed.
2001-09-05 19:00:33 +00:00
Geoff Thorpe
f524ddbe04
ENGINE's init() and finish() handler functions are used when the ENGINE is
...
being enabled or disabled (respectively) for operation. Additionally, each
ENGINE has a constructor function where it can do more 'structural' level
intialisations such as loading error strings, creating "ex_data" indices,
etc. This change introduces a handler function that gives an ENGINE a
corresponding opportunity to cleanup when the ENGINE is being destroyed. It
also adds the "get/set" API functions that control this "destroy" handler
function in an ENGINE.
2001-09-05 18:32:23 +00:00
Geoff Thorpe
541814c403
Add some missing CHANGES items.
2001-09-05 17:50:24 +00:00
Bodo Möller
5013540224
Oops^2: It was the correct line, but an incorrect change.
2001-09-05 17:28:50 +00:00
Bodo Möller
94cb5ee63c
Oops, wrong line
2001-09-05 17:22:40 +00:00
Bodo Möller
fc9c61bc3b
-mcpu=i486 vs. -m486 ...
2001-09-05 17:18:14 +00:00
Geoff Thorpe
e815d3015e
Change DH_up() -> DH_up_ref()
2001-09-05 17:02:35 +00:00
Geoff Thorpe
dc2a33d680
"DH_up" had been changed to "DH_up_ref" in libeay.num but the function
...
declaration and implementation had not. So a recent update recreated the
original definition in libeay.num ... this corrects it and changes the "dh"
code to the "up_ref" variant.
2001-09-05 16:54:32 +00:00
Bodo Möller
7ba45bf133
Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
...
defined.
(Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are
supposed to disable anything not allowed by the respective
specification; I'm not sure why 'strdup' would be considered
an outlaw though.)
2001-09-05 14:40:05 +00:00
Ulf Möller
3f345dc653
bn_sqr bug fix as in main
2001-09-05 04:45:45 +00:00
Ulf Möller
d98a4b7366
bug fix: bn_sqr_recursive output is twice its input size.
2001-09-05 04:43:43 +00:00
Ulf Möller
889a54c467
Eric Hanchrow points out that Cygwin perl works.
2001-09-05 02:27:07 +00:00
Ulf Möller
9d07fd03e3
Use GCC 2.95/3.0 optimization
2001-09-05 02:18:40 +00:00
Geoff Thorpe
a8a1878256
Update the ENGINE README, and stock it up with extra verbeage for good
...
measure (including info and instructions on "dynamic" ENGINEs).
2001-09-04 23:18:36 +00:00
Ulf Möller
0dd892848e
WTF?
2001-09-04 22:21:36 +00:00
Ulf Möller
5b46eee0f5
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-04 22:19:06 +00:00
Geoff Thorpe
e5e6a94fbf
Make the 'dynamic' ENGINE bundle up the loading application/library's
...
locking callbacks to pass to the loaded library (in addition to the
existing mem, ex_data, and err callbacks). Also change the default
implementation of the "bind_engine" function to apply those callbacks, ie.
the IMPLEMENT_DYNAMIC_BIND_FN macro.
2001-09-04 21:25:17 +00:00
Geoff Thorpe
d9ff889073
Add a "_up" -> "_up_ref" change to libeay.num that was missing from the
...
recent changes. Also, do the same change to the DSO_up() function.
2001-09-04 20:40:41 +00:00
Bodo Möller
e4decc418a
typo
2001-09-04 11:57:17 +00:00
Bodo Möller
cf5bfbfc21
Now that we have ERR_unload_strings(), ERR_load_ERR_strings() must
...
always load its strings because they might have been unloaded
since the 'init' flag was deleted.
But build_SYS_str_reasons() can use an 'init' flag.
2001-09-04 11:49:14 +00:00
Bodo Möller
567fef894e
changing something requires a write lock, not a read lock
2001-09-04 11:15:55 +00:00
Bodo Möller
6ee2a1365e
CHANGES should list all API changes relevant for applications
...
(here: X509_STORE_CTX_init())
2001-09-04 11:13:01 +00:00
Bodo Möller
435037d4e4
OpenSSL copyright notices ...
2001-09-04 11:02:23 +00:00
Bodo Möller
c5de8996cc
delete redundant ERR_load_CRYPTO_strings() prototype
2001-09-04 10:45:01 +00:00
Geoff Thorpe
2dc5383a20
This changes the existing hardware ENGINE implementations to dynamically
...
declare their own error strings so that they can be more easily compiled as
external shared-libraries if desired. Also, each implementation has been
given canonical "dynamic" support at the base of each file and is only
built if the ENGINE_DYNAMIC_SUPPORT symbol is defined.
Also, use "void" prototypes rather than empty prototypes in engine_int.h.
This does not yet;
(i) remove error strings when unloading,
(ii) remove the redundant ENGINE_R_*** codes (though ENGINE_F_*** codes
have gone), or
(iii) provide any instructions on how to build shared-library ENGINEs or
use them.
All are on their way.
2001-09-03 21:33:00 +00:00
Geoff Thorpe
9391f97715
This change adds a new ENGINE called "dynamic" that allows new ENGINE
...
implementations to be loaded from self-contained shared-libraries. It also
provides (in engine.h) definitions and macros to help implement a
self-contained ENGINE. Version control is handled in a way whereby the
loader or loadee can veto the load depending on any objections it has with
each other's declared interface level. The way this is currently
implemented assumes a veto will only take place when one side notices the
other's interface level is too *old*. If the other side is newer, it should
be assumed the newer version knows better whether to veto the load or not.
Version checking (like other "dynamic" settings) can be controlled using
the "dynamic" ENGINE's control commands. Also, the semantics for the
loading allow a shared-library ENGINE implementation to handle differing
interface levels on the fly (eg. loading secondary shared-libraries
depending on the versions required).
Code will be added soon to the existing ENGINEs to illustrate how they can
be built as external libraries rather than building statically into
libcrypto.
NB: Applications wanting to support "dynamic"-loadable ENGINEs will need to
add support for ENGINE "control commands". See apps/engine.c for an example
of this, and use "apps/openssl engine -vvvv" to test or experiment.
2001-09-03 19:15:29 +00:00
Geoff Thorpe
5b16639538
Note the "ERR_unload_strings" function.
2001-09-03 18:27:22 +00:00
Geoff Thorpe
1738bb61e1
Add a new ERR function, "ERR_unload_strings", to complement the existing
...
"ERR_load_strings" function.
2001-09-03 18:24:56 +00:00
Geoff Thorpe
91b3f0e691
Correct a typo.
2001-09-03 17:24:27 +00:00
Bodo Möller
6ac4e8bd6e
Rename recently introduced functions for improved code clarity:
...
[DR]SA_up => [DR]SA_up_ref
2001-09-03 13:40:07 +00:00
Bodo Möller
f4681b0864
Use uniformly chosen witnesses for Miller-Rabin test
...
(by using new BN_pseudo_rand_range function)
2001-09-03 13:01:28 +00:00
Bodo Möller
983495c4b2
Use uniformly chosen witnesses for Miller-Rabin test
...
(by using new BN_pseudo_rand_range function)
2001-09-03 12:58:16 +00:00
Bodo Möller
931a23a5a5
rearrange #includes because trying to include <crypto/cryptodev.h>
...
is a bad idea if OPENSSL_OPENBSD_DEV_CRYPTO is not defined
2001-09-03 12:37:13 +00:00
Geoff Thorpe
72849dce81
Convert "max" to "mx" for variable names (brought to my attention by Steve
...
Henson). Also, reverse a previous change that used an implicit function
pointer cast rather than an explicit data pointer cast in the STACK cleanup
code.
2001-09-02 20:41:34 +00:00
Ben Laurie
2618893114
Make MD functions take EVP_MD_CTX * instead of void *, add copy() function.
2001-09-02 20:05:27 +00:00
Geoff Thorpe
36026dfc01
Note the "ex_data" changes.
2001-09-01 20:20:16 +00:00
Geoff Thorpe
79aa04ef27
Make the necessary changes to work with the recent "ex_data" overhaul.
...
See the commit log message for that for more information.
NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
(initialisation by "memset" won't/can't/doesn't work). This fixes that but
requires that X509_STORE_CTX_init() be able to handle errors - so its
prototype has been changed to return 'int' rather than 'void'. All uses of
that function throughout the source code have been tracked down and
adjusted.
2001-09-01 20:02:13 +00:00
Geoff Thorpe
3a0799977b
First step in fixing "ex_data" support. Warning: big commit log ...
...
Currently, this change merely addresses where ex_data indexes are stored
and managed, and thus fixes the thread-safety issues that existed at that
level. "Class" code (eg. RSA, DSA, etc) no longer store their own STACKS
and per-class index counters - all such data is stored inside ex_data.c. So
rather than passing both STACK+counter to index-management ex_data
functions, a 'class_index' is instead passed to indicate the class (eg.
CRYPTO_EX_INDEX_RSA). New classes can be dynamically registered on-the-fly
and this is also thread-safe inside ex_data.c (though whether the caller
manages the return value in a thread-safe way is not addressed).
This does not change the "get/set" functions on individual "ex_data"
structures, and so thread-safety at that level isn't (yet) assured.
Likewise, the method of getting and storing per-class indexes has not
changed, so locking may still be required at the "caller" end but is
nonetheless thread-safe inside "ex_data"'s internal implementation.
Typically this occurs when code implements a new method of some kind and
stores its own per-class index in a global variable without locking the
setting and usage of that variable. If the code in question is likely to be
used in multiple threads, locking the setting and use of that index is
still up to the code in question. Possible fixes to this are being
sketched, but definitely require more major changes to the API itself than
this change undertakes.
The underlying implementation in ex_data.c has also been modularised so
that alternative "ex_data" implementations (that control all access to
state) can be plugged in. Eg. a loaded module can have its implementation
set to that of the application loaded it - the result being that
thread-safety and consistency of "ex_data" classes and indexes can be
maintained in the same place rather than the loaded module using its own
copy of ex_data support code and state.
Due to the centralisation of "state" with this change, cleanup of all
"ex_data" state can now be performed properly. Previously all allocation of
ex_data state was guaranteed to leak - and MemCheck_off() had been used to
avoid it flagging up the memory debugging. A new function has been added to
perfrom all this cleanup, CRYPTO_cleanup_all_ex_data(). The "openssl"
command(s) have been changed to use this cleanup, as have the relevant test
programs. External application code may want to do so too - failure to
cleanup will not induce more memory leaking than was the case before, but
the memory debugging is not tricked into hiding it any more so it may
"appear" where it previously did not.
2001-09-01 19:56:46 +00:00
Geoff Thorpe
e19ea55783
Only OPENSSL_free() non-NULL pointers.
2001-09-01 18:37:17 +00:00
Ulf Möller
8716dbea40
undo, didn't work
2001-09-01 05:59:27 +00:00
Ulf Möller
e9bc66c84f
*** empty log message ***
2001-09-01 05:30:45 +00:00
Ulf Möller
c078798c60
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-01 05:05:32 +00:00
Ulf Möller
de73cca923
make update
2001-09-01 04:25:50 +00:00
Ulf Möller
b1051789d6
zlib default was broken on most platforms.
...
-mcpu=i486 is new as of gcc 2.95, and if you have that, you wouldn't
want to optimize for 486 anyway.
2001-09-01 04:18:00 +00:00
Geoff Thorpe
4db73c1bb8
(A version of) gcc had been giving somewhat odd "trigraph" warnings about
...
this construct, and Ulf provided the following insight as to why;
> ANSI C compliant compilers must substitute "??)" for "]" because your
> terminal might not have a "]" key if you bought it in the early 1970s.
So we escape the final '?' to avoid this pathological case.
2001-08-28 19:32:16 +00:00
Geoff Thorpe
3ae34e3a8c
Ensure that failure to create the BIO in 'CRYPTO_mem_leaks_fp' doesn't
...
leave memory debugging turned off.
[Spotted by Götz Babin-Ebell]
2001-08-28 15:54:57 +00:00
Ben Laurie
1f3b65801b
Fix SSL memory leak.
2001-08-28 13:45:41 +00:00
Geoff Thorpe
5e2c4e23f4
Make sure "CRYPTO_mem_leaks_fp" doesn't itself create a reportable memory
...
leak.
2001-08-27 22:12:56 +00:00
Geoff Thorpe
35780c2139
"make update"
2001-08-26 21:06:22 +00:00
Geoff Thorpe
ceff5fec5a
gcc can't spot that 'derlst' is not used uninitialised, so appease it.
2001-08-26 21:04:21 +00:00
Ben Laurie
4897dc4056
Test digests.
2001-08-26 17:09:31 +00:00
Ben Laurie
35e33f0e52
Add digests.
2001-08-26 17:09:00 +00:00
Geoff Thorpe
a844e27baa
Tidy up some code formatting.
2001-08-25 18:01:36 +00:00
Geoff Thorpe
0783bf151c
Note the "ERR" changes.
2001-08-25 17:59:13 +00:00
Geoff Thorpe
566bdf2bda
This changes the "ERR" code to have all access to state (a hash table of
...
error strings and a hash table storing per-thread error state) go via an
ERR_FNS function table. The first time an ERR operation occurs, the
implementation that will be used (from then on) is set to the internal
"defaults" implementation if it has not already been set. The actual LHASH
tables are only accessed by this implementation.
This is primarily for modules that can be loaded at run-time and bound into
an application (or a shared-library version of OpenSSL). If the module has
its own statically-linked copy of OpenSSL code - this mechanism allows it
to *not* create and use ERR information in its own linked "ERR" code, but
instead to use and interact with the state stored in the loader
(application or shared library). The loader calls ERR_get_implementation()
and the return value is what the module should use when calling its own
copy of ERR_set_implementation().
2001-08-25 17:51:59 +00:00
Geoff Thorpe
eb6dc02b23
Make a note of the "up" functions.
2001-08-25 17:37:46 +00:00
Geoff Thorpe
78435364ec
Changes crypto/evp/ and ssl/ code from directly incrementing reference
...
counts in DH, DSA, and RSA structures. Instead they use the new "***_up()"
functions that handle this.
2001-08-25 17:28:23 +00:00
Geoff Thorpe
5cbc2e8bc1
Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
...
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock. Apart from code duplication,
this provided no "REF_CHECK/REF_PRINT" checking and violated
encapsulation.
2001-08-25 17:24:21 +00:00
Lutz Jänicke
e7cf7fcd21
Allow client certificate lists > 16kB ("Douglas E. Engert" <deengert@anl.gov>.)
2001-08-25 11:49:24 +00:00
Lutz Jänicke
a04baf9b5c
Allow client certificate lists > 16kB ("Douglas E. Engert" <deengert@anl.gov>.)
2001-08-25 11:48:35 +00:00
Lutz Jänicke
029fb8aa26
Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
2001-08-25 11:34:53 +00:00
Lutz Jänicke
bb8aab0211
Wording of comment...
2001-08-25 11:33:34 +00:00
Lutz Jänicke
0fbf5f7102
Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
2001-08-25 11:31:19 +00:00
Lutz Jänicke
2cb95a153e
More docs.
2001-08-24 14:31:36 +00:00
cvs2svn
20d57547e6
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-24 14:29:49 +00:00
Lutz Jänicke
f1b2807478
More docs.
2001-08-24 14:29:48 +00:00
Lutz Jänicke
faacb092f8
-passin argument not used when actually loading the key
...
(found by Massimiliano Pala <madwolf@hackmasters.net >).
2001-08-24 13:33:15 +00:00
Dr. Stephen Henson
b439a74620
Load OCSP responder key before waiting for an incoming
...
connection so it can prompt for pass phrase on startup
instead of after the first connection.
Add -port switch to usage message.
2001-08-23 23:54:11 +00:00
Dr. Stephen Henson
3132ab8ce6
Add #ifdefs to some devcrypto code
2001-08-23 23:52:38 +00:00
Lutz Jänicke
ea5b10a177
More manual pages, no constification.
2001-08-23 18:50:16 +00:00
Lutz Jänicke
bfd7bb3eb6
Typo.
2001-08-23 17:41:20 +00:00
cvs2svn
dca598b911
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-23 17:22:44 +00:00
Lutz Jänicke
11c8f0b79d
More manual pages. Constify.
2001-08-23 17:22:43 +00:00
Lutz Jänicke
187ebb98ad
As discussed recently on openssl-users.
2001-08-23 15:01:36 +00:00
cvs2svn
84712f4f9d
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-23 15:00:12 +00:00
Lutz Jänicke
c4068186ac
As discussed recently on openssl-users.
2001-08-23 15:00:11 +00:00
Lutz Jänicke
44366c3713
Make clear, that using the compression layer is currently not recommended.
2001-08-23 09:42:56 +00:00
Lutz Jänicke
0a93a68020
Make clear, that using the compression layer is currently not recommended.
2001-08-23 09:42:12 +00:00
Ulf Möller
f2ab7d1392
typo.
2001-08-22 18:35:17 +00:00
Ben Laurie
c41ab9ade5
More tests.
2001-08-22 16:09:57 +00:00
Lutz Jänicke
feef7d2dc6
Missed the page...
2001-08-21 14:57:25 +00:00
Lutz Jänicke
7ac19add8f
One more manual page...
2001-08-21 14:55:58 +00:00
cvs2svn
e1c82386d1
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-21 14:54:55 +00:00
Lutz Jänicke
141e584998
One more manual page...
2001-08-21 14:54:54 +00:00
Lutz Jänicke
d9164abe69
Documentation on how to handle compression methods.
...
Hopefully it is clear enough, that it is currently not recommended.
2001-08-21 13:04:26 +00:00
cvs2svn
9347774449
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-21 13:02:59 +00:00
Lutz Jänicke
336736ef35
Documentation on how to handle compression methods.
...
Hopefully it is clear enough, that it is currently not recommended.
2001-08-21 13:02:58 +00:00
Lutz Jänicke
51db1db082
Checked in from the wrong !@#$%^&*() copy...
2001-08-21 07:27:47 +00:00
Lutz Jänicke
df7cb13525
Checked in from the wrong !@#$%&*() copy...
2001-08-21 07:27:02 +00:00
Lutz Jänicke
3d11230259
More interdependencies with respect to shutdown behaviour.
2001-08-20 14:35:17 +00:00
Lutz Jänicke
d93eb21c7c
More interdependencies with respect to shutdown behaviour.
2001-08-20 14:34:16 +00:00
Lutz Jänicke
653cc07b51
Alert description strings for TLSv1 and documentation.
2001-08-19 16:23:57 +00:00
cvs2svn
7a5b2bea86
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-19 16:20:43 +00:00
Lutz Jänicke
a403188f92
Alert description strings for TLSv1 and documentation.
2001-08-19 16:20:42 +00:00
Ben Laurie
82b2230527
Add RC4 support to OpenBSD.
2001-08-18 16:04:36 +00:00
Ben Laurie
a8a004987c
Add AES tests.
2001-08-18 16:02:52 +00:00
Ben Laurie
0e36019977
Add EVP test program.
2001-08-18 13:53:01 +00:00
Ben Laurie
354c3ace73
Add first cut symmetric crypto support.
2001-08-18 10:22:54 +00:00
Lutz Jänicke
3eba9b0ebc
More details about session timeout settings.
2001-08-17 16:38:06 +00:00
cvs2svn
544346a6c8
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-17 16:36:52 +00:00
Lutz Jänicke
52129c0b0b
More details about session timeout settings.
2001-08-17 16:36:51 +00:00
Lutz Jänicke
5f18f1b4c5
One more function documented.
2001-08-17 15:56:30 +00:00
cvs2svn
1b061845d7
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-17 15:54:51 +00:00
Lutz Jänicke
a52877a2f1
One more function documented.
2001-08-17 15:54:50 +00:00
Lutz Jänicke
3ad82e4707
SSL_shutdown() has even more properties...
2001-08-17 15:10:47 +00:00
cvs2svn
71cbb0f128
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-17 15:09:32 +00:00
Lutz Jänicke
cdd7c3ce92
SSL_shutdown() has even more properties...
2001-08-17 15:09:31 +00:00
Lutz Jänicke
b82030e90a
One more step on the way for complete documentation...
2001-08-17 14:34:44 +00:00
cvs2svn
ce59bb8bd0
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-08-17 14:32:39 +00:00
Lutz Jänicke
c1497b4d19
One more step on the way for complete documentation...
2001-08-17 14:32:38 +00:00
Lutz Jänicke
deecc4bede
Unidirectional shutdown is allowed according to the RFC.
2001-08-17 09:09:17 +00:00
Lutz Jänicke
b2ed462934
Unidirectional shutdown is allowed according to the RFC.
2001-08-17 09:08:32 +00:00
Richard Levitte
bb766a0ad6
Make sure evil file name characters, like spaces or ampersands (!),
...
don't disturb the rehashing process.
Spotted and suggested patch from Rudo Thomas <rudo@internet.sk >
2001-08-17 04:35:58 +00:00
Dr. Stephen Henson
b65f851318
Make -passin -passout etc work again.
...
Fix leak in ca.c when using -passin.
2001-08-17 01:09:54 +00:00
Dr. Stephen Henson
35bf35411c
Add CRL utility functions to allow CRLs to be
...
built up without accessing structures directly.
Update ca.c to use new functions.
Fix ca.c so it now build CRLs correctly again.
2001-08-17 00:33:43 +00:00
Lutz Jänicke
86cd2530db
Bugfixes provided by "Stephen Hinton" <shinton@netopia.com>.
2001-08-16 15:30:37 +00:00
Lutz Jänicke
54fbc77dc8
Bugfixes provided by "Stephen Hinton" <shinton@netopia.com>.
2001-08-16 15:28:00 +00:00
Lutz Jänicke
3d85776a09
Better description of the behaviour of SSL_shutdown() as it is now, broken
...
or not.
2001-08-16 14:29:50 +00:00
Lutz Jänicke
9e09eebf94
Better description of the behaviour of SSL_shutdown() as it is now, broken
...
or not.
2001-08-16 14:27:55 +00:00
Richard Levitte
45a2f93906
gcc 3.0 tells me that -m486 is deprecated. The gcc 2.95 manual tells
...
me the same and that the correct option is -mcpu=i486. I'm assuming
-mcpu has been around for some time, and that it's therefore safe to
change all occurences of -m486 to -mcpu=i486.
2001-08-13 14:09:31 +00:00
Geoff Thorpe
6982c0da4e
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 17:14:35 +00:00
Geoff Thorpe
b7727ee616
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 16:52:00 +00:00
Ben Laurie
f0446ca8d7
Move CIPHER_CTX cleanups to _Final routines instead of _Init, which avoids
...
problems with leaks and uninitialised structures.
2001-08-11 11:32:54 +00:00
Richard Levitte
6bc847e49e
Apply the Tru64 patch from Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
...
His comments are:
1) Changes all references for `True64' to be `Tru64', which is the correct
spelling for the OS name.
2) Makes `alpha-cc' be the same as `alpha164-cc', and adds an `alphaold-cc'
entry that is the same as the previous `alpha-cc'. The reason is that most
people these days are using the newer compiler, so it should be the default.
3) Adds a bit of commentary to Configure, regarding the name changes of
the OS over the years, so it's not so confusing to people that haven't been
with the OS for a while.
4) Adds an `alpha-cc-rpath' target (which is *not* selected automatically
by Configure under any circumstance) that builds an RPATH into the
shared libraries. This is explained in the comment in Configure. It's
very very useful for people that want it, and people that don't want it
just shouldn't choose that target.
5) Adds the `-pthread' flag as the best way to get POSIX thread support
from the newer compiler.
6) Updates the Makefile targets, so that when the `alpha164-cc', `alpha-cc',
or `alpha-cc-rpath' target is what Configure is set to use, it uses a Makefile
target that includes the `-msym' option when building the shared library.
This is a performance enhancement.
7) Updates `config' so that if it detects you're running version 4 or 5
of the OS, it automatically selects `alpha-cc', but uses `alphaold-cc'
for versions 1-3 of the OS.
8) Updates the comment in opensslv.h, fixing both the OS name typo and
adding a reference to IRIX 6.x, since the shared library semantics are
virtually identical there.
2001-08-10 15:26:21 +00:00
Richard Levitte
ec578380c9
Apply the Tru64 patch from Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
...
His comments are:
1) Changes all references for `True64' to be `Tru64', which is the correct
spelling for the OS name.
2) Makes `alpha-cc' be the same as `alpha164-cc', and adds an `alphaold-cc'
entry that is the same as the previous `alpha-cc'. The reason is that most
people these days are using the newer compiler, so it should be the default.
3) Adds a bit of commentary to Configure, regarding the name changes of
the OS over the years, so it's not so confusing to people that haven't been
with the OS for a while.
4) Adds an `alpha-cc-rpath' target (which is *not* selected automatically
by Configure under any circumstance) that builds an RPATH into the
shared libraries. This is explained in the comment in Configure. It's
very very useful for people that want it, and people that don't want it
just shouldn't choose that target.
5) Adds the `-pthread' flag as the best way to get POSIX thread support
from the newer compiler.
6) Updates the Makefile targets, so that when the `alpha164-cc', `alpha-cc',
or `alpha-cc-rpath' target is what Configure is set to use, it uses a Makefile
target that includes the `-msym' option when building the shared library.
This is a performance enhancement.
7) Updates `config' so that if it detects you're running version 4 or 5
of the OS, it automatically selects `alpha-cc', but uses `alphaold-cc'
for versions 1-3 of the OS.
8) Updates the comment in opensslv.h, fixing both the OS name typo and
adding a reference to IRIX 6.x, since the shared library semantics are
virtually identical there.
2001-08-10 15:25:50 +00:00
Bodo Möller
3f1c4e49a3
add missing link
2001-08-08 15:09:06 +00:00
Bodo Möller
8dccbdfc5b
add missing link
2001-08-08 15:08:54 +00:00
Bodo Möller
904de6e4f5
Bugfix: larger message size in ssl3_get_key_exchange() because
...
ServerKeyExchange message may be skipped.
Submitted by: Petr Lampa <lampa@fee.vutbr.cz >
2001-08-07 09:31:03 +00:00
Bodo Möller
37a7cd1a11
Bugfix: larger message size in ssl3_get_key_exchange() because
...
ServerKeyExchange message may be skipped.
Submitted by: Petr Lampa <lampa@fee.vutbr.cz >
2001-08-07 09:30:18 +00:00
Lutz Jänicke
65ce21da9a
Fix typos (shinagawa@star.zko.dec.com).
2001-08-07 07:53:53 +00:00
Lutz Jänicke
3a2d9c4dd0
Fix typos (shinagawa@star.zko.dec.com)
2001-08-07 07:52:53 +00:00
Bodo Möller
e51d1321fc
More typedef'd struct names as search targets
2001-08-06 11:57:08 +00:00
Bodo Möller
b9fdb3eb99
Reinsert typedef'ed names for structs to help those trying to read the
...
sourcecode (including fgrep)
2001-08-06 11:49:31 +00:00
Ben Laurie
d66ace9da5
Start to reduce some of the header bloat.
2001-08-05 18:02:16 +00:00
Ben Laurie
db75357110
Fix memory leak.
2001-08-05 16:13:49 +00:00
Ben Laurie
0713f8abe6
Parameter correction for CIOFSESSION.
2001-08-04 12:16:56 +00:00
Ben Laurie
93d9121a77
Remove extra whitespace. Sorry.
2001-08-03 21:09:21 +00:00
Ben Laurie
92dad6cc84
Reinstate accidentally deleted code.
2001-08-03 19:00:43 +00:00
Ben Laurie
61454a9f8c
Get rid of the stuff we, err, got rid of.
2001-08-03 18:52:50 +00:00
Ben Laurie
bb2297a41d
Header bloat reduction for EVP_PKEY.
2001-08-03 18:48:35 +00:00
Ben Laurie
75e98d0563
This ghastly hack prevents CVS wars over Kerberos (which is disabled by default).
2001-08-03 18:45:35 +00:00
Lutz Jänicke
e9eb000c53
Oops, one SSL_OP_NON_EXPORT_FIRST was left.
2001-08-03 13:05:44 +00:00
Ben Laurie
1ba01caaa3
Make /dev/crypto work with new EVP structures.
2001-08-03 11:54:37 +00:00
Richard Levitte
5cd6571fae
Make sure memcpy() gets properly declared by including string.h.
2001-08-03 10:54:00 +00:00
Bodo Möller
6383bbe525
remove a comma
2001-08-03 09:28:02 +00:00
Lutz Jänicke
06da6e4977
Don't disable rollback attack detection as a recommended bug workaround.
2001-08-03 08:45:13 +00:00
Lutz Jänicke
b72faddc47
Mention removed option.
2001-08-01 10:07:55 +00:00
Lutz Jänicke
d92f0bb6e9
Remove SSL_OP_NON_EXPORT_FIRST:
...
It did not work, it was deactivated by #if 0/#endif anyway _and_ we now have
the working SSL_OP_CIPHER_SERVER_PREFERENCE.
2001-08-01 10:06:32 +00:00
Richard Levitte
710e5d5639
make update
2001-07-31 17:07:24 +00:00
Richard Levitte
6da980e2b5
Make sure the source file is included among the dependencies. This is
...
the norm for 'gcc -M' but not for 'makedepend', and is merely
introduced here to avoid commit wars.
2001-07-31 17:02:44 +00:00
Lutz Jänicke
7ea0acc3ef
Reworked manual pages with a lot of input from Bodo Moeller.
2001-07-31 15:06:43 +00:00
Lutz Jänicke
37f599bcec
Reworked manual pages with a lot of input from Bodo Moeller.
2001-07-31 15:04:50 +00:00
Ben Laurie
8408f4fbc7
Document DES changes better.
2001-07-31 13:33:58 +00:00
Ben Laurie
534164ef90
Remove old unused stuff.
2001-07-31 12:03:26 +00:00
Lutz Jänicke
dd186f600d
Only set the verify callback if there's one to set!
2001-07-31 10:20:53 +00:00
Lutz Jänicke
e32c852e1e
Indent.
2001-07-31 10:19:20 +00:00
Richard Levitte
dbfc0f8c2b
Vade retro C++ comments!
...
(Latin for "comments", anyone?)
2001-07-31 09:15:52 +00:00
Richard Levitte
3728974460
Make as sure as possible that gethostname() will be properly declared.
2001-07-31 08:50:20 +00:00
Richard Levitte
fdc2bbcacb
Correct most of the unsigned vs. signed warnings (or int vs. size_t),
...
and rename some local variables to avoid name shadowing.
2001-07-31 08:45:40 +00:00
Richard Levitte
c2a3358b60
Whoops, my fault, a backslash got converted to a slash...
2001-07-31 08:44:28 +00:00
Richard Levitte
882e891284
More Kerberos SSL changes from Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
First, it corrects a problem introduced in the last patch where the
kssl_map_enc() would intentionally return NULL for valid ENCTYPE
values. This was done to prevent verification of the kerberos 5
authenticator from being performed when Derived Key ciphers were
in use. Unfortunately, the authenticator verification routine was
not the only place that function was used. And it caused core dumps.
Second, it attempt to add to SSL_SESSION the Kerberos 5 Client
Principal Name.
2001-07-31 07:21:06 +00:00
Ben Laurie
05bbf78afd
Remove //.
2001-07-31 06:47:23 +00:00
Richard Levitte
99ecb90a99
make update
2001-07-31 06:40:10 +00:00
Ben Laurie
dbad169019
Really add the EVP and all of the DES changes.
2001-07-30 23:57:25 +00:00
Ben Laurie
3ba5d1cf2e
Make EVPs allocate context memory, thus making them extensible. Rationalise
...
DES's keyschedules.
I know these two should be separate, and I'll back out the DES changes if they
are deemed to be an error.
Note that there is a memory leak lurking in SSL somewhere in this version.
2001-07-30 17:46:22 +00:00
Ben Laurie
be2e2c3297
Only set the verify callback if there's one to set!
2001-07-30 17:17:26 +00:00
Andy Polyakov
ed0015284b
Just a "get to know your system" bit.
2001-07-30 16:46:37 +00:00
Andy Polyakov
6d03b73e35
Enhanced support for IA-64 Linux and HP-UX (as well as better support for
...
HP-UX in common in ./config). Note that for the moment of this writing
none of 64-bit platforms pass bntest. I'm committing this anyway as it's
too frustrating to patch snapshots over and over while 0.9.6 is known to
work.
2001-07-30 16:42:15 +00:00
Andy Polyakov
622d3d3592
Support for Intel and HP-UXi assemblers.
2001-07-30 15:54:13 +00:00
Ben Laurie
0e06354402
ANSIfication.
2001-07-30 15:33:46 +00:00
Andy Polyakov
62c271610b
Typo in stty command lines.
2001-07-30 14:33:58 +00:00
Lutz Jänicke
01fc70323f
Don't miss files...
2001-07-30 11:51:06 +00:00
Lutz Jänicke
db089ad60d
Don't miss files...
2001-07-30 11:50:37 +00:00
Lutz Jänicke
03a70bad4f
Fix inconsistent behaviour with respect to verify_callback handling.
2001-07-30 11:48:20 +00:00
Lutz Jänicke
1f0c9ad7e1
Fix inconsistent behaviour with respect to verify_callback handling.
2001-07-30 11:45:34 +00:00
Lutz Jänicke
7146221bbe
Forgot to mention second fix.
2001-07-30 11:44:14 +00:00
Lutz Jänicke
06efc222f9
Forgot to mention second fix.
2001-07-30 11:33:53 +00:00
Bodo Möller
de3333bae4
length of secret exponent is needed only when we create one
2001-07-27 22:45:35 +00:00
Bodo Möller
80a8d1406b
length of secret exponent is needed only when we create one
2001-07-27 22:45:19 +00:00
Bodo Möller
924875e53b
Undo DH_generate_key() change: s3_srvr.c was using it correctly
2001-07-27 22:34:25 +00:00
Bodo Möller
1a76a85c93
Undo DH_generate_key() change: s3_srvr.c was using it correctly
2001-07-27 22:34:00 +00:00
Lutz Jänicke
cf1b34ad34
Another uninitialized static that may lead to problems on Solaris under some
...
circumstances.
2001-07-27 12:36:16 +00:00
Lutz Jänicke
3a64458217
Another uninitialized static that may lead to problems on Solaris under some
...
circumstances.
2001-07-27 12:35:27 +00:00
Richard Levitte
ea71c22731
Addapt VMS script to the latest changes in the makefiles.
2001-07-27 07:47:51 +00:00
Dr. Stephen Henson
dc706cd35f
Make sure *outl is always initialized in EVP_EncryptUpdate().
2001-07-27 02:24:47 +00:00
Dr. Stephen Henson
1241126adf
More linker bloat reorganisation:
...
Split private key PEM and normal PEM handling. Private key
handling needs to link in stuff like PKCS#8.
Relocate the ASN1 *_dup() functions, to the relevant ASN1
modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously
these were all in crypto/x509/x_all.c along with every ASN1
BIO/fp function which linked in *every* ASN1 function if
a single dup was used.
Move the authority key id ASN1 structure to a separate file.
This is used in the X509 routines and its previous location
linked in all the v3 extension code.
Also move ASN1_tag2bit to avoid linking in a_bytes.c which
is now largely obsolete.
So far under Linux stripped binary with single PEM_read_X509
is now 238K compared to 380K before these changes.
2001-07-27 02:22:42 +00:00
Dr. Stephen Henson
19da130053
First of several reorganisations to
...
reduce linker bloat. For example the
single line:
PEM_read_X509()
results in a binary of around 400K in Linux!
This first step separates some of the PEM functions and
avoids linking in some PKCS#7 and PKCS#12 code.
2001-07-26 22:34:45 +00:00
Lutz Jänicke
44d4b684f9
Fix problem occuring when used from OpenSSH on Solaris 8.
2001-07-26 09:03:42 +00:00
Lutz Jänicke
a75b191502
Fix problem occuring when used from OpenSSH on Solaris 8.
2001-07-26 09:02:44 +00:00
Bodo Möller
e5cb260365
DH key generation should not use a do ... while loop,
...
or bogus DH parameters can be used for launching DOS attacks
2001-07-25 17:48:51 +00:00
Bodo Möller
746142d672
DH key generation should not use a do ... while loop,
...
or bogus DH parameters can be used for launching DOS attacks
2001-07-25 17:48:40 +00:00
Bodo Möller
6aecef815c
Don't preserve existing keys in DH_generate_key.
2001-07-25 17:20:34 +00:00
Bodo Möller
475e21bc7b
Don't preserve existing keys in DH_generate_key.
2001-07-25 17:20:16 +00:00
Bodo Möller
5204726bfe
md_rand.c thread safety
2001-07-25 17:18:02 +00:00
Bodo Möller
daba492c3a
md_rand.c thread safety
2001-07-25 17:17:24 +00:00
Bodo Möller
27f3a1bd9c
always reject data >= n
2001-07-25 17:03:22 +00:00
Bodo Möller
24cff6ced5
always reject data >= n
2001-07-25 17:02:58 +00:00
Andy Polyakov
ac7b42610f
Support for 64-bit Solaris build with GCC 3.0 and later. It should be
...
explicitely noted that 64-bit SPARCv9 ABI is not officially supported
by GCC 3.0 (support is scheduled for 3.1 release), but it appears to
work, at the very least 'make test' passes...
2001-07-25 15:58:57 +00:00
Lutz Jänicke
b1a810571c
Fix wrong information about SSL_set_connect_state().
2001-07-25 12:13:46 +00:00
Lutz Jänicke
7abe76e1bd
Fix wrong information about SSL_set_connect_state()...
2001-07-25 12:12:51 +00:00
Bodo Möller
7bc03ded12
add a comment
2001-07-25 10:04:14 +00:00
Bodo Möller
ea3b8af50a
avoid warnings
2001-07-24 14:20:36 +00:00
Bodo Möller
c6719ffb77
Avoid race condition.
...
Submitted by: Travis Vitek <vitek@roguewave.com >
2001-07-24 12:33:41 +00:00
Bodo Möller
badb910f3c
Avoid race condition.
...
Submitted by: Travis Vitek <vitek@roguewave.com >
2001-07-24 12:31:14 +00:00
Geoff Thorpe
3866752e7e
- New INSTALL document describing different ways to build "tunala" and
...
possible problems.
- New file breakage.c handles (so far) missing functions.
- Get rid of some signed/unsigned/const warnings thanks to solaris-cc
- Add autoconf/automake input files, and helper scripts to populate missing
(but auto-generated) files.
This change adds a configure.in and Makefile.am to build everything using
autoconf, automake, and libtool - and adds "gunk" scripts to generate the
various files those things need (and clean then up again after). This means
that "autogunk.sh" needs to be run first on a system with the autotools,
but the resulting directory should be "configure"able and compilable on
systems without those tools.
2001-07-23 19:03:48 +00:00
Lutz Jänicke
3e3dac9f97
Additional inline reference.
2001-07-23 12:57:37 +00:00
Lutz Jänicke
16fdf5b904
Additional inline reference
2001-07-23 12:56:37 +00:00
Lutz Jänicke
d2cfefc892
Add missing reference.
2001-07-23 12:52:51 +00:00
Lutz Jänicke
397ba0f08a
Add missing reference.
2001-07-23 12:52:05 +00:00
Geoff Thorpe
07ad8f5d17
Tidy up "cvs update" output a bit.
2001-07-22 23:21:33 +00:00
Richard Levitte
47c3448a97
Not all platforms have the OpenBSD crypto device.
2001-07-21 11:54:24 +00:00
Lutz Jänicke
71ff177754
Documentation about ephemeral key exchange
2001-07-21 11:04:35 +00:00
cvs2svn
5b6051067a
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-07-21 11:02:18 +00:00
Lutz Jänicke
4db48ec0bd
Documentation about ephemeral key exchange
2001-07-21 11:02:17 +00:00
Ben Laurie
c518ade1fd
Clean up EVP macros, rename DES EDE3 modes correctly, temporary support for
...
OpenBSD /dev/crypto (this will be revamped later when the appropriate machinery
is available).
2001-07-21 10:24:07 +00:00
Richard Levitte
acdf4afb91
More Kerberos SSL patches from Vern Staats <staatsvr@asc.hpc.mil>.
...
His comments are:
This patch fixes the problem of modern Kerberos using "derived keys"
to encrypt the authenticator by disabling the authenticator check
for all derived keys enctypes.
I think I've got all the bugfixes that Jeffrey and I discussed rolled
into this. There were some problems with Jeffrey's code to convert
the authenticator's Kerberos timestring into struct tm (e.g. Z, -1900;
it helps to have an actual decryptable authenticator to play with).
So I've shamelessly pushed in my code, while stealing some bits from
Jeffrey.
2001-07-21 09:43:43 +00:00
Lutz Jänicke
c0bee3c8d6
Updated explanation.
2001-07-20 19:24:26 +00:00
Lutz Jänicke
6d3dec92fb
Updated explanation.
2001-07-20 19:23:43 +00:00
Lutz Jänicke
79e29dca65
Some more documentation bits.
2001-07-20 18:58:25 +00:00
cvs2svn
04bdca29d7
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2001-07-20 18:57:16 +00:00
Lutz Jänicke
2d3b6a5be7
Some more documentation bits.
2001-07-20 18:57:15 +00:00
Geoff Thorpe
81d1998e09
Currently, RSA code, when using no padding scheme, simply checks that input
...
does not contain more bytes than the RSA modulus 'n' - it does not check
that the input is strictly *less* than 'n'. Whether this should be the
case or not is open to debate - however, due to security problems with
returning miscalculated CRT results, the 'rsa_mod_exp' implementation in
rsa_eay.c now performs a public-key exponentiation to verify the CRT result
and in the event of an error will instead recalculate and return a non-CRT
(more expensive) mod_exp calculation. As the mod_exp of 'I' is equivalent
to the mod_exp of 'I mod n', and the verify result is automatically between
0 and n-1 inclusive, the verify only matches the input if 'I' was less than
'n', otherwise even a correct CRT calculation is only congruent to 'I' (ie.
they differ by a multiple of 'n'). Rather than rejecting correct
calculations and doing redundant and slower ones instead, this changes the
equality check in the verification code to a congruence check.
2001-07-20 15:16:10 +00:00
Andy Polyakov
6b46ca135a
Missing line 0.9.6b release and IA-64 patch advertisement:-)
2001-07-17 14:39:26 +00:00
Richard Levitte
7ca6deef3f
SSL_get_rfc were documented but not implemented.
2001-07-16 10:50:49 +00:00
Richard Levitte
fa293e4e4b
SSL_get_rfc were documented but not implemented.
2001-07-16 10:50:29 +00:00
Richard Levitte
026dad0f3b
SSL_get_[rw]fd were documented but not implemented.
2001-07-15 20:12:45 +00:00
Richard Levitte
24cbf3efc6
SSL_get_[rw]fd were documented but not implemented.
2001-07-15 20:11:57 +00:00
Dr. Stephen Henson
534a1ed0cb
Allow OCSP server to handle multiple requests.
...
Document new OCSP options.
2001-07-13 13:13:44 +00:00
Dr. Stephen Henson
ee306a1332
Initial OCSP server support, using index.txt format.
...
This can process internal requests or behave like a
mini responder.
Todo: documentation, update usage info.
2001-07-12 20:41:51 +00:00
Richard Levitte
45442167b0
Prevent KSSL server from requesting a client certificate.
...
Submitted by Jeffrey Altman <jaltman@columbia.edu >
2001-07-12 16:17:33 +00:00
Richard Levitte
131645ecce
paddr may be NULL. Do not crash if it is.
2001-07-12 15:54:10 +00:00
Richard Levitte
f1ca5f5b89
Clarify that zlib-dynamic is the default choice.
2001-07-12 09:19:34 +00:00
Richard Levitte
e452de9d87
Add the possibility to specify the use of zlib compression and
...
decompression. It can be set up to link at link time or to load the
zlib library at run-time.
2001-07-12 09:11:14 +00:00
Lutz Jänicke
6b99c692d0
Clarify actual state.
2001-07-12 08:54:17 +00:00
Lutz Jänicke
a0256f462a
Clarify actual state.
2001-07-12 08:53:50 +00:00
Richard Levitte
82d5d46c14
Some of the Kerberos code had dissapeared. Reapply.
2001-07-12 08:51:47 +00:00
Richard Levitte
0665dd6852
Document the recent Kerberos SSL changes.
2001-07-12 04:23:57 +00:00
Dr. Stephen Henson
98fc09b18a
Delete extra ;
2001-07-11 22:54:24 +00:00
Dr. Stephen Henson
192ebef8cf
In ocsp_match_issuerid() we are passed the CA that signed the responder
...
certificate so need to match its subject with the certificate IDs in the
response.
2001-07-11 22:42:20 +00:00
Richard Levitte
b01ab14338
make update
...
Note that since some private kssl functions were exported, the
simplest way to rebuild the number table was to toss everything that
was new since OpenSSL 0.9.6b. This is safe, since those functions
have not yet been exported in an OpenSSL release. Beware, people who
trust intermediary snapshots!
2001-07-11 21:15:03 +00:00
Richard Levitte
2a96235bf7
Include kssl_lcl.h where needed.
2001-07-11 21:11:40 +00:00
Richard Levitte
1cf9bf00f4
Private functions do not belong in an exported header file, so move
...
them to one that won't get exported.
2001-07-11 21:09:30 +00:00
Richard Levitte
a5224c3420
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. adds use of replay cache to protect against replay attacks
. adds functions kssl_tgt_is_available() and
kssl_keytab_is_available() which are used within s3_lib.c
and ssl_lib.c to determine at runtime whether or not
KRB5 ciphers can be supported during the current session.
2001-07-11 19:03:58 +00:00
Geoff Thorpe
af436bc158
openssl speed is quite useful for testing hardware support (among other
...
things), especially as the RSA keys are fixed. However, DSA only fixes the
DSA parameters and then generates the public and private components on the
fly each time - this commit hard-codes some sampled key values so that this
is no longer the case.
2001-07-11 18:59:25 +00:00
Richard Levitte
ab603c6987
Code to avoid the use of non-standard strptime(). By
...
Jeffrey Altman <jaltman@columbia.edu >
(Really, the time that's being parsed is a GeneralizedTime, so if
ASN1_GENERALIZEDTIME_get() ever gets implemented, it should be used
instead)
2001-07-11 16:13:36 +00:00
Lutz Jänicke
04d9784d17
What is an '-engine' version?
2001-07-11 15:51:13 +00:00
Lutz Jänicke
9c11a0e541
Typo...
2001-07-11 15:49:35 +00:00
Richard Levitte
8de83bf876
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. Fixed all of the Windows dynamic loading functions, prototypes, etc.
. Corrected all of the unsigned/signed comparison warnings
. Replaced the references to krb5_cksumarray[] for two reasons.
First, it was an internal variable that should not have been
referenced outside the library; nor could it have been with
a shared library with restricted exports. Second, the
variable is no longer used in current Kerberos implementations.
I replaced the code with equivalent functionality using functions
that are exported from the library.
2001-07-11 15:31:45 +00:00
Lutz Jänicke
679df234b7
What is an '-engine' version?
2001-07-11 15:31:21 +00:00
Richard Levitte
26eaab0990
The implementation of the TKTBODY ASN.1 functions was missing.
2001-07-11 15:29:33 +00:00
Richard Levitte
7be96d7c9f
make update
2001-07-11 15:16:15 +00:00
Richard Levitte
d11493934c
Make sure crypto/krb5/krb5_asn.h is copied to the directory of
...
exported header files.
2001-07-11 15:15:31 +00:00
Richard Levitte
c62da732a4
Make sure crypto/krb5/krb5_asn.h becomes part of libeay.num.
2001-07-11 15:14:22 +00:00
Lutz Jänicke
bcfca923d4
Clarify! (based on recent mailing-list discussions)
2001-07-11 15:11:26 +00:00
Lutz Jänicke
a1a63a4239
Clarify! (based on recent mailing-list discussions)
2001-07-11 15:10:28 +00:00
Richard Levitte
103a434386
One forgotten function.
2001-07-11 07:10:43 +00:00
Richard Levitte
567671e291
make update
2001-07-10 21:00:37 +00:00
Richard Levitte
d8a750ee7f
EVP_Digest() takes one more parameter.
2001-07-10 20:58:13 +00:00
Bodo Möller
9c10b2c8d3
For consistency with the terminology used in my SAC2001 paper, avoid
...
the term "simultaneous multiplication" (which -- acording to the
paper, at least -- applies only to certain methods which we don't use
here)
2001-07-10 11:41:29 +00:00
Bodo Möller
56a106115f
comment change
2001-07-10 11:28:53 +00:00
Bodo Möller
e9ad0d2c31
Fix PRNG.
2001-07-10 10:49:34 +00:00
Bodo Möller
97639f0d73
In version numbers, there is just one "M" nybble.
2001-07-10 10:04:26 +00:00
Bodo Möller
e3a4f8b84c
Precomputation will not necessarily be LIm-Lee precomputation.
2001-07-10 10:04:05 +00:00
Richard Levitte
7e99812432
If I define _XOPEN_SOURCE before including *any* system header file,
...
things will work much more smoothly.
2001-07-09 21:51:03 +00:00
Richard Levitte
2a1ef75435
Patches from Vern Staats <staatsvr@asc.hpc.mil> to get Kerberos 5 in
...
SSL according to RFC 2712. His comment is:
This is a patch to openssl-SNAP-20010702 to support Kerberized SSL
authentication. I'm expecting to have the full kssl-0.5 kit up on
sourceforge by the end of the week. The full kit includes patches
for mod-ssl, apache, and a few text clients. The sourceforge URL
is http://sourceforge.net/projects/kssl/ .
Thanks to a note from Simon Wilkinson I've replaced my KRB5 AP_REQ
message with a real KerberosWrapper struct. I think this is fully
RFC 2712 compliant now, including support for the optional
authenticator field. I also added openssl-style ASN.1 macros for
a few Kerberos structs; see crypto/krb5/ if you're interested.
2001-07-09 21:46:58 +00:00
Ben Laurie
c148d70978
A better compromise between encrypt and decrypt (but why isn't it as fast
...
for encrypt?).
2001-07-09 21:00:36 +00:00
Richard Levitte
0410b6c50b
Tagging has been done, move on to 0.9.6c-dev.
2001-07-09 15:10:56 +00:00
Richard Levitte
483c4e0682
Add security patch and create release.
...
Tags will be OpenSSL_0_9_6b and OpenSSL-engine-0_9_6b
2001-07-09 14:36:30 +00:00
Ben Laurie
7b6055d1af
Handle the common case first (where input size is a multiple of block size).
...
Worth around 5% for encrypt. Slows down decrypt slightly, but I expect to
regain that later.
2001-07-08 19:42:10 +00:00
Ben Laurie
f31b12503e
Use & instead of % - worth about 4% for 8 byte blocks.
2001-07-08 17:27:32 +00:00
Ben Laurie
f82197ad75
Don't update argc, argv for decrypt flag!
2001-07-08 12:58:10 +00:00
Ben Laurie
3f37e73bae
Speed test decrypt EVP operations.
2001-07-08 12:14:41 +00:00
Ben Laurie
0774f470d9
Correct const-ness.
2001-07-08 11:42:38 +00:00
Ben Laurie
d7a9e91688
Remove unnecessary casts.
2001-07-06 22:06:08 +00:00
Ben Laurie
601cb9be20
Constification.
2001-07-06 21:35:00 +00:00
Richard Levitte
de61328615
make update
2001-07-05 12:28:13 +00:00
Richard Levitte
f3229ee19a
Use one address consistently.
2001-07-05 10:20:07 +00:00
Richard Levitte
219a3580b7
Change info to correct values.
2001-07-05 10:19:13 +00:00
Bodo Möller
d63c6bd397
Align with 0.9.6-stable CHANGES file, and make some corrections.
2001-07-04 20:56:47 +00:00
Bodo Möller
fdb61e583a
Engine memory leaks have been fixed by now.
2001-07-04 20:56:08 +00:00
Bodo Möller
b8e2f83ae6
Call ENGINE_cleanup() to avoid memory leak.
2001-07-04 20:55:36 +00:00
Bodo Möller
731e14031c
Andy's mips3.s fix (as in main branch).
2001-07-04 20:17:52 +00:00
Bodo Möller
93dbd83570
Entry for Andy's mips3.s fix.
2001-07-04 20:17:27 +00:00
Ben Laurie
5be022712a
Update nCipher header with more liberal licence.
2001-07-04 12:26:39 +00:00
Lutz Jänicke
93074b2509
When only the key is given to "enc", the IV is undefined
...
(found by Andy Brown <logic@warthog.com >).
2001-07-03 10:32:30 +00:00
Lutz Jänicke
43f9391bcc
When only the key is given to "enc", the IV is undefined
...
(found by Andy Brown <logic@warthog.com >).
2001-07-03 10:31:11 +00:00
Richard Levitte
c1c971654b
Make an extra note about shared libraries and backward compatibility.
2001-07-03 01:43:11 +00:00
Richard Levitte
72b1072fbd
Let's include cryptlib.h *before* things like NO_SYSLOG are tested or
...
used.
2001-07-02 20:43:01 +00:00
Richard Levitte
3bfd99bfbb
[Forgotten commits?]
...
Changes to have OpenSSL compile on OS/2.
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-02 20:41:05 +00:00
Ben Laurie
a169e82065
Fix warning.
2001-07-02 12:50:30 +00:00
Richard Levitte
c80410c50c
Insuline shot
2001-07-01 23:15:43 +00:00
Richard Levitte
dc01b6b1f2
Changes to have OpenSSL compile on OS/2.
...
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-01 22:39:46 +00:00
Dr. Stephen Henson
b7a26e6daf
Modify apps to use NCONF code instead of old CONF code.
...
Add new extension functions which work with NCONF.
Tidy up extension config routines and remove redundant code.
Fix NCONF_get_number().
Todo: more testing of apps to see they still work...
2001-06-28 11:41:50 +00:00
Richard Levitte
ce16450a89
Make better use of load_cert, load_certs and load_key.
2001-06-27 09:12:43 +00:00
Dr. Stephen Henson
9d2e51c199
Another empty X509_NAME fix.
2001-06-26 12:39:22 +00:00
Dr. Stephen Henson
1498ad74bb
Another empty X509_NAME fix.
2001-06-26 12:38:33 +00:00
Dr. Stephen Henson
1e325f6149
Handle empty X509_NAME in printing routines.
2001-06-26 12:04:35 +00:00
Dr. Stephen Henson
e319a89f84
Handle empty X509_NAME in printing routines.
2001-06-26 12:04:12 +00:00
Bodo Möller
9fa5786340
DSA verification should insist that r and s are in the allowed range.
2001-06-26 09:48:56 +00:00
Bodo Möller
c458a33196
DSA verification should insist that r and s are in the allowed range.
2001-06-26 09:48:17 +00:00
Richard Levitte
7953b8ff1b
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:23:36 +00:00
Richard Levitte
b1460627f3
Make get_ip() a bit more strict in it's parsing of IP addresses, and
...
at the same time a bit more accepting with host names.
2001-06-25 14:12:45 +00:00
Richard Levitte
5abc8ae6f9
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:00:47 +00:00
Bodo Möller
6a184a6098
Translate into valid C (don't call functions with wrong prototypes).
2001-06-25 10:09:55 +00:00
Richard Levitte
3d5e97f560
Call apps_shutdown() to take down what apps_startup() set up.
2001-06-25 08:35:59 +00:00
Richard Levitte
54c7559a7e
Make sure we don't return 0 on error.
2001-06-24 07:00:41 +00:00
Dr. Stephen Henson
0c9de428ae
In {RSA,DSA,DH}_new_method(x) need to increase the reference
...
count of the ENGINE is x is not NULL since it will be freed
in {RSA,DSA,DH}_free().
2001-06-23 23:07:34 +00:00
Richard Levitte
f13def508c
Use the new UI features, among others the new boolean input.
...
NOTE: Boolean input hasn't been very well tested yet, so this part may
fail miserably.
2001-06-23 16:46:14 +00:00
Richard Levitte
1ae6ddac91
Including stdio.h before setting _XOPEN_SOURCE and
...
_XOPEN_SOURCE_EXTENDED wasn't very smart...
2001-06-23 16:44:15 +00:00
Richard Levitte
55dcfa421c
make update
2001-06-23 16:43:03 +00:00
Richard Levitte
c04f8cf44a
Use apps_shutdown() in all applications, in case someone decides not
...
to go the monolith way (does anyone do that these days?).
NOTE: a few applications are missing in this commit. I've a few more
changes in them that I haven't tested yet.
2001-06-23 16:37:32 +00:00
Richard Levitte
870d986131
apps_startup() needs a corresponding apps_shutdown().
2001-06-23 16:31:41 +00:00
Richard Levitte
4f272c17f5
Make use of new features in UI's. Among others, the application
...
password callbak doesn't need to check for sizes any more.
2001-06-23 16:30:14 +00:00
Richard Levitte
fd3e027faa
Oops, applies to 0.9.7 only.
2001-06-23 16:28:21 +00:00
Richard Levitte
235dd0a22a
Document recent changes.
2001-06-23 16:27:37 +00:00
Richard Levitte
b589977b9e
Do not loop i the OpenSSL UI method any more. Instead, letthe
...
application do that.
NOTE: there's no requirement for other UI_METHODs to avoid this kind
of loop. For example, a GUI UI_METHOD would probably check the
lengths of the answers from within instead of being constantly
redisplayed for everything that is wrong.
2001-06-23 16:25:56 +00:00
Richard Levitte
291e4a6ebe
make update
2001-06-23 16:23:17 +00:00
Richard Levitte
2d2ed9dffd
Implement boolean (yes/no or OK/Cancel, ...) input.
...
Implement UI controls. Current controls are the possibility to output
the OpenSSL error stack on the same channel from within UI_process()
and to check if the same user interface can be redone without being
rebuilt (this is often more a question of philosophy than
technicalities).
2001-06-23 16:22:48 +00:00
Richard Levitte
8ada6e7705
New error printing function that gives the possibility to print the
...
errors through an arbitrary function.
2001-06-23 15:06:17 +00:00
Richard Levitte
7f657f342a
Include the UI error strings.
2001-06-23 15:04:51 +00:00
Richard Levitte
20e8f0ee27
For the UI functions that return an int, 0 or any positive number is a
...
success return, any negative number is a failure. Make sure we check
the return value with that in mind.
2001-06-23 14:51:53 +00:00
Dr. Stephen Henson
429266b7e4
Fix hwcrhk_insert_card.
2001-06-23 12:50:06 +00:00
Dr. Stephen Henson
2c7bc88d78
Fix UI leak in apps.
2001-06-23 12:48:46 +00:00
Dr. Stephen Henson
54f7ebe789
In UI_dup_*() function, use the duped string, not the original.
2001-06-23 11:51:16 +00:00
Dr. Stephen Henson
dd499e74de
Update my config entry to allow use of DSOs.
2001-06-23 11:49:33 +00:00
Andy Polyakov
19a6e8b32c
This fixes "Spurious test failures on IRIX?" reported in April. Apparently
...
I was wrong in conclusions about when addition starts overflowing in combaX
routines.
2001-06-22 19:17:42 +00:00
Dr. Stephen Henson
ed5538dc2b
Fix memory leak when RAND is used: need to cleanup
...
RANDs ENGINE reference in ENGINE_cleanup().
2001-06-21 12:19:10 +00:00
Richard Levitte
b8ffcf49ed
Update my status.
2001-06-20 15:11:15 +00:00
Richard Levitte
eb929eef14
Since there is a way to create UI_METHODs, implement a destructor as
...
well.
This probably requires reference counters and locks as well. To be
implemented later.
2001-06-20 15:00:08 +00:00
Richard Levitte
2cd3ad9bdd
Modify "openssl engine" to handle and display internal control
...
commands appropriately.
2001-06-20 06:35:46 +00:00
Dr. Stephen Henson
323f289c48
Change all calls to low level digest routines in the library and
...
applications to use EVP. Add missing calls to HMAC_cleanup() and
don't assume HMAC_CTX can be copied using memcpy().
Note: this is almost identical to the patch submitted to openssl-dev
by Verdon Walker <VWalker@novell.com > except some redundant
EVP_add_digest_()/EVP_cleanup() calls were removed and some changes
made to avoid compiler warnings.
2001-06-19 22:30:40 +00:00
Dr. Stephen Henson
a45e4a5537
Fix memory leaks.
2001-06-19 17:13:48 +00:00
Richard Levitte
b7fe2f9675
cp is only used when DSA is built.
2001-06-19 16:40:36 +00:00
Richard Levitte
6dcd1c9109
Do a proof of concept. "openssl genrsa" will make the name of the
...
file part of the password prompt unless it's standard input...
More will be added...
2001-06-19 16:34:53 +00:00
Richard Levitte
2fe5adc36c
Change the common application routines to use a UI_METHOD for password
...
prompting, even when done through the callback.
2001-06-19 16:26:30 +00:00
Richard Levitte
839590f576
- Add the possibility to control engines through control names but
...
with arbitrary arguments instead of just a string.
- Change the key loaders to take a UI_METHOD instead of a callback
function pointer. NOTE: this breaks binary compatibility with
earlier versions of OpenSSL [engine].
- Addapt the nCipher code for these new conditions and add a card
insertion callback.
2001-06-19 16:12:18 +00:00
Richard Levitte
e0a8d1f94e
The default flag should be for default passwords only. Otherwise,
...
someone having a default that is not a password will be confused.
2001-06-19 15:54:47 +00:00
Richard Levitte
9ad0f6812f
Enhance the user interface with better support for dialog box
...
prompting, application-defined prompts, the possibility to use
defaults (for example default passwords from somewhere else) and
interrupts/cancelations.
2001-06-19 15:52:00 +00:00
Dr. Stephen Henson
a3376fe8fc
make apps compile again
2001-06-19 00:23:47 +00:00
Dr. Stephen Henson
1b822decb8
Don't set *pointer if add_lock_callback used.
2001-06-19 00:09:20 +00:00
Dr. Stephen Henson
3cc1f498a1
Don't set pointer if add_lock_callback used.
2001-06-19 00:04:57 +00:00
Richard Levitte
c6c0035ea5
One feature wasn't quite commited yet
2001-06-18 06:30:12 +00:00
Richard Levitte
531d630b5c
Provide an application-common setup function for engines and use it
...
everywhere.
2001-06-18 06:22:33 +00:00
Ben Laurie
853b1eb424
Fix a memory leak (there's another around here somewhere, though).
...
PR:
2001-06-17 14:42:57 +00:00
Ben Laurie
09a2615fb2
Delete a redundant line.
2001-06-16 21:51:26 +00:00
Bodo Möller
dab4c2824f
pay attention to blocksize before attempting decryption
2001-06-15 18:06:06 +00:00
Bodo Möller
285b42756a
pay attention to blocksize before attempting decryption
2001-06-15 18:05:09 +00:00
Bodo Möller
508f15cdab
For MSDOS, the tty filename still is "con", not "/dev/tty" ...
2001-06-11 15:21:33 +00:00
Andy Polyakov
52c0d30078
Get rid of "possible WAW dependency" warnings.
...
Submitted by:
Reviewed by:
PR:
2001-06-11 12:47:52 +00:00
Bodo Möller
10997ee8ab
even use of default engines leaks memory
2001-06-11 09:55:54 +00:00
Bodo Möller
8a774dc9a6
Add directory name to the entry on /crypto/ui/.
2001-06-11 09:55:20 +00:00
Bodo Möller
200bc9e3e8
Earlier OpenSSL versions printed prompts to stderr.
...
In the new crypto/ui/, this was changed into tty (which is usually
/dev/tty), i.e. the FILE * used for reading passwords from the user.
However stdio buffering for read/write streams is not without pitfalls
(passwords would be echoed on some systems).
To avoid problems, split tty into tty_in and tty_out (which are
opened separately).
2001-06-11 09:54:28 +00:00
Dr. Stephen Henson
7dd0ee0495
Make update
2001-06-11 00:48:09 +00:00
Dr. Stephen Henson
76569fc662
Initialize UI ex_data.
2001-06-11 00:45:33 +00:00
Dr. Stephen Henson
f2a253e0dd
Add support for MS CSP Name PKCS#12 attribute.
2001-06-11 00:43:20 +00:00
Ulf Möller
19352b794d
as in head
2001-06-08 14:17:12 +00:00
Ulf Möller
0ad0eaf61c
more error codes fixed
2001-06-08 14:16:39 +00:00
Lutz Jänicke
8746ee311e
ERR_peek_error() returns "unsigned long".
2001-06-07 17:22:01 +00:00
Lutz Jänicke
47b0f48dd9
ERR_peek_error() returns "unsigned long".
2001-06-07 17:20:50 +00:00
Richard Levitte
e90323844f
Use memmove() instead of memcpy() on areas that may overlap.
...
Spotted by Nalin Dahyabhai <nalin@redhat.com >
2001-06-07 04:45:55 +00:00
Richard Levitte
44e48abc44
Use memmove() instead of memcpy() on areas that may overlap.
...
Spotted by Nalin Dahyabhai <nalin@redhat.com >
2001-06-07 04:42:34 +00:00
Richard Levitte
f420de027f
Don't forget to initialise.
2001-06-06 23:12:41 +00:00
Bodo Möller
630c1aedd2
OAEP fix
2001-06-06 21:44:48 +00:00
Bodo Möller
ecf186065c
OAEP fix
2001-06-06 21:44:28 +00:00
Bodo Möller
a650df440b
when checking OAEP, signal just a single kind of 'decoding error'
2001-06-06 18:48:57 +00:00
Bodo Möller
20e021bf41
when checking OAEP, signal just a single kind of 'decoding error'
2001-06-06 18:48:49 +00:00
Ulf Möller
afd7b5affe
as in head
2001-06-06 17:24:03 +00:00
Ulf Möller
8ca2ae775d
move check to avoid memory leak.
2001-06-06 17:23:23 +00:00
Ulf Möller
ee8aa8217a
make sure we don't write to seed[-1]
2001-06-06 17:17:53 +00:00
Ulf Möller
38c3436577
make sure we don't write to seed[-1]
2001-06-06 17:15:47 +00:00
Richard Levitte
2b49dd1e8f
'make update'
2001-06-05 20:32:36 +00:00
Richard Levitte
30a54b9085
Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
...
_XOPEN_SOURCE.
2001-06-05 20:29:26 +00:00
Richard Levitte
1e7e62f8cd
A good use of the UI interface is as a password callback replacement
...
(for new functions...). One might still want to be able to pass down
a user-data pointer to be used by the UI. However, ex_data doesn't
quite cut it, since that means the appropriate index to it might need
to be shared between parts that aren't really related in that sense,
and would require the currently hidden (static) index holders to be
uncovered. Not a good thing. Therefore, add the possibility to add a
user-data pointer to a UI.
2001-06-05 19:05:52 +00:00
Richard Levitte
5352823fbf
Small detail about AIX forgotten...
2001-06-05 04:41:57 +00:00
Richard Levitte
7e9547e126
Accept digits in symbol names. Spotted by Brian Havard <brianh@kheldar.apana.org.au>
2001-06-04 16:34:39 +00:00
Richard Levitte
20251f01ea
Accept digits in symbol names. Spotted by Brian Havard <brianh@kheldar.apana.org.au>
2001-06-04 16:34:31 +00:00
Richard Levitte
528f6b81db
More info on SRP.
2001-06-04 16:23:15 +00:00
Richard Levitte
27bfba299e
Added more info in SRP.
2001-06-04 06:51:43 +00:00
Richard Levitte
1690863acc
Confusion between algorithms resolved.
2001-06-01 15:30:13 +00:00
Richard Levitte
397211323c
nCipher callbacks shall return 0 on success, something else otherwise.
2001-06-01 15:29:32 +00:00
Richard Levitte
a87f50fb5a
Stop mishandling the type number in dynlock locking
2001-06-01 15:21:01 +00:00
Bodo Möller
83583e9479
Fix Bleichenbacher PKCS #1 1.5 countermeasure.
...
(The attack against SSL 3.1 and TLS 1.0 is impractical anyway,
otherwise this would be a security relevant patch.)
2001-06-01 09:43:23 +00:00
Bodo Möller
31bc51c8cf
Fix Bleichenbacher PKCS #1 1.5 countermeasure.
...
(The attack against SSL 3.1 and TLS 1.0 is impractical anyway,
otherwise this would be a security relevant patch.)
2001-06-01 09:41:25 +00:00
Bodo Möller
41d208db79
increase DEFAULT_BUFFER_SIZE (4K instead of just 1K)
2001-06-01 08:39:02 +00:00
Bodo Möller
be487c429e
increase DEFAULT_BUFFER_SIZE (4K instead of just 1K)
2001-06-01 08:38:29 +00:00
Richard Levitte
9a1c40049e
From revision 1.25, 2001/05/31 22:25:30 by levitte
...
Don't decrement the reference counter twice when destroying dynamic
links.
2001-06-01 05:36:44 +00:00
Richard Levitte
80340f1fe9
Don't decrement the reference counter twice when destroying dynamic
...
links.
2001-05-31 22:25:30 +00:00
Geoff Thorpe
d918f85146
Fix a memory leak in 'sk_dup' in the case a realloc() fails. Also, tidy up
...
a bit of weird code in sk_new.
2001-05-31 19:01:08 +00:00
Andy Polyakov
a95541d61e
Get rid of RAW dependency warnings.
...
Submitted by:
Reviewed by:
PR:
2001-05-30 22:01:33 +00:00
Richard Levitte
30b4c2724e
Extend all the loading functions to take an engine pointer, a pass
...
string (some engines may have certificates protected by a PIN!) and
a description to put into error messages.
Also, have our own password callback that we can send both a password
and some prompt info to. The default password callback in EVP assumes
that the passed parameter is a password, which isn't always the right
thing, and the ENGINE code (at least the nCipher one) makes other
assumptions...
Also, in spite of having the functions to load keys, some utilities
did the loading all by themselves... That's changed too.
2001-05-30 15:29:28 +00:00
Richard Levitte
2adc929367
A wish was expressed.
2001-05-30 14:59:14 +00:00
Lutz Jänicke
7e97837274
Don't forget responsible person so that its clear who is to blame.
2001-05-29 13:52:21 +00:00
Andy Polyakov
4cb73bf8e4
Assembler support for IA-64. See the source code commentary for further
...
details (performance numbers and accompanying discussions:-). Note that
the code is not engaged in ./Configure yet. I'll add it later this week
along with updates for .spec file.
Submitted by:
Reviewed by:
PR:
2001-05-28 20:02:51 +00:00
Richard Levitte
79bb8d0077
Document the latest change in ENGINEs.
2001-05-26 16:58:34 +00:00
Richard Levitte
6c1a3e4f58
We had the password callback for ENGINEs pretty much wrong. And
...
passwords that were given to the key loading functions were completely
ignored, at least in the ncipher code, and then we made the assumption
that the callback wanted a prompt as user argument.
All that is now changed, and the application author is forced to give
a callback function of type pem_callback_cb and possibly an argument
for it, just as for all other functions that want to generate password
prompting.
NOTE: this change creates binary and source incompatibilities with
previous versions of OpenSSL [engine]. It's worth it this time, to
get it right (or at least better and with a chance that it'll work).
2001-05-25 21:08:56 +00:00
Dr. Stephen Henson
39bed15e53
Add missing variable length cipher flag for Blowfish.
...
Only use trust settings if either trust or reject settings
are present, otherwise use compatibility mode. This stops
root CAs being rejected if they have alias of keyid set.
2001-05-24 23:00:46 +00:00
Dr. Stephen Henson
76c919c1a3
Add missing variable length cipher flag for Blowfish.
...
Only use trust settings if either trust or reject settings
are present, otherwise use compatibility mode. This stops
root CAs being rejected if they have alias of keyid set.
2001-05-24 22:58:35 +00:00
Dr. Stephen Henson
4b04466f14
Fix for missing DSA parameters.
2001-05-24 22:33:16 +00:00
Richard Levitte
2474b596ad
VMS doesn't support more than on period in a file name
2001-05-22 12:48:14 +00:00
Richard Levitte
98405f240b
VMS doesn't support more than on period in a file name
2001-05-22 12:47:38 +00:00
Dr. Stephen Henson
181355616e
Add examples to EVP_EncryptInit manual page.
2001-05-17 13:03:20 +00:00
Dr. Stephen Henson
b49a5b2dc0
Fix for new UI functions under Win32.
...
For some unknown reason fopen("con", "w") is the
only way to make this work. Using "r+" and "w+"
causes the fopen call to fail and the fallback
(using stdin) doesn't work because writing to stdin
fails.
2001-05-17 11:47:08 +00:00
Richard Levitte
a890c4e9bb
Add development tools to the requirements
2001-05-17 05:03:47 +00:00
Richard Levitte
713f226114
Add a requirements section for OpenVMS.
2001-05-17 04:21:00 +00:00
Richard Levitte
d57d85ff35
Add a few more details on what one might need. make and a development
...
environment were a part of a Unix operating systems, but these days
you see an increasing number of installations that do not necessarely
have these crucial parts by default, so it's needs mentioning.
2001-05-17 04:16:19 +00:00
Lutz Jänicke
c62ddfbb6e
Add missing item SSL_ERROR_WANT_CONNECT.
2001-05-16 09:46:47 +00:00
Lutz Jänicke
74daa124c2
Add missing item(s) SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT.
2001-05-16 09:43:51 +00:00
Richard Levitte
b8e35bd66e
New internal function OPENSSL_gmtime, which is intended to do the same
...
as gmtime_r() on the systems where that is defined.
2001-05-16 08:44:09 +00:00
Lutz Jänicke
e8734731d3
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
2001-05-15 16:02:35 +00:00
Richard Levitte
9e0fcabeca
Do not forget to increment the pointers...
2001-05-15 15:49:54 +00:00
Richard Levitte
6482dec1bb
Low-case the names of the system routines, since some versions of
...
DEC C only have them declared that way (it doesn't really matter,
since the linker is case-insensitive by default)
2001-05-15 05:15:47 +00:00
Richard Levitte
81b5eeed6a
branch on equal is beql, not beq...
2001-05-14 22:10:09 +00:00
Richard Levitte
365359dd79
Make sure strdup() is properly declared.
2001-05-14 12:23:28 +00:00
Richard Levitte
2757be06de
Make sure memset() is properly declared.
2001-05-14 12:22:58 +00:00
Richard Levitte
d0afe49d3e
ui was forgotten when installing libcrypto and it's headers.
2001-05-14 12:22:27 +00:00
Richard Levitte
81b31b7087
ui_compat.h was forgotten in the "symlinking" routine.
2001-05-14 12:21:16 +00:00
Richard Levitte
2643b122fc
Remove the password reading objects from LIB_DES.
2001-05-14 11:59:02 +00:00
Richard Levitte
88db657ac2
Make more short aliases for symbols that are longer than 31
...
characters.
2001-05-14 11:58:08 +00:00
Richard Levitte
1f0af2c073
len is a size_t, which is an unsigned integer. Therefore, some
...
compilers will complain against the check for less than zero.
2001-05-14 11:56:47 +00:00
Richard Levitte
2ed2d1515e
Use ui_compat.h to get the password reading functions.
2001-05-14 11:54:36 +00:00
Richard Levitte
bb5b16a36c
Make it so the compiler doesn't inform me about the dollars in some
...
symbols.
2001-05-14 11:53:37 +00:00
Lutz Jänicke
8b9351cf61
Typos.
2001-05-14 09:57:03 +00:00
Lutz Jänicke
5892855c5f
Typos.
2001-05-14 09:52:44 +00:00
Lutz Jänicke
b23f1df65f
One more point to clarify, pointed out by "Greg Stark" <ghstark@pobox.com>
2001-05-14 09:03:35 +00:00
Lutz Jänicke
a6e859e9ec
One more point to clarify, pointed out by "Greg Stark" <ghstark@pobox.com>
2001-05-14 09:02:38 +00:00
Richard Levitte
99c65cef0f
It seems like the removal of "extern" before "static" wasn't a
...
mistake.
2001-05-13 17:55:30 +00:00
Richard Levitte
496da8b918
Document the addition.
2001-05-13 10:37:02 +00:00
Richard Levitte
739862384c
A randomizer for OpenVMS, using the statistics that are easily
...
reachable.
It's completely untested for now. To be done in the next few days.
2001-05-13 10:34:18 +00:00
Richard Levitte
0a647c2b8b
Define `ok' and better error detection.
2001-05-13 05:34:39 +00:00
Richard Levitte
429e4f0de8
make update
2001-05-13 05:16:58 +00:00
Richard Levitte
2d10c7156c
Win16 too :-).
2001-05-13 05:01:58 +00:00
Richard Levitte
299053becd
des_read_password() and des_read_2passwords() can only appear if DES
...
is compiled.
2001-05-13 04:59:09 +00:00
Richard Levitte
1449bda052
When doing rewrites on ssleay.num, the file was prematurely closed.
...
Make rewrites the default, since it works, and people get confused if
changed information doesn't get rewritten automagically.
2001-05-13 04:48:07 +00:00
Richard Levitte
56bb1a7c83
Move the password reading functions completely away from the DES
...
section.
Add ui_compat.h for inclusion by those who want the old functions and
provide all of them, not just the higher-level ones, in ui_compat.c.
2001-05-13 04:40:44 +00:00
Richard Levitte
96aaf806d8
Put back a removed "extern", or many compilers will complain about
...
redefined variables.
2001-05-13 04:34:57 +00:00
Dr. Stephen Henson
d70e5100c0
#if 0 out deleted (?) functions to stop Win32 DLL
...
build falling over.
2001-05-13 00:33:55 +00:00
Dr. Stephen Henson
4831e626aa
Change Win32 to use EXPORT_VAR_AS_FN.
...
Fix OPENSSL_IMPLEMENT_GLOBAL.
Allow Win32 to use EXPORT_VAR_AS_FN in mkdef.pl
make update.
2001-05-12 23:57:41 +00:00
Lutz Jänicke
f05735c8c9
Clarify behaviour with respect to SSL/TLS records.
2001-05-12 09:49:46 +00:00
Lutz Jänicke
33ab4699ba
Clarify behaviour with respect to SSL/TLS records.
2001-05-12 09:49:02 +00:00
Dr. Stephen Henson
595cc5b4b8
Under VC++ _DLL is set to indicate that the application
...
will be linked against the DLL runtime library. It is
automatically set when /MD is used.
As a result OpenSSL shouldn't use _DLL to determine if
it should set OPENSSL_OPT_WINDLL because this will
cause linkage conflicts with static builds which do
include the /MD compiler switch.
2001-05-12 00:16:56 +00:00
Dr. Stephen Henson
29fb08c2de
Typo.
2001-05-12 00:09:04 +00:00
Richard Levitte
7babdf2029
e_os2.h defines things like OPENSSL_SYS_MSDOS, not opensslconf.h...
...
(basically: whooops :-))
2001-05-11 11:20:26 +00:00
Lutz Jänicke
42f310f596
Clarify behaviour of SSL_write() by mentioning SSL_MODE_ENABLE_PARTIAL_WRITE
...
flag as discussed on the mailing list.
2001-05-11 09:54:20 +00:00
Lutz Jänicke
4b3270f78e
Clarify behaviour of SSL_write() by mentioning SSL_MODE_ENABLE_PARTIAL_WRITE
...
flag as discussed on the mailing list.
2001-05-11 09:53:10 +00:00
Lutz Jänicke
3351b8d007
Update changelog to reflect additional changes made to the egd-locations.
2001-05-10 09:45:31 +00:00
Bodo Möller
4b49bf6a93
restore change undone in 1.831 (apparently by accident)
2001-05-10 09:33:18 +00:00
Dr. Stephen Henson
926a56bfe3
Purpose and trust setting functions for X509_STORE.
...
Tidy existing code.
2001-05-10 00:13:59 +00:00
Dr. Stephen Henson
d6f188be71
Fix warning with DEBUG_SAFESTACK
2001-05-10 00:09:43 +00:00
Dr. Stephen Henson
016cadfb54
Fix to allow multiple NONE libraries in mkerr.pl .
2001-05-10 00:07:45 +00:00
Dr. Stephen Henson
bdee69f718
Allow various X509_STORE_CTX properties to be
...
inherited from X509_STORE.
Add CRL checking options to other applications.
2001-05-09 00:30:39 +00:00
Bodo Möller
77c6edc1d1
fix an old entry
2001-05-08 12:46:33 +00:00
Bodo Möller
ff43e2e155
fix an old entry
2001-05-08 12:45:55 +00:00
Richard Levitte
f53948856e
There is no uitest
2001-05-08 04:23:25 +00:00
Richard Levitte
14056ee2ee
Don't forget crypto/ui...
2001-05-08 04:09:19 +00:00
Dr. Stephen Henson
b545dc6775
Initial CRL based revocation checking.
2001-05-07 22:52:50 +00:00
Richard Levitte
027902999e
Clarify the license and copyright, make preprocessor dirctives a
...
little bit clearer and use the new OPENSSL_SYS_* macros.
2001-05-07 06:33:35 +00:00
Richard Levitte
9a310a5d4e
make update
2001-05-06 23:51:37 +00:00
Richard Levitte
a63d5eaab2
Add a general user interface API. This is designed to replace things
...
like des_read_password and friends (backward compatibility functions
using this new API are provided). The purpose is to remove prompting
functions from the DES code section as well as provide for prompting
through dialog boxes in a window system and the like.
2001-05-06 23:19:37 +00:00
Ulf Möller
6af59bc095
the backslash is significant...
2001-05-04 15:03:59 +00:00
Bodo Möller
99bd4baa54
.rnd issues
2001-05-03 09:28:19 +00:00
Bodo Möller
24cc290b85
.rnd issues
2001-05-03 09:27:43 +00:00
Bodo Möller
c8913d8e8a
bctest changes for Ultrix (don't return 1 from bctest, otherwise make aborts)
2001-05-03 08:50:32 +00:00
Bodo Möller
8e264a933f
bctest changes for Ultrix (don't return 1 from bctest, otherwise make aborts)
2001-05-03 08:50:27 +00:00
Richard Levitte
3c836ff0f8
Some platforms (most notably Windows) do not have a $HOME by default.
...
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will return NULL.
This change adds a default HOME for those platforms.
To add a default HOME for any platform, just define DEFAULT_HOME in
the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
2001-05-03 07:50:39 +00:00
Richard Levitte
f0b54fefe9
Some platforms (most notably Windows) do not have a $HOME by default.
...
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will return NULL.
This change adds a default HOME for those platforms.
To add a default HOME for any platform, just define DEFAULT_HOME in
the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
2001-05-03 07:50:11 +00:00
Richard Levitte
a956392145
Add support for Sun C on Solaris x86. Contributed by Ben <mouring@etoh.eviladmin.org>
2001-05-03 06:15:05 +00:00
Richard Levitte
cf2d9e09b3
Add support for Sun C on Solaris x86. Contributed by Ben <mouring@etoh.eviladmin.org>
2001-05-03 06:14:47 +00:00
Richard Levitte
d02408ad8a
Remove part conflict indicator...
2001-05-02 07:15:03 +00:00
Richard Levitte
4760dc31c9
Merge in the following changes (from the main trunk log):
...
>----------------------------
>revision 1.24
>date: 2001/04/29 16:30:59; author: steve; state: Exp; lines: +5 -1
>Win32 fixes:
>
>define LLONG properly for VC++.
>
>stop compiler complaining about signed/unsigned mismatch in apps/engine.c
>----------------------------
>revision 1.22
>date: 2001/02/27 23:59:18; author: ulf; state: Exp; lines: +1 -1
>%f conversion bug fix
>Submitted by: Henrik Eriksson <henrik.eriksson@axis.com >
>----------------------------
>revision 1.21
>date: 2000/10/22 12:44:12; author: levitte; state: Exp; lines: +3 -3
>On some operating systems, MAX is defined. Call ours OSSL_MAX instead
2001-05-02 07:10:42 +00:00
Geoff Thorpe
7ae551fd03
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
...
ENGINE code does not return a default, set an error.
2001-04-30 15:24:41 +00:00
Dr. Stephen Henson
c2e45f6ddf
Win32 fixes:
...
define LLONG properly for VC++.
stop compiler complaining about signed/unsigned mismatch in apps/engine.c
2001-04-29 16:30:59 +00:00
Richard Levitte
f9a4ad4fa6
A method to create shared libraries on AIX, and according to
...
"Howard Chu" <hyc@highlandsun.com >, it may be general enough
to work on any Unixly system.
2001-04-27 21:33:44 +00:00
Richard Levitte
10645a4f13
make update
2001-04-27 08:59:00 +00:00
Geoff Thorpe
06cb0353e5
For some inexplicable reason, I'd (a) left the debugging irreversibly
...
turned on, and (b) left a somewhat curious debugging string in the output.
2001-04-27 00:31:21 +00:00
Geoff Thorpe
b41f836e5f
Some fixes to the reference-counting in ENGINE code. First, there were a
...
few statements equivalent to "ENGINE_add(ENGINE_openssl())" etc. The inner
call to ENGINE_openssl() (as with other functions like it) orphans a
structural reference count. Second, the ENGINE_cleanup() function also
needs to clean up the functional reference counts held internally as the
list of "defaults" (ie. as used when RSA_new() requires an appropriate
ENGINE reference). So ENGINE_clear_defaults() was created and is called
from within ENGINE_cleanup(). Third, some of the existing code was
logically broken in its treatment of reference counts and locking (my
fault), so the necessary bits have been restructured and tidied up.
To test this stuff, compiling with ENGINE_REF_COUNT_DEBUG will cause every
reference count change (both structural and functional) to log a message to
'stderr'. Using with "openssl engine" for example shows this in action
quite well as the 'engine' sub-command cleans up after itself properly.
Also replaced some spaces with tabs.
2001-04-26 23:04:30 +00:00
Richard Levitte
26a81abffc
Make proper use of all disabling variables.
2001-04-26 21:02:57 +00:00
Geoff Thorpe
ab03b0df4c
"make update"
2001-04-26 20:56:30 +00:00
Geoff Thorpe
e5a77633cf
Make notes about ENGINE changes.
2001-04-26 20:42:12 +00:00
Richard Levitte
6f8a82c7af
Linux shared libraries can be linked with debug symbols.
...
Tru64 shared libraries can be linked with static libraries.
2001-04-26 20:17:59 +00:00
Richard Levitte
7a7f47ea80
make update
2001-04-26 19:45:31 +00:00
Geoff Thorpe
0ce5f3e4f5
This adds 2 things to the ENGINE code.
...
* "ex_data" - a CRYPTO_EX_DATA structure in the ENGINE structure itself
that allows an ENGINE to store its own information there rather than in
global variables. It follows the declarations and implementations used
in RSA code, for better or worse. However there's a problem when storing
state with ENGINEs because, unlike related structure types in OpenSSL,
there is no ENGINE-vs-ENGINE_METHOD separation. Because of what ENGINE
is, it has method pointers as its structure elements ... which leads
to;
* ENGINE_FLAGS_BY_ID_COPY - if an ENGINE should not be used just as a
reference to an "implementation" (eg. to get to a hardware device), but
should also be able to maintain state, then this flag can be set by the
ENGINE implementation. The result is that any call to ENGINE_by_id()
will not result in the existing ENGINE being returned (with its
structural reference count incremented) but instead a new copy of the
ENGINE will be returned that can maintain its own state independantly of
any other copies returned in the past or future. Eg. key-generation
might involve a series of ENGINE-specific control commands to set
algorithms, sizes, module-keys, ids, ACLs, etc. A final command could
generate the key. An ENGINE doing this would *have* to declare
ENGINE_FLAGS_BY_ID_COPY so that the state of that process can be
maintained "per-handle" and unaffected by other code having a reference
to the same ENGINE structure.
2001-04-26 19:35:44 +00:00
Richard Levitte
21023745e2
Clean up ENGINE before exiting.
2001-04-26 16:08:10 +00:00
Richard Levitte
a679116f6f
Provide the possibility to clean up internal ENGINE structures. This
...
takes care of what would otherwise be seen as a memory leak.
2001-04-26 16:07:08 +00:00
Richard Levitte
3988bb34aa
gcc warns when certain values of an enumeration aren't taken care of,
...
unless there's a default clause.
2001-04-26 15:53:42 +00:00
Richard Levitte
9e78e6c3f8
Check for OPENSSL_NO_RSA, OPENSSL_NO_DSA and OPENSSL_NO_DH and disable
...
appropriate code if any of them is defined.
2001-04-26 15:45:12 +00:00
Richard Levitte
3caff6092a
engine.h includes all the needed header files, so don't do it again
...
here.
2001-04-26 15:04:22 +00:00
Richard Levitte
0d96bf8950
We shouldn't skip over header files to avoid functions of disabled algorithms. The selection is done in a different way
2001-04-26 12:01:12 +00:00
Richard Levitte
91dc71f98d
User OPENSSL_UNISTD instead of <unistd.h>.
...
Spotted by Mark Crispin <MRC@Panda.COM >
2001-04-26 08:26:18 +00:00
Geoff Thorpe
b7b6c047ca
This change to the "dl", "dlfcn", and "win32" DSO_METHODs adds the filename
...
or symbol name to the error stack in the event a load or bind operation
failed.
2001-04-25 22:40:55 +00:00
Lutz Jänicke
5fde80cd56
Typo (Petr Lancaric <Petr.Lancaric@ips-ag.cz>).
2001-04-25 15:25:39 +00:00
Lutz Jänicke
0ea659475c
Typo (reported by Petr Lancaric <Petr.Lancaric@ips-ag.cz>)
2001-04-25 15:24:47 +00:00
Geoff Thorpe
1e20bb0648
Make update.
2001-04-22 17:21:19 +00:00
Dr. Stephen Henson
c962479bdf
Fix ASN1 bug when decoding OTHER type.
...
Various S/MIME DSA related fixes.
2001-04-21 12:06:01 +00:00
Richard Levitte
b31ccc362c
Script to create shareable images (shared libraries in Unixly terms)
...
on VMS.
2001-04-20 13:09:10 +00:00
Richard Levitte
0cd5866726
VMS was behind when it comes to OCSP.
2001-04-20 12:37:14 +00:00
Geoff Thorpe
2a8a10eda6
Add notes about the new ENGINE functionality.
2001-04-19 23:06:00 +00:00
Geoff Thorpe
f11bc84080
Changes to "openssl engine" to support the new control command code in
...
ENGINE.
* Extra verbosity can be added with more "v"'s, eg. '-vvv' gives
information about input flags and descriptions for each control command
in each ENGINE. Check the output of "openssl engine -vvv" for example.
* '-pre <cmd>' and '-post <cmd>' can be used to invoke control commands on
the specified ENGINE (or on all of them if no engine id is specified,
although that usually gets pretty ugly). '-post' commands are only
attempted if '-t' is specified and the engine successfully initialises.
'-pre' commands are always attempted whether or not '-t' causes an
initialisation to be tried afterwards. Multiple '-pre' and/or '-post'
commands can be specified and they will be called in the order they
occur on the command line.
Parameterised commands (the normal case, there are currently no
unparameterised ones) are split into command and argument via a separating
colon. Eg. "openssl engine -pre SO_PATH:/lib/libdriver.so <id>" results in
the call;
ENGINE_ctrl_cmd_string(e, "SO_PATH", "/lib/libdriver.so", 0);
Application code should similarly allow arbitrary name-value string pairs
to be passed into ENGINEs in a manner matching that in apps/engine.c,
either using the same colon-separated format, or entered as two distinct
strings. Eg. as stored in a registry. The last parameter of
ENGINE_ctrl_cmd_string can be changed from 0 to 1 if the command should
only be attempted if it's supported by the specified ENGINE (eg. for
commands like "FORK_CHECK:1" that may or may not apply to the run-time
ENGINE).
2001-04-19 02:08:26 +00:00
Geoff Thorpe
e2f3ae1252
Some more tweaks to ENGINE code.
...
This change adds some basic control commands to the existing ENGINEs
(except the software 'openssl' engine). All these engines currently load
shared-libraries for hardware APIs, so they've all been given "SO_PATH"
commands that will configure the chosen ENGINE to load its shared library
from the given path. Eg. by calling;
ENGINE_ctrl_cmd_string(e, "SO_PATH", <path>, 0).
The nCipher 'chil' ENGINE has also had "FORK_CHECK" and "THREAD_LOCKING"
commands added so these settings could be handled via application-level
configuration rather than in application source code.
Changes to "openssl engine" to test and examine these control commands will
be made shortly. It will also provide the necessary tips to application
programs wanting to support these dynamic control commands.
2001-04-19 01:45:40 +00:00
Geoff Thorpe
40fcda292f
Some BIG tweaks to ENGINE code.
...
This change adds some new functionality to the ENGINE code and API to
make it possible for ENGINEs to describe and implement their own control
commands that can be interrogated and used by calling applications at
run-time. The source code includes numerous comments explaining how it all
works and some of the finer details. But basically, an ENGINE will normally
declare an array of ENGINE_CMD_DEFN entries in its ENGINE - and the various
new ENGINE_CTRL_*** command types take care of iterating through this list
of definitions, converting command numbers to names, command names to
numbers, getting descriptions, getting input flags, etc. These
administrative commands are handled directly in the base ENGINE code rather
than in each ENGINE's ctrl() handler, unless they specify the
ENGINE_FLAGS_MANUAL_CMD_CTRL flag (ie. if they're doing something clever or
dynamic with the command definitions).
There is also a new function, ENGINE_cmd_is_executable(), that will
determine if an ENGINE control command is of an "executable" type that
can be used in another new function, ENGINE_ctrl_cmd_string(). If not, the
control command is not supposed to be exposed out to user/config level
access - eg. it could involve the exchange of binary data, returning
results to calling code, etc etc. If the command is executable then
ENGINE_ctrl_cmd_string() can be called using a name/arg string pair. The
control command's input flags will be used to determine necessary
conversions before the control command is called, and commands of this
form will always return zero or one (failure or success, respectively).
This is set up so that arbitrary applications can support control commands
in a consistent way so that tweaking particular ENGINE behaviour is
specific to the ENGINE and the host environment, and independant of the
application or OpenSSL.
Some code demonstrating this stuff in action will applied shortly to the
various ENGINE implementations, as well as "openssl engine" support for
executing arbitrary control commands before and/or after initialising
various ENGINEs.
2001-04-19 00:41:55 +00:00
Geoff Thorpe
59bc3126c5
Some more tweaks to ENGINE code.
...
The existing ENGINEs (including the default 'openssl' software engine) were
static, declared inside the source file for each engine implementation. The
reason this was not going boom was that all the ENGINEs had reference
counts that never hit zero (once linked into the internal list, each would
always have at least 1 lasting structural reference).
To fix this so it will stay standing when an "unload" function is added to
match ENGINE_load_builtin_engines(), the "constructor" functions for each
ENGINE implementation have been changed to dynamically allocate and
construct their own ENGINEs using API functions. The other benefit of this
is that no ENGINE implementation has to include the internal "engine_int.h"
header file any more.
2001-04-18 21:46:00 +00:00
Geoff Thorpe
4d6115a5cc
Make a note of the recent ENGINE developments.
2001-04-18 21:12:02 +00:00
Bodo Möller
ecacb136c5
typo
2001-04-18 15:12:26 +00:00
Bodo Möller
3a25b96caf
typo
2001-04-18 15:11:42 +00:00
Bodo Möller
db17ecdae3
fix md_rand.c locking bugs
2001-04-18 15:08:19 +00:00
Bodo Möller
6e6d04e29a
fix md_rand.c locking bugs
2001-04-18 15:07:35 +00:00
Geoff Thorpe
48ff225300
Make the shared library name and function symbol for the "nuron" ENGINE
...
static data where they could be parameterised by ctrl() commands.
2001-04-18 04:47:01 +00:00
Geoff Thorpe
a4a9d97a3e
Some more tweaks from ENGINE code.
...
Previously RAND_get_rand_method was returning a non-const pointer, but it
should be const. As with all other such cases, METHOD pointers are stored and
returned as "const". The only methods one should be able to alter are methods
"local" to the relevant code, in which case a non-const handle to the methods
should already exist.
This change has been forced by the constifying of the ENGINE code (before
which RAND_METHOD was the only method pointer in an ENGINE structure that was
not constant).
2001-04-18 04:18:16 +00:00
Geoff Thorpe
404f952aa3
Some more tweaks to ENGINE code.
...
ENGINE handler functions should take the ENGINE structure as a parameter -
this is because ENGINE structures can be copied, and like other
structure/method setups in OpenSSL, it should be possible for init(),
finish(), ctrl(), etc to adjust state inside the ENGINE structures rather
than globally. This commit includes the dependant changes in the ENGINE
implementations.
2001-04-18 03:57:05 +00:00
Geoff Thorpe
dcd87618ab
Some more tweaks to ENGINE code.
...
Previous changes permanently removed the commented-out old code for where
it was possible to create and use an ENGINE statically, and this code gets
rid of the ENGINE_FLAGS_MALLOCED flag that supported the distinction with
dynamically allocated ENGINEs. It also moves the area for ENGINE_FLAGS_***
values from engine_int.h to engine.h - because it should be possible to
declare ENGINEs just from declarations in exported headers.
2001-04-18 03:03:16 +00:00
Geoff Thorpe
d54bf14559
Some more tweaks to ENGINE code.
...
* Constify the get/set functions, and add some that functions were missing.
* Add a new 'ENGINE_cpy()' function that will produce a new ENGINE based
copied from an original (except for the references, ie. the new copy will
be like an ENGINE returned from 'ENGINE_new()' - a structural reference).
* Removed the "null parameter" checking in the get/set functions - it is
legitimate to set NULL values as a way of *changing* an ENGINE (ie.
removing a handler that previously existed). Also, passing a NULL pointer
for an ENGINE is obviously wrong for these functions, so don't bother
checking for it. The result is a number of error codes and strings could
be removed.
2001-04-18 02:01:36 +00:00
Geoff Thorpe
ea3a429efe
Structural references should never be decremented directly - so leave that
...
to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
2001-04-18 01:07:28 +00:00
Geoff Thorpe
e3f1223fe4
This moves string constants out of vendor headers and into C files.
2001-04-18 00:43:23 +00:00
Geoff Thorpe
7ef6e3fe2f
'make update'
2001-04-17 23:53:58 +00:00
Lutz Jänicke
ee718b2c22
Clarify request of client certificates. This is a FAQ.
2001-04-17 13:20:05 +00:00
Lutz Jänicke
197322455d
Clarify request of client certificates. This is a FAQ.
2001-04-17 13:18:56 +00:00
Ben Laurie
4f19a0672b
Fix warning.
2001-04-16 03:00:57 +00:00
Lutz Jänicke
514481f686
-1 cannot work on platforms with unsigned char
...
(Jun-ichiro itojun Hagino <itojun@iijlab.net >).
2001-04-15 10:30:01 +00:00
Lutz Jänicke
854e076df8
Constify (Jason Molenda <jason@molenda.com>)
2001-04-14 14:50:02 +00:00
Lutz Jänicke
b089e64654
Don't make half work when constifying...
2001-04-14 14:48:44 +00:00
Lutz Jänicke
3c1f0ccbf4
Constify "salt" (Jason Molenda <jason@molenda.com>)
2001-04-14 14:42:28 +00:00
Lutz Jänicke
c5e00a3ee2
Missing link ("Greg Stark" <gstark@ethentica.com>)
2001-04-12 21:12:30 +00:00
Lutz Jänicke
cb2a0e1319
Missing link ("Greg Stark" <gstark@ethentica.com>)
2001-04-12 21:11:31 +00:00
Lutz Jänicke
26c329cd84
Fix wrong information with respect to CAs listed to the client
...
(follows from technical discussion with Amit Chopra <amitc@pspl.co.in >).
2001-04-12 16:03:28 +00:00
Lutz Jänicke
638b0d4277
Fix wrong information with respect to CAs listed to the client
...
(follows from technical discussion with Amit Chopra <amitc@pspl.co.in >).
2001-04-12 16:02:34 +00:00
Bodo Möller
f2346808de
update so that changes going into the 0.9.6 tree can be logged
2001-04-12 12:42:20 +00:00
Bodo Möller
d349c5f8fd
some updates from 0.9.7-dev
2001-04-12 12:09:07 +00:00
Bodo Möller
d7818facb9
undo previous change ...
2001-04-12 12:03:41 +00:00
Bodo Möller
bcf95a2183
update from 0.9.6a
2001-04-12 12:01:47 +00:00
Lutz Jänicke
3a11466381
Typo (Jun-ichiro itojun Hagino <itojun@iijlab.net>)
2001-04-12 11:46:23 +00:00
Lutz Jänicke
f7181a9179
Typo (Jun-ichiro itojun Hagino <itojun@iijlab.net>)
2001-04-12 11:45:42 +00:00
Richard Levitte
9237ba8b66
Correct typo.
2001-04-11 14:14:54 +00:00
Richard Levitte
95874603b0
Add -keyform.
2001-04-11 14:11:55 +00:00
Richard Levitte
ed2e24d564
Show an example of moving the emailAddress object from the subkect DN
...
to subjectAltName when signing a certificate.
2001-04-11 13:04:20 +00:00
Richard Levitte
c9fd77e9dd
Make it possible to move the emailAddress object to the subjectAltName
...
extension instead of just copying it. That makes a certificate comply
even more with PKIX recommendations according to RFC 2459.
2001-04-11 12:55:06 +00:00
Bodo Möller
a9d2bc4902
Add information on 0.9.6a (in a form such that the list can be
...
verified by looking at 'diff -u ../openssl-0.9.6a/CHANGES CHANGES')
2001-04-11 10:35:38 +00:00
Richard Levitte
5c4c4c2b90
The changes that I just commited on this file is a mistake. Go back. This never happened :-)
2001-04-11 10:12:13 +00:00
Richard Levitte
ec11fa2159
NetBSD and OpenBSD use TOD as well
2001-04-11 10:06:44 +00:00
Richard Levitte
c3bdbcf639
NetBSD and OpenBSD use TOD as well
2001-04-11 10:06:02 +00:00
Bodo Möller
d9a770e6ea
Mention automatically queried EGD sockets (OpenSSL 0.9.7).
...
0.9.5 is obsolete, so we don't have to discuss its 'openssl rsa'
seeding bug.
2001-04-10 07:59:43 +00:00
Lutz Jänicke
35feed50f0
Some clarifications about $RANDFILE usage.
2001-04-09 16:01:38 +00:00
Lutz Jänicke
a116afa42e
OpenSSH 1.2.2p1 is dead and gone. Errors detecting the OpenSSL library
...
are however still common and are solved by checking config.log.
2001-04-09 15:55:58 +00:00
Lutz Jänicke
c4365acc48
Typo (was already fixed in 0.9.7-dev).
2001-04-09 15:00:31 +00:00
Richard Levitte
b4542fb307
Correct info in the FAQ.
2001-04-09 14:17:26 +00:00
Bodo Möller
1f224bf029
Adjust BN_mod_inverse algorithm selection according to experiments on
...
Ultra-Sparcs (both 32-bit and 64-bit compilations)
2001-04-09 09:28:24 +00:00
Bodo Möller
4d231b4359
update (0.9.6a)
2001-04-09 07:15:16 +00:00
Bodo Möller
ac0f1d0b14
comment
2001-04-08 18:47:23 +00:00
Bodo Möller
124d8cf701
code documentation
2001-04-08 18:41:35 +00:00
Bodo Möller
7d0d0996aa
binary algorithm for modular inversion
2001-04-08 18:23:44 +00:00
Bodo Möller
9cddbf14db
avoid '||' since Ultrix apparently doesn't understand it
2001-04-08 18:22:53 +00:00
Bodo Möller
5f1fddbbe7
'||', '&&' and 'test -x' apparently don't work on Ultrix;
...
also 'test' appears to be available as '[' only in 'if' conditions.
2001-04-08 13:49:45 +00:00
Bodo Möller
027e257b1d
Avoid assert() in the library.
2001-04-08 13:47:51 +00:00
Lutz Jänicke
c29dbb9562
Add forgotten "-passin" option to smime.c usage help.
2001-04-08 10:53:27 +00:00
Lutz Jänicke
93f117003e
Add forgotten "-passin" option to smime.c usage help.
2001-04-08 10:51:14 +00:00
Richard Levitte
42748c084e
Resize a local buffer to accomodate the size requirements of AES.
...
Protect against future mistakes with an assert().
2001-04-08 05:41:42 +00:00
Richard Levitte
77dd9c1850
Add the possibility to have AES removed in Windows as well.
...
Spotted by Harald Koch <chk@pobox.com >
2001-04-08 04:35:58 +00:00
Richard Levitte
cb1c1555fa
A small change that only went to the engine-0.9.6 branch...
...
This change will be part of 0.9.6a.
2001-04-05 21:08:33 +00:00
Richard Levitte
fa528639e3
Tagging has been done, move on to development of 0.9.6b.
...
(Hopefully, it will never be needed)
2001-04-05 17:59:14 +00:00
Richard Levitte
092ab05aef
Forgot to update the STATUS file. This will be part of 0.9.6a
2001-04-05 17:42:00 +00:00
Richard Levitte
4f647957c5
Release OpenSSL 0.9.6a.
...
The tag will be OpenSSL_0_9_6a
2001-04-05 16:43:07 +00:00
Richard Levitte
4424a12c43
make update
2001-04-05 16:36:00 +00:00
Bodo Möller
83d968df60
Don't use 'tt' uninitialized when reporting an error
...
(we don't have an ASN1_TEMPLATE to complain about at this stage,
so errtt == NULL should be OK)
2001-04-05 11:40:16 +00:00
Richard Levitte
4ac881ede3
Fix couple of memory leaks in PKCS7_dataDecode().
...
(provided by Stephen)
2001-04-05 10:19:12 +00:00
Richard Levitte
ccd2cd3e64
Unixware config.
2001-04-05 10:09:53 +00:00
Dr. Stephen Henson
592f5c5797
Fix couple of memory leaks in PKCS7_dataDecode().
2001-04-04 22:30:26 +00:00
Ulf Möller
14ba311676
Unixware config.
...
Submitted by: Tim Rice <tim@multitalents.net >
2001-04-04 19:20:33 +00:00
Bodo Möller
b9a96c0134
don't use shell functions
2001-04-04 16:27:44 +00:00
Bodo Möller
6186ef9338
don't use shell functions
2001-04-04 16:26:31 +00:00
Richard Levitte
6bcac6e578
Correct a typo. linux != linus.
2001-04-04 16:03:00 +00:00
Richard Levitte
75c3c831db
Incorporate some changes that make OpenSSL compilable in CygWin.
2001-04-04 15:51:36 +00:00
Richard Levitte
967d95f096
Incorporate some changes that make OpenSSL compilable in CygWin.
2001-04-04 15:50:30 +00:00
Richard Levitte
26c7750827
Since vms.mar handles 32-bit integers, do not use it on Alpha, that's
...
just a slowdown.
2001-04-04 13:52:56 +00:00
Richard Levitte
5a16d270ab
OpenVMS/Alpha should use 64 bits. If nothing else, there's
...
performance to gain.
2001-04-04 13:51:35 +00:00
Richard Levitte
385af2e9ec
We're still just developping beta4 (or final release)
2001-04-04 04:30:39 +00:00
Richard Levitte
3c43aa1b82
Make do_bsd-gcc-shared depend on do_gnu-shared instead of the non-existent linux-shared
2001-04-04 04:24:35 +00:00
Richard Levitte
3a465d5ec9
Make do_bsd-gcc-shared depend on do_gnu-shared instead of the non-existent linux-shared
2001-04-04 04:24:24 +00:00
Bodo Möller
dea0f7dd0d
As in the main branch, ignore the bctest exit value.
...
(I thought I had done this change before ...)
2001-04-03 15:20:22 +00:00
Bodo Möller
413a4a0461
Fix warnings.
2001-04-03 14:03:47 +00:00
Bodo Möller
a95d2c5133
Make sure OPENSSL_SYS_... is defined when we need it.
2001-04-03 14:03:19 +00:00
Bodo Möller
1876cc32ae
This change should be suitable as a workaround for the Solaris x86
...
compiler bug reported in <01032110293775.22278@weba3.iname.net >
(the '++seq[i]' condition is evaluated as 256 rather than 0
when the previous value is 255).
2001-04-03 13:50:30 +00:00
Bodo Möller
9a22ce66c9
This change should be suitable as a workaround for the Solaris x86
...
compiler bug reported in <01032110293775.22278@weba3.iname.net >
(the '++seq[i]' condition is evaluated as 256 rather than 0
when the previous value is 255).
2001-04-03 13:46:36 +00:00
Richard Levitte
72cd659df6
Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>
2001-04-03 09:42:49 +00:00
Richard Levitte
4e2a08ddd4
Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>
2001-04-03 09:42:36 +00:00
Richard Levitte
61e2c34a10
Reports on Windows, DG-UX and older OpenVMS.
2001-04-03 09:02:07 +00:00
Richard Levitte
58eef36b4d
libfisdef.h and LIB do not exist on older VMS versions
2001-04-03 08:31:45 +00:00
Richard Levitte
e56b54a376
libfisdef.h and LIB do not exist on older VMS versions
2001-04-03 08:31:39 +00:00
Richard Levitte
79311176b2
Remove a typo in dgux-R4-gcc.
2001-04-03 08:27:53 +00:00
Richard Levitte
0da945bb20
Remove a typo in dgux-R4-gcc.
2001-04-03 08:05:03 +00:00
Geoff Thorpe
69443d0da0
ENGINE_load_[private|public]_key had error handling that could return
...
without releasing a lock. This is the same fix as applied to
OpenSSL-engine-0_9_6-stable, minus the ENGINE_ctrl() change - the HEAD
already had that fixed.
2001-04-02 17:47:16 +00:00
Geoff Thorpe
e4dc18d7e5
Actually there were two error cases that could return without releasing the
...
lock - stupidly, my last change addressed only one of them.
2001-04-02 17:21:36 +00:00
Geoff Thorpe
3f86a2b147
Don't return an error until the global lock is released.
2001-04-02 17:06:36 +00:00
Richard Levitte
fd664b9fc6
Reports on VMS.
2001-04-02 14:39:20 +00:00
Richard Levitte
88f59f6152
Compaq C on OpenVMS is a little picky around producing empty object
...
files...
2001-04-02 09:10:59 +00:00
Dr. Stephen Henson
722ca2781c
Rewrite CHOICE field setting code to properly handle
...
combine in CHOICE options.
This was causing d2i_DSAPublicKey() to misbehave.
2001-04-02 00:59:19 +00:00
Richard Levitte
1c72eebf89
A few more reports.
2001-04-01 15:18:35 +00:00
Richard Levitte
69ce8bb952
Note reports.
2001-03-31 14:03:09 +00:00
Bodo Möller
50b8ba0201
avoid buffer overflow
2001-03-31 07:48:07 +00:00
Bodo Möller
e32578847c
avoid buffer overflow
2001-03-31 07:47:32 +00:00
Ulf Möller
c9fd9152bd
Note the Alpha asm change
2001-03-31 01:23:10 +00:00
Ulf Möller
323fd27435
Note that alpha.s is no longer used.
2001-03-31 01:19:42 +00:00
Richard Levitte
f891abccf2
linux-elf verified.
2001-03-30 21:43:06 +00:00
Richard Levitte
e2effdbc6b
Beta 3 has been released and announced.
2001-03-30 20:54:12 +00:00
Richard Levitte
fcc88e4915
Tagging has been done, move on to develop beta 4 (hopefully not :-)).
2001-03-30 16:22:44 +00:00
Richard Levitte
86cb01870c
make update
2001-03-30 15:59:57 +00:00
Bodo Möller
b10ae320f7
this time *really* fix the /../ check ...
2001-03-30 14:55:50 +00:00
Bodo Möller
19086ef67b
this time *really* fix the /../ check ...
2001-03-30 14:55:19 +00:00
Dr. Stephen Henson
ce3fc3956d
Fix asn1_GetSequence() for indefinite length sequences.
2001-03-30 13:42:32 +00:00
Richard Levitte
787f25ab42
Release beta 3 of OpenSSL 0.9.6a.
...
The tag will be OpenSSL_0_9_6a-beta3.
2001-03-30 12:21:28 +00:00
Bodo Möller
85794e5556
Remove unused variable 'prev_slash' that I accidentily added.
2001-03-30 10:50:27 +00:00
Bodo Möller
7f950bd8a2
For -WWW, fix test for ".." directory references (and avoid warning for
...
index -1).
2001-03-30 10:47:56 +00:00
Bodo Möller
5d3ab9b096
For -WWW, fix test for ".." directory references (and avoid warning for
...
index -1).
2001-03-30 10:47:21 +00:00
Bodo Möller
bf7b0d2d2b
News for 0.9.6a.
2001-03-30 10:46:49 +00:00
Bodo Möller
4fea8145e2
News for 0.9.6a.
2001-03-30 10:46:15 +00:00
Bodo Möller
83c4e75be9
Use enhanced bctest (as in main trunk), and add a workaround that
...
should solve the problems with FreeBSD's /bin/sh.
2001-03-30 09:23:14 +00:00
Bodo Möller
884e26080f
Fix bctest, and add a workaround that should solve the problem with
...
FreeBSD's /bin/sh.
2001-03-30 09:19:18 +00:00
Richard Levitte
9946491fcc
Complete the des_encrypt to des_encrypt1 rename in the main
...
development line as well.
2001-03-30 07:26:54 +00:00
Richard Levitte
e5f3be2bbb
Additionally, rename des_encrypt to des_encrypt1 in files that are
...
seldom used or read, but may still be...
2001-03-30 07:26:04 +00:00
Dr. Stephen Henson
fbca4281c8
Change des_encrypt to des_encrypt1 in assembly language perl
...
scripts and des_opts #defines.
2001-03-30 02:14:29 +00:00
Dr. Stephen Henson
a858b8036c
Fix a bug caused by the 'fix' for empty X509_NAME encoding.
2001-03-30 00:58:49 +00:00
Richard Levitte
d2be2fb241
Merge in the latest news
2001-03-29 20:58:18 +00:00
Richard Levitte
4855eb75a7
One des_encrypt to des_encrypt1 I forgot to commit...
2001-03-29 20:37:32 +00:00
Richard Levitte
ae6dfff5bf
One des_encrypt to des_encrypt1 I forgot to commit...
2001-03-29 20:30:23 +00:00
Richard Levitte
307bf4dae2
Stress the news about the name change.
2001-03-29 15:15:10 +00:00
Richard Levitte
96d65fc022
I forgot to rename des_encrypt to des_encrypt1 in libeay.num.
2001-03-29 10:49:27 +00:00
Richard Levitte
b1f88ec4e2
I forgot to rename des_encrypt to des_encrypt1 in libeay.num.
2001-03-29 10:49:01 +00:00
Richard Levitte
080b8cadfa
Since there has been reports of clashes between OpenSSL's
...
des_encrypt() and des_encrypt() defined on some systems (Solaris and
Unixware and maybe others), we rename des_encrypt() to des_encrypt1().
This should have very little impact on external software unless
someone has written a mode of DES, since that's all des_encrypt() is
meant for.
2001-03-29 07:45:37 +00:00
Richard Levitte
44924fb2b4
Since there has been reports of clashes between OpenSSL's
...
des_encrypt() and des_encrypt() defined on some systems (Solaris and
Unixware and maybe others), we rename des_encrypt() to des_encrypt1().
This should have very little impact on external software unless
someone has written a mode of DES, since that's all des_encrypt() is
meant for.
2001-03-29 07:45:01 +00:00
Richard Levitte
7cdd2aa128
Add news section for OpenSSL 0.9.6a. Please add what's missing
2001-03-28 13:36:13 +00:00
Richard Levitte
0e810cf6b0
Add news section for OpenSSL 0.9.6a. Please add what's missing
2001-03-28 13:35:48 +00:00
Ulf Möller
7d7672f119
check CRT
2001-03-28 05:10:38 +00:00
Ulf Möller
6a5b52efa0
check CRT
2001-03-28 04:56:58 +00:00
Ulf Möller
1777e3fd5e
check the CRT result.
2001-03-28 04:49:39 +00:00
Ulf Möller
6d864b7030
mips
2001-03-28 02:41:02 +00:00
Ulf Möller
509ca689b0
Note the MIPS assembler bug fix.
2001-03-28 02:39:22 +00:00
Richard Levitte
3a1dbce19d
Merge in the IRIX fix from the main development line.
2001-03-27 23:48:35 +00:00
Richard Levitte
71a39dd4be
Restore asm/mips3.s to be compiled and linked in, since the bug has
...
(at least hopefully :-)) been fixed.
2001-03-27 23:42:36 +00:00
Andy Polyakov
500230ee94
The IRIX fix. Asm recap and corresponding declation.
...
Submitted by:
Reviewed by:
PR:
2001-03-27 22:30:46 +00:00
Richard Levitte
347177e052
Include bn.h so we get BN_LLONG properly defined. Otherwise, we can forget things like %lld
2001-03-27 18:34:04 +00:00
Richard Levitte
b7883fbb6e
Reports seem to show that asm/mips3.s has faults. To be investigated, but let's avoid using it in the mean time
2001-03-27 09:13:03 +00:00
Richard Levitte
10f2bf6d81
Reports seem to show that asm/mips3.s has faults. To be investigated, but let's avoid using it in the mean time
2001-03-27 09:12:51 +00:00
Richard Levitte
1714c07164
For mips3 and alpha, put the assembler file directives in separate
...
variables and disable the Alpha assembler for now, since it has been
shown to fail.
The Alpha failure can be shown by adding the following numbers:
FFFFFFFFFFFFFF0000FF2E00000000EBFFFFFF0000D1
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF46FFE0FFFF0000
The result is:
1FFFFFFFFFFFEFF0000FF2E0000000032FFE0FEFF00D1
The result should really be:
1FFFFFFFFFFFFFF0000FF2E0000000032FFE0FEFF00D1
2001-03-26 16:26:41 +00:00
Richard Levitte
a77e023ab4
For mips3 and alpha, put the assembler file directives in separate
...
variables and disable the Alpha assembler for now, since it has been
shown to fail.
The Alpha failure can be shown by adding the following numbers:
FFFFFFFFFFFFFF0000FF2E00000000EBFFFFFF0000D1
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF46FFE0FFFF0000
The result is:
1FFFFFFFFFFFEFF0000FF2E0000000032FFE0FEFF00D1
The result should really be:
1FFFFFFFFFFFFFF0000FF2E0000000032FFE0FEFF00D1
2001-03-26 16:16:12 +00:00
Richard Levitte
4cc3d1728f
make update
2001-03-24 12:45:11 +00:00
Richard Levitte
812cb5638c
make update
2001-03-24 12:39:59 +00:00
Richard Levitte
3ae82255a9
Bring in the following changes:
...
ln on Solaris expects -f to come before -s.
The linux-shared method is actually gcc-specific, so call it
gnu-shared as well.
When using the native tools on Solaris, make damn sure the native ld
is used, even if the user has GNU ld earlier in his $PATH.
2001-03-24 12:37:32 +00:00
Richard Levitte
9bcab53f49
Bring in the following change:
...
gcc uses collect2, not ld, to link things. Therefore, when using gcc
there's no need fooling ourselves, it's the gnu-shared method that we
should use. Do it for Solaris to begin with.
2001-03-24 12:35:41 +00:00
Richard Levitte
77a0f1d727
When using the native tools on Solaris, make damn sure the native ld
...
is used, even if the user has GNU ld earlier in his $PATH.
2001-03-24 12:31:11 +00:00
Richard Levitte
b9a18f3b8d
gcc uses collect2, not ld, to link things. Therefore, when using gcc
...
there's no need fooling ourselves, it's the gnu-shared method that we
should use. Do it for Solaris to begin with.
2001-03-24 12:29:21 +00:00
Richard Levitte
ae17135ab5
Bring in the rest of the corrections for shared libraries from the
...
main trunk.
2001-03-24 12:26:03 +00:00
Richard Levitte
73aeb61c3f
ln on Solaris expects -f to come before -s.
...
The linux-shared method is actually gcc-specific, so call it
gnu-shared as well.
2001-03-24 11:45:57 +00:00
Richard Levitte
3041903844
Small AIX problems solved.
2001-03-22 22:13:16 +00:00
Richard Levitte
1f6b757ae9
For AIX 4.3 or above, allow the use of dlfcn.
2001-03-22 22:06:27 +00:00
Richard Levitte
ad8ee98617
A lot of reports.
2001-03-22 21:32:26 +00:00
Richard Levitte
a496f45f22
We really have no need for PEX_LIBS, so empty it.
2001-03-22 21:21:09 +00:00
Richard Levitte
bc29d0e5d4
We really have no need for PEX_LIBS, so empty it.
2001-03-22 21:20:54 +00:00
Dr. Stephen Henson
3485cdb98e
Oops... fix PKCS#7 bug properly this time.
2001-03-22 18:03:22 +00:00
Lutz Jänicke
3e3f04d4b7
Fix error caused by typo (len->strlen) and warning caused by long<->int
...
for HP-UX shl_* (32bit dynamic loading) interface.
2001-03-22 15:52:26 +00:00
Bodo Möller
879d230da3
solaris64-sparcv9-cc still works
2001-03-22 15:15:58 +00:00
Bodo Möller
2006dd12d6
Add missing '#ifndef NO_DSA'.
...
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk >
2001-03-22 15:13:43 +00:00
Bodo Möller
f89aebb1c4
Add missing '#ifndef OPENSSL_NO_DSA'.
2001-03-22 15:06:19 +00:00
Bodo Möller
744b9066e2
Add missing '#ifndef NO_DSA'.
...
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk >
2001-03-22 15:05:23 +00:00
Bodo Möller
1e01dbfbb2
backport the comment (here it's NO_DH, not OPENSSL_NO_DH ...)
2001-03-22 15:00:45 +00:00
Bodo Möller
6ebcd441d6
Avoid compiler warning for NO_DH as in the main trunk.
2001-03-22 14:59:18 +00:00
Bodo Möller
ea09a504ef
Add another "[This change does not apply to 0.9.7.]" line so
...
that we can combine the CHANGES files later on.
2001-03-22 14:56:55 +00:00
Richard Levitte
2e3b3c7be5
Got one positive report.
2001-03-22 14:56:04 +00:00
Richard Levitte
93389c86ca
Remove redundant operations and update version info.
2001-03-22 14:42:24 +00:00
Dr. Stephen Henson
8d82218269
Fix bug in PKCS#7 decode routines when indefinite length
...
encoding is used inside definite length encoding.
2001-03-22 13:49:15 +00:00
Richard Levitte
1d7fb4f0c5
Remove redundant operations and update version info.
2001-03-22 12:14:37 +00:00
Bodo Möller
81a6c7817f
Harmonize CHANGES and STATUS files between the 0.9.6a branch and
...
the trunk to keep diffs small.
2001-03-22 10:59:41 +00:00
Bodo Möller
a8e738f9ad
Harmonize CHANGES and STATUS files between the 0.9.6a branch and
...
the trunk to keep diffs small.
2001-03-22 10:59:18 +00:00
Bodo Möller
bdcb9321ca
The latest beta release is "2", not another "1" ...
2001-03-22 09:02:38 +00:00
Bodo Möller
d239b734e1
Avoid warning
2001-03-22 08:39:03 +00:00
Richard Levitte
d91722f8e0
Update the status.
2001-03-21 23:14:03 +00:00
Richard Levitte
b6282a2004
Tagging has been done (OpenSSL_0_9_6a-beta2), time to move on.
2001-03-21 20:54:52 +00:00
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
5238fccc15
Use stdlib.h to get size_t.
2001-03-21 18:43:12 +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
Bodo Möller
fba9046490
Update docs.
2001-03-21 15:25:56 +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
Richard Levitte
8a2908a24a
Since they aren't implemented yet, EC_GFp_{recp,nist}_method() need to
...
be "#if 0"'d, or they will (re)appear as existing functions in
util/libeay.num.
2001-03-21 12:34:34 +00:00
Bodo Möller
e8b12f7a6f
Tag EC_GFp_{nist,recp}_method as "NOEXIST" because they have
...
not yet been implemented.
2001-03-21 09:58:57 +00:00
Richard Levitte
271da5a2e0
avoid linking problems when OpenSSL is built with no-dsa. Spotted by Hellan,Kim KHE <khe@kmd.dk>
2001-03-20 15:36:59 +00:00
Bodo Möller
26fbabf3d1
Increase boundaries in EC_window_bits_for_scalar_size table.
2001-03-20 11:16:12 +00:00
Bodo Möller
37cdcb4d8a
Table for window sizes.
2001-03-19 22:38:24 +00:00
Bodo Möller
57b6534e53
Update.
2001-03-19 22:38:01 +00:00
Richard Levitte
8bf49ea170
New cofiguration for Unixwre and SCO,with slightly better granularity. Contributed by Tim Rice <tim@multitalents.net>
2001-03-18 14:25:01 +00:00
Dr. Stephen Henson
02ee8626fb
Fix PKCS#12 key generation bug.
2001-03-18 02:11:42 +00:00
Dr. Stephen Henson
0bf5d40787
Fix PKCS#12 key generation bug.
2001-03-18 02:10:25 +00:00
Bodo Möller
6276e5b41b
Explicitly ignore the exit code of ./bctest. Usually the shell
...
ignores it anyway in command substitution, but Ultrix reportedly
aborted the test when bctest returned 1.
2001-03-17 09:51: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
51740b12ae
Correct a typo which might have lead to a dump.
...
Noted by Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com >
2001-03-16 10:30:10 +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
6e6783056e
An enhanced bctest submitted by Tim Rice <tim@multitalents.net>.
...
It now looks along $PATH for a working bc and returns the absolute
path to one that does work.
2001-03-16 09:13:11 +00:00
Dr. Stephen Henson
791bd0cd2b
Add copy_extensions option to 'ca' utility.
2001-03-16 02:04:17 +00:00
Dr. Stephen Henson
e890dcdb19
Add 'align' option to nameopt.
...
Add default values for display by the 'ca' utility
to openssl.cnf
Update docs.
2001-03-15 22:45:20 +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
5ddcb8664a
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:10:07 +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
09c4b4e0b7
bsdi-elf needs to link with -ldl.
2001-03-15 20:48:27 +00:00
Richard Levitte
00ecca84a8
BSDI ELF knows dlfcn.
2001-03-15 20:36:19 +00:00
Richard Levitte
368101778e
For AIX 4.3 or above, allow the use of dlfcn.
2001-03-15 20:23:22 +00:00
Dr. Stephen Henson
535d79da63
Overhaul the display of certificate details in
...
the 'ca' utility. This can now be extensively
customised in the configuration file and handles
multibyte strings and extensions properly.
This is required when extensions copying from
certificate requests is supported: the user
must be able to view the extensions before
allowing a certificate to be issued.
2001-03-15 19:13:40 +00:00
Bodo Möller
4f69172d25
Completely remove mont2 stuff.
...
It does not appear to be faster than the current Montgomery code
except for very small moduli (somewhere between 192 and 224 bits
in a 64-bit Sun environment, and even less than 192 bits
on 32 bit systems).
2001-03-15 18:17:40 +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
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
Richard Levitte
5114966e00
It is a good thing to prepare the .def files.
2001-03-15 06:51:49 +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
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
Richard Levitte
311e4e9253
Update beta 1 status.
2001-03-13 21:39:34 +00:00
Richard Levitte
1874366208
We need to build MINFO.
2001-03-13 21:28:44 +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
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
Ulf Möller
142e22641e
doh
2001-03-10 04:29:05 +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
c6a15854ee
Consistently use 'void *' for SSL read, peek and write functions.
2001-03-09 10:08:06 +00:00
Bodo Möller
ba41d8a556
ssl23_peek
2001-03-08 21:56:34 +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
Lutz Jänicke
f51fee66ad
Add newly learned knowledge from yesterday's discussion.
2001-03-08 17:25:49 +00:00
Ulf Möller
5fb0aa6487
Note the rand_win.c change
2001-03-08 16:58:07 +00:00
Ulf Möller
9c3cbe5d7f
replace rdtsc as in HEAD
2001-03-08 16:49:03 +00:00
Richard Levitte
3e0d891828
SSLv2 session reuse bugfix from main development branch.
2001-03-05 14:52:30 +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
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
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
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
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
Bodo Möller
32828e6ffd
include e_os.h as "openssl/e_os.h" (as elsewhere)
2001-02-22 14:59:11 +00:00
Ulf Möller
a39ded513a
BN_rand_range() as in main branch.
2001-02-21 15:54:31 +00:00
Bodo Möller
0069dbc4a5
honour -no_tmp_rsa
2001-02-20 12:58:57 +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
Ulf Möller
6c66fcba5f
as in main branch
2001-02-20 00:38:02 +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
15ed15d3e4
OPENSSL_issetugid() as in the main branch.
2001-02-19 23:57:18 +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
Bodo Möller
b6fefec364
Memory leak checking bugfixes for multi-threading.
2001-02-19 10:30:13 +00:00
Ulf Möller
2bf1c86d05
ispell
2001-02-16 02:11:12 +00:00
Ulf Möller
2147cd3540
pod format error
2001-02-16 01:46:47 +00:00
Lutz Jänicke
6a0fb6083c
Move entry to match chronologic ordering.
2001-02-15 14:19:43 +00:00
Lutz Jänicke
0dbfc1da4a
Add '-rand' option to s_server and s_client.
2001-02-15 10:35:29 +00:00
Ulf Möller
f945040633
IRIX bugfix
2001-02-14 00:23:27 +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
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
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
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
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
Bodo Möller
418a0d151e
Simplify BN_rand_range
2001-02-10 00:34:20 +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
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
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
6bdb723259
cleanup
2001-02-08 17:14:47 +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
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
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
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
60b3b2c9d0
EBCDIC bug fix from main branch.
2001-02-07 22:13:10 +00:00
Bodo Möller
c7410f2693
Avoid coredumps for CONF_get_...(NULL, ...)
2001-02-06 10:14:57 +00:00
Bodo Möller
43a5e1409e
don't dump core
2001-02-06 09:47:25 +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
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
88e9984da5
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.
2001-02-03 15:15:44 +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
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
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
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
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
Richard Levitte
3b1f393ae7
Transport from development branch.
2001-01-30 13:54:44 +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
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
de0b3ab7fb
Zero the premaster secret after deriving the master secret in DH
...
ciphersuites.
2001-01-25 13:20:39 +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
Richard Levitte
eec6e53851
Eh, this branch is not version 0.9.6, it's the development of 0.9.6a.
2001-01-24 16:21:21 +00:00
Ulf Möller
9cd9ae3e3e
new year
2001-01-24 02:56:13 +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
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
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
Bodo Möller
ffac355834
Fix openssl passwd -1
2001-01-19 07:38:55 +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
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
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
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
f99267cffc
Fix C code generate by 'openssl dsaparam -C'.
2001-01-10 14:27:04 +00:00
Dr. Stephen Henson
5860ecb8ec
Fix uni2asc() so it can properly convert zero length
...
unicode strings. Certain PKCS#12 files contain these
in BMPStrings and it used to crash on them.
2001-01-10 01:14:23 +00:00
Bodo Möller
799751bcff
Get rid of unused error code.
2000-12-27 23:41:50 +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
2fb0c899c6
Include CRYPTO_mem_leaks deadlock fix.
2000-12-20 10:07:31 +00:00
Bodo Möller
73bc0cfd93
fix indentation
2000-12-19 12:39:12 +00:00
Bodo Möller
cbfa030de7
Don't hold CRYPTO_LOCK_RSA during time-consuming operations.
2000-12-19 12:19:16 +00:00
Bodo Möller
bb617a9646
Obtain lock CRYPTO_LOCK_RSA before creating BN_MONT_CTX
...
structures and setting rsa->_method_mod_{n,p,q}.
Submitted by: "Reddie, Steven" <Steven.Reddie@ca.com >
2000-12-18 16:36:07 +00:00
Bodo Möller
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
555a8493cd
typo
2000-12-14 17:45:36 +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
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
79370621ea
Change error message to "bignum too long"
2000-12-04 09:32:26 +00:00
Bodo Möller
4c4f1ee4de
include <limits.h>
2000-12-03 09:55:01 +00:00
Bodo Möller
fe772376ec
Don't allow BIGNUMs to become so large that computations with dmax
...
might overflow.
2000-12-03 09:37:15 +00:00
Ulf Möller
99cf5acd5c
fix for Borland C
2000-12-01 03:06:55 +00:00
Bodo Möller
d2c38b1c73
Fix BN_rshift.
2000-11-30 22:35:52 +00:00
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
666d437538
Disable SSL_peek.
2000-11-28 11:14:39 +00:00
Bodo Möller
ddf72ed59f
SSL_CTX-related fixes.
2000-11-08 10:09:10 +00:00
Dr. Stephen Henson
6502735b9c
Fix from main trunk, 2000-10-04 03:16:34 steve:
...
Fix for bug in DirectoryString mask setting.
Fix from main trunk, 2000-10-20 01:16:49 steve:
Move expired CA certificate.
Fix from main trunk, 2000-10-20 02:36:47 steve:
Stop MASM debug warning.
2000-10-27 23:52:35 +00:00
Richard Levitte
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
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
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
Bodo Möller
b3f4fb1f72
rsautl.c requires RSA.
2000-10-26 12:05:22 +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
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
cvs2svn
9beaae61ec
This commit was manufactured by cvs2svn to create branch
...
'OpenSSL_0_9_6-stable'.
2000-10-10 09:15:48 +00:00