Lutz Jänicke [Wed, 10 Jul 2002 07:01:54 +0000 (07:01 +0000)]
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:
Lutz Jänicke [Wed, 10 Jul 2002 06:41:55 +0000 (06:41 +0000)]
Ciphers with NULL encryption were not properly handled because they were
not covered by the strength bit mask.
Submitted by:
Reviewed by:
PR: 130
Bodo Möller [Tue, 9 Jul 2002 10:51:25 +0000 (10:51 +0000)]
fix synopsis
Submitted by: Nils Larsch
Bodo Möller [Tue, 9 Jul 2002 08:49:09 +0000 (08:49 +0000)]
emtpy fragments are not necessary for SSL_eNULL
(but noone uses it anyway)
fix t1_enc.c: use OPENSSL_NO_RC4, not NO_RC4
Geoff Thorpe [Mon, 8 Jul 2002 15:16:10 +0000 (15:16 +0000)]
oops, there were other cases of "ENGINE_ID" to change too.
Geoff Thorpe [Mon, 8 Jul 2002 14:57:09 +0000 (14:57 +0000)]
Correct an error in the README.ENGINE file.
Submitted by: Jan Tschirschwitz <Jan.Tschirschwitz@cluster-labs.de>
Bodo Möller [Thu, 4 Jul 2002 08:51:09 +0000 (08:51 +0000)]
AES cipher suites are now official (RFC3268)
Lutz Jänicke [Sun, 30 Jun 2002 19:40:18 +0000 (19:40 +0000)]
README and INSTALL should contain information about the request tracker
(noted by Jonathan Louie <jlouie@recourse.com>).
Richard Levitte [Sat, 29 Jun 2002 22:04:09 +0000 (22:04 +0000)]
Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
Richard Levitte [Thu, 27 Jun 2002 17:19:55 +0000 (17:19 +0000)]
opensslconf.h doesn't define what we want, e_os2.h does.
PR 123
Richard Levitte [Thu, 27 Jun 2002 17:06:28 +0000 (17:06 +0000)]
Try to avoid double declaration of ERR_load_PEM_strings().
PR 71
Richard Levitte [Thu, 27 Jun 2002 16:56:30 +0000 (16:56 +0000)]
A few changes to BC-32.pl didn't get properly applied.
This completes PR 123
Richard Levitte [Thu, 27 Jun 2002 16:39:25 +0000 (16:39 +0000)]
Pass CFLAG to dependency makers, so non-standard system include paths are
handled properly.
Part of PR 75
Richard Levitte [Thu, 27 Jun 2002 16:32:04 +0000 (16:32 +0000)]
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
Part of PR 75
Richard Levitte [Thu, 27 Jun 2002 16:29:46 +0000 (16:29 +0000)]
Update the information on Cygwin.
Part of PR 75
Richard Levitte [Thu, 27 Jun 2002 16:28:04 +0000 (16:28 +0000)]
Forgot to change the second $ENV{DJDIR} to /dev/env/DJDIR.
Part of PR 75
Richard Levitte [Thu, 27 Jun 2002 15:10:57 +0000 (15:10 +0000)]
The new stuff is for Borland Bulider 5, so document it appropriately
Richard Levitte [Thu, 27 Jun 2002 15:07:27 +0000 (15:07 +0000)]
Document the new way of building with Borland Builder.
This concludes the changes from PR 123
Richard Levitte [Thu, 27 Jun 2002 14:57:54 +0000 (14:57 +0000)]
Use underscores instead of dashes in temporary file names.
This is due to weird Borland compilers.
Part of PR 123
Richard Levitte [Thu, 27 Jun 2002 14:55:52 +0000 (14:55 +0000)]
When compiling for Windows, make sure we have the windows definitions declared.
Part of PR 123
Richard Levitte [Thu, 27 Jun 2002 14:54:34 +0000 (14:54 +0000)]
Use 32-bit sections instead of the default, 16-bit ones.
Part of PR 123
Richard Levitte [Thu, 27 Jun 2002 10:26:40 +0000 (10:26 +0000)]
have 'openssl pkcs7' exit with code 1 on error instead of 0.
PR: 119
Richard Levitte [Thu, 27 Jun 2002 10:19:17 +0000 (10:19 +0000)]
gcc requires -m64 to link 64-bit shared libraries on Solaris.
PR: 117
Richard Levitte [Thu, 27 Jun 2002 09:54:07 +0000 (09:54 +0000)]
Use bg instead of bag as argument to macros, to avoid clashes with
structure field names.
PR: 112
Richard Levitte [Thu, 27 Jun 2002 09:18:45 +0000 (09:18 +0000)]
There is no RSAREF any more, so do not ty to install it.
PR: 106
Richard Levitte [Thu, 27 Jun 2002 09:13:44 +0000 (09:13 +0000)]
The general debug target must specify that it doesn't use assembler routines.
PR: 105
Richard Levitte [Thu, 27 Jun 2002 05:03:00 +0000 (05:03 +0000)]
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.
Bodo Möller [Wed, 26 Jun 2002 14:28:41 +0000 (14:28 +0000)]
Make sure buffers are large enough even for weird parameters
Submitted by: Nils Larsch
Bodo Möller [Wed, 26 Jun 2002 14:21:16 +0000 (14:21 +0000)]
update an entry on EVP changes
Richard Levitte [Tue, 25 Jun 2002 11:40:49 +0000 (11:40 +0000)]
For some reason, we need to return the full path to perl
Geoff Thorpe [Fri, 21 Jun 2002 02:38:08 +0000 (02:38 +0000)]
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
Lutz Jänicke [Thu, 20 Jun 2002 20:49:27 +0000 (20:49 +0000)]
<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:
Lutz Jänicke [Thu, 20 Jun 2002 19:57:23 +0000 (19:57 +0000)]
HP-UX: shared libraries MUST be +x and SHOULD be -w.
Lutz Jänicke [Thu, 20 Jun 2002 19:49:39 +0000 (19:49 +0000)]
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:
Geoff Thorpe [Thu, 20 Jun 2002 18:22:51 +0000 (18:22 +0000)]
This apparently fixes compilation on OSX that was failing in 0.9.7 betas.
Submitted by: Pieter Bowman <bowman@math.utah.edu>
Lutz Jänicke [Thu, 20 Jun 2002 17:32:04 +0000 (17:32 +0000)]
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:
Lutz Jänicke [Tue, 18 Jun 2002 17:44:56 +0000 (17:44 +0000)]
load_netscape_key is static.
Bodo Möller [Tue, 18 Jun 2002 09:36:02 +0000 (09:36 +0000)]
always include <string.h> (we do this in various other header files,
so it can't be bad)
Bodo Möller [Tue, 18 Jun 2002 09:35:43 +0000 (09:35 +0000)]
always include <string.h> (we do this in various other header files,
so it can't be bad)
PR: 102
Bodo Möller [Tue, 18 Jun 2002 08:38:59 +0000 (08:38 +0000)]
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
Bodo Möller [Mon, 17 Jun 2002 13:59:12 +0000 (13:59 +0000)]
typo
Lutz Jänicke [Sun, 16 Jun 2002 18:20:28 +0000 (18:20 +0000)]
beta2, not beta1
Lutz Jänicke [Sun, 16 Jun 2002 11:33:59 +0000 (11:33 +0000)]
Roll out OpenSSL-0.9.7-beta2
Lutz Jänicke [Sun, 16 Jun 2002 10:31:17 +0000 (10:31 +0000)]
Use -dumpversion to obtain gcc's version.
Submitted by: ross.alexander@uk.neceur.com, allenh@eecs.berkeley.edu
Reviewed by:
PR: 96
Lutz Jänicke [Sun, 16 Jun 2002 10:18:25 +0000 (10:18 +0000)]
OpenSSL_add_all_algorithms has been replaced by configuration dependent
functions and is redirected by macros. Switch it off now, possible removal
later.
Lutz Jänicke [Fri, 14 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Initial support for hpux64-parisc-gcc
Submitted by: ross.alexander@uk.neceur.com
Reviewed by:
PR: 96
Lutz Jänicke [Fri, 14 Jun 2002 19:01:52 +0000 (19:01 +0000)]
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
Bodo Möller [Fri, 14 Jun 2002 12:21:11 +0000 (12:21 +0000)]
New option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
vulnerability workaround (included in SSL_OP_ALL).
PR: #90
Richard Levitte [Thu, 13 Jun 2002 23:35:24 +0000 (23:35 +0000)]
make update (adapt libeay.num to the 0.9.7-stable branch)
Richard Levitte [Thu, 13 Jun 2002 21:44:23 +0000 (21:44 +0000)]
Tentatively add support for UWIN, a Unix-like environment on top of Windows.
PR: 62
Richard Levitte [Thu, 13 Jun 2002 21:11:41 +0000 (21:11 +0000)]
Make sure that any dash in the prefix before the version number is removed.
PR: 96
Richard Levitte [Thu, 13 Jun 2002 20:44:49 +0000 (20:44 +0000)]
Add support for DJGPP.
Richard Levitte [Thu, 13 Jun 2002 20:42:35 +0000 (20:42 +0000)]
Add support for DJGPP.
PR: 75
Richard Levitte [Thu, 13 Jun 2002 19:59:40 +0000 (19:59 +0000)]
Check for the executable $openssl, not just the file.
Part of PR: 75
Richard Levitte [Thu, 13 Jun 2002 19:50:37 +0000 (19:50 +0000)]
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
Richard Levitte [Thu, 13 Jun 2002 19:42:37 +0000 (19:42 +0000)]
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
strictly necessary, so let's not do that.
Lutz Jänicke [Thu, 13 Jun 2002 17:40:27 +0000 (17:40 +0000)]
Add missing prototypes.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
PR: 89
Dr. Stephen Henson [Thu, 13 Jun 2002 12:56:27 +0000 (12:56 +0000)]
Fix ext_dat.h extension ordering.
Reinstate -reqout code.
Avoid coredump in ocsp if setup_verify
fails.
Fix typo in ocsp usage message.
Lutz Jänicke [Thu, 13 Jun 2002 11:52:56 +0000 (11:52 +0000)]
Add OIDs for Secure Electronic Transactions (SET)
Submitted by: Vadim Fedukovich <vf@unity.net>
Reviewed by: Lutz Jaenicke
PR: 80
Lutz Jänicke [Thu, 13 Jun 2002 08:53:42 +0000 (08:53 +0000)]
Clarify formulation (proposed by Bodo Moeller).
Dr. Stephen Henson [Thu, 13 Jun 2002 00:43:27 +0000 (00:43 +0000)]
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.
Lutz Jänicke [Wed, 12 Jun 2002 20:46:38 +0000 (20:46 +0000)]
Make change uniqueIdentifier -> x500UniqueIdentifier clearly visible.
Submitted by:
Reviewed by:
PR: 82
Lutz Jänicke [Wed, 12 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Correct wrong usage information.
PR: 95
Bodo Möller [Wed, 12 Jun 2002 14:19:01 +0000 (14:19 +0000)]
typo
Bodo Möller [Wed, 12 Jun 2002 14:01:17 +0000 (14:01 +0000)]
simplify asn1_flag
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
Lutz Jänicke [Wed, 12 Jun 2002 12:26:34 +0000 (12:26 +0000)]
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.
Ben Laurie [Tue, 11 Jun 2002 12:41:37 +0000 (12:41 +0000)]
Handle read errors.
Ben Laurie [Tue, 11 Jun 2002 12:03:51 +0000 (12:03 +0000)]
Fix warnings.
Bodo Möller [Mon, 10 Jun 2002 12:41:18 +0000 (12:41 +0000)]
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
Bodo Möller [Mon, 10 Jun 2002 12:18:21 +0000 (12:18 +0000)]
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
Bodo Möller [Mon, 10 Jun 2002 11:46:32 +0000 (11:46 +0000)]
fix for 'make update'
Bodo Möller [Mon, 10 Jun 2002 11:02:55 +0000 (11:02 +0000)]
remove unnecessary calls to EC_POINT_copy()
Lutz Jänicke [Mon, 10 Jun 2002 08:10:32 +0000 (08:10 +0000)]
Make sure that flags are passed to "make" subprocesses.
Bodo Möller [Thu, 6 Jun 2002 10:33:05 +0000 (10:33 +0000)]
fix memory leak
Submitted by: Nils Larsch
Lutz Jänicke [Thu, 6 Jun 2002 10:21:04 +0000 (10:21 +0000)]
For the main directory, Makefile.org is significant :-)
Lutz Jänicke [Thu, 6 Jun 2002 10:16:59 +0000 (10:16 +0000)]
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.
Lutz Jänicke [Thu, 6 Jun 2002 07:33:00 +0000 (07:33 +0000)]
New OID for X509 usage: pseudonym
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de>
Reviewed by: Lutz Jaenicke
PR: 83
Richard Levitte [Thu, 6 Jun 2002 07:22:33 +0000 (07:22 +0000)]
Merge from 0.9.7-stable.
Richard Levitte [Wed, 5 Jun 2002 14:10:59 +0000 (14:10 +0000)]
Make perl replacement for dirname, for system that lack the latter.
PR: 81
Richard Levitte [Wed, 5 Jun 2002 13:47:29 +0000 (13:47 +0000)]
It's not good to have a pointer point at something in an inner block.
PR: 66
Richard Levitte [Wed, 5 Jun 2002 11:58:29 +0000 (11:58 +0000)]
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
PR: 77
Richard Levitte [Wed, 5 Jun 2002 09:31:05 +0000 (09:31 +0000)]
Documentation bug corrected.
PR: 70
Richard Levitte [Wed, 5 Jun 2002 09:08:41 +0000 (09:08 +0000)]
Since there's no continuation, the ; can go as well :-)
Lutz Jänicke [Wed, 5 Jun 2002 08:00:36 +0000 (08:00 +0000)]
There is no continuation at this point.
Lutz Jänicke [Wed, 5 Jun 2002 07:28:07 +0000 (07:28 +0000)]
On some systems the default "perl" may still be perl4, use the correct
version determined by "config" instead.
Lutz Jänicke [Wed, 5 Jun 2002 07:03:17 +0000 (07:03 +0000)]
The correct PERL interpreter is passed via commandline.
Richard Levitte [Wed, 5 Jun 2002 05:00:51 +0000 (05:00 +0000)]
Update the recognision of GCC version numbers to handle the prefix text
that GCC 3.1 adds to the --version output
Richard Levitte [Tue, 4 Jun 2002 22:32:44 +0000 (22:32 +0000)]
make update (including adjusting libeay.num in HEAD to the changes in the
0.9.7-stable libeay.num
Lutz Jänicke [Tue, 4 Jun 2002 20:43:10 +0000 (20:43 +0000)]
Typo.
PR: 72
Richard Levitte [Mon, 3 Jun 2002 15:27:46 +0000 (15:27 +0000)]
use sstrsep() to get the proper type to aoti().
Remove unneeded cast in ustrsep().
PR: 69
Lutz Jänicke [Sat, 1 Jun 2002 15:33:36 +0000 (15:33 +0000)]
0.9.7-beta1 is just being released.
Richard Levitte [Fri, 31 May 2002 13:16:10 +0000 (13:16 +0000)]
Document the AES changes.
Richard Levitte [Fri, 31 May 2002 13:13:43 +0000 (13:13 +0000)]
Add the AES test vectors from NIST document SP800-38A.
Richard Levitte [Fri, 31 May 2002 13:12:49 +0000 (13:12 +0000)]
Make it possible to give vectors only for decryption or encryption.
Richard Levitte [Fri, 31 May 2002 13:11:44 +0000 (13:11 +0000)]
For CFB and OFB modes, always create the encryption key.
Richard Levitte [Fri, 31 May 2002 13:08:53 +0000 (13:08 +0000)]
Declare the CFB and OFB modes for AES, and prepare for a declaration
of CTR mode.
Richard Levitte [Fri, 31 May 2002 13:07:39 +0000 (13:07 +0000)]
In CFB mode, the iv is always encrypted.
Richard Levitte [Thu, 30 May 2002 18:06:35 +0000 (18:06 +0000)]
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
Richard Levitte [Thu, 30 May 2002 17:28:16 +0000 (17:28 +0000)]
Support the newly release gcc 3.1 on 64-bit Solaris. Not automatic.
PR: 57
Richard Levitte [Thu, 30 May 2002 17:07:38 +0000 (17:07 +0000)]
Support shared libraries properly on linux-sparcv[89].
PR: 60