openssl.git
18 years agoimproved error checking and some fixes
Nils Larsch [Tue, 26 Jul 2005 20:55:17 +0000 (20:55 +0000)]
improved error checking and some fixes

PR: 1170
Submitted by: Yair Elharrar
Reviewed and edited by: Nils Larsch

18 years agoUpdate from head.
Dr. Stephen Henson [Tue, 26 Jul 2005 12:46:53 +0000 (12:46 +0000)]
Update from head.

18 years agofix BN_mod_word and give a more reasonable return value if an error occurred
Nils Larsch [Mon, 25 Jul 2005 22:55:48 +0000 (22:55 +0000)]
fix BN_mod_word and give a more reasonable return value if an error occurred

18 years agoUpdate from head.
Dr. Stephen Henson [Mon, 25 Jul 2005 18:40:09 +0000 (18:40 +0000)]
Update from head.

18 years agoVisual C specific update from HEAD.
Andy Polyakov [Sun, 24 Jul 2005 21:55:41 +0000 (21:55 +0000)]
Visual C specific update from HEAD.

18 years agoRemove BN_CTX_DEBUG from the normal debug build flags (it's too noisy
Nils Larsch [Sat, 23 Jul 2005 08:46:41 +0000 (08:46 +0000)]
Remove BN_CTX_DEBUG from the normal debug build flags (it's too noisy
to be really useful for 'normal' debugging).
Disable EC_GROUP_precompute_mult for the nist curves in ectest.c as
it causes problems when libefence is used.

18 years agoset correct bn->top value
Nils Larsch [Thu, 21 Jul 2005 22:38:16 +0000 (22:38 +0000)]
set correct bn->top value

18 years agothe final byte of pkcs7 padded plaintext can never be 0
Nils Larsch [Wed, 20 Jul 2005 22:02:25 +0000 (22:02 +0000)]
the final byte of pkcs7 padded plaintext can never be 0

Submitted by: K S Sreeram <sreeram@tachyontech.net>

18 years agoBug-fix from HEAD.
Andy Polyakov [Tue, 19 Jul 2005 23:10:04 +0000 (23:10 +0000)]
Bug-fix from HEAD.
PR: 1130

18 years agofix typo
Nils Larsch [Sun, 17 Jul 2005 21:05:11 +0000 (21:05 +0000)]
fix typo

18 years agobugfix: 0 - w (w != 0) is actually negative
Nils Larsch [Sun, 17 Jul 2005 16:08:21 +0000 (16:08 +0000)]
bugfix: 0 - w (w != 0) is actually negative

18 years agomake
Nils Larsch [Sat, 16 Jul 2005 11:13:10 +0000 (11:13 +0000)]
make
./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa]
make all test
work again (+ make update)

PR: 1159

18 years agoadd missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod
Nils Larsch [Fri, 15 Jul 2005 09:50:38 +0000 (09:50 +0000)]
add missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod

PR: 1158
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>

18 years agothe second argument to d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const
Nils Larsch [Wed, 13 Jul 2005 21:58:40 +0000 (21:58 +0000)]
the second argument to  d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const

PR: 1156
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>

18 years agoDES CFB bug-fix from HEAD.
Andy Polyakov [Fri, 8 Jul 2005 16:48:34 +0000 (16:48 +0000)]
DES CFB bug-fix from HEAD.

18 years agoOn case insensitive systems, 'install' gets mixed up with the existing file
Richard Levitte [Fri, 8 Jul 2005 10:13:25 +0000 (10:13 +0000)]
On case insensitive systems, 'install' gets mixed up with the existing file
'INSTALL', so we need to put some force into installing

18 years agoOops, the release date in the FAQ was wrong.
Richard Levitte [Tue, 5 Jul 2005 19:20:11 +0000 (19:20 +0000)]
Oops, the release date in the FAQ was wrong.

I'm not retagging it, but I made the same change in the distribution
directory, so the distribution will have a corrected FAQ.

18 years agoNow that 0.9.8 has been tagged, it's time to move on.
Richard Levitte [Tue, 5 Jul 2005 19:11:56 +0000 (19:11 +0000)]
Now that 0.9.8 has been tagged, it's time to move on.

18 years agoTime to release OpenSSL 0.9.8. OpenSSL_0_9_8
Richard Levitte [Tue, 5 Jul 2005 18:49:43 +0000 (18:49 +0000)]
Time to release OpenSSL 0.9.8.
The tag will be OpenSSL_0_9_8.

18 years agomake update
Richard Levitte [Tue, 5 Jul 2005 18:41:28 +0000 (18:41 +0000)]
make update

18 years agoWe don't support no-engine for now. It's a lot more work than one
Richard Levitte [Tue, 5 Jul 2005 18:32:37 +0000 (18:32 +0000)]
We don't support no-engine for now.  It's a lot more work than one
might imagine.

18 years agoLast additions to the release documentation.
Richard Levitte [Tue, 5 Jul 2005 18:32:05 +0000 (18:32 +0000)]
Last additions to the release documentation.

18 years agoMention Win64 support in CHANGES and throw in building instructions.
Andy Polyakov [Tue, 5 Jul 2005 10:53:13 +0000 (10:53 +0000)]
Mention Win64 support in CHANGES and throw in building instructions.

18 years agoAdd libcrypto.pc and libssl.pc, and install them along with openssl.pc.
Richard Levitte [Tue, 5 Jul 2005 05:14:21 +0000 (05:14 +0000)]
Add libcrypto.pc and libssl.pc, and install them along with openssl.pc.

PR: 1143

18 years agoGet rid of "unary minus applied to unsigned type" warning.
Andy Polyakov [Mon, 4 Jul 2005 23:30:31 +0000 (23:30 +0000)]
Get rid of "unary minus applied to unsigned type" warning.

18 years agoTo secure Win64 API I'm throwing in this minimalistic Win64 support.
Andy Polyakov [Mon, 4 Jul 2005 23:24:12 +0000 (23:24 +0000)]
To secure Win64 API I'm throwing in this minimalistic Win64 support.

18 years agoAdd utf8 options to ca utility.
Dr. Stephen Henson [Mon, 4 Jul 2005 23:04:28 +0000 (23:04 +0000)]
Add utf8 options to ca utility.

PR:1109

18 years agoThe private key should never have ended up in newreq.pem.
Richard Levitte [Mon, 4 Jul 2005 21:44:22 +0000 (21:44 +0000)]
The private key should never have ended up in newreq.pem.
Now, it ends up in newkey.pem instead.

18 years agoFix bugs in bug-fix to x509/by_dir.c [from HEAD].
Andy Polyakov [Sun, 3 Jul 2005 13:15:53 +0000 (13:15 +0000)]
Fix bugs in bug-fix to x509/by_dir.c [from HEAD].
PR: 1131

18 years agoBugfix for bn_div_words PPC assembler implementation [from HEAD].
Andy Polyakov [Sun, 3 Jul 2005 09:23:57 +0000 (09:23 +0000)]
Bugfix for bn_div_words PPC assembler implementation [from HEAD].

18 years agoinitialize newly allocated data
Nils Larsch [Fri, 1 Jul 2005 16:15:48 +0000 (16:15 +0000)]
initialize newly allocated data

PR: 1145

18 years agoCheck PKCS7 structures in PKCS#12 files are of type data.
Dr. Stephen Henson [Thu, 30 Jun 2005 11:34:27 +0000 (11:34 +0000)]
Check PKCS7 structures in PKCS#12 files are of type data.

18 years agoActually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
Richard Levitte [Wed, 29 Jun 2005 18:48:12 +0000 (18:48 +0000)]
Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
SIXTY_FOUR_BIT_LONG

18 years agoasn1parse doesn't support any TXT format, so let's stop pretending
Richard Levitte [Tue, 28 Jun 2005 15:44:18 +0000 (15:44 +0000)]
asn1parse doesn't support any TXT format, so let's stop pretending
it does.

18 years agoremove OPENSSL_NO_ASM dependency
Nils Larsch [Tue, 28 Jun 2005 15:03:58 +0000 (15:03 +0000)]
remove OPENSSL_NO_ASM dependency

18 years agoDid you know it was wrong to use a char as an array index?
Ben Laurie [Tue, 28 Jun 2005 13:27:53 +0000 (13:27 +0000)]
Did you know it was wrong to use a char as an array index?

18 years agoNasty fix for another warning, but all I have the patience for right now.
Ben Laurie [Tue, 28 Jun 2005 13:07:46 +0000 (13:07 +0000)]
Nasty fix for another warning, but all I have the patience for right now.

18 years agoReplace missing character deleted in error.
Ben Laurie [Tue, 28 Jun 2005 12:53:33 +0000 (12:53 +0000)]
Replace missing character deleted in error.

18 years agoFix warning.
Ben Laurie [Tue, 28 Jun 2005 12:41:35 +0000 (12:41 +0000)]
Fix warning.

18 years agoFix warnings.
Ben Laurie [Tue, 28 Jun 2005 12:32:48 +0000 (12:32 +0000)]
Fix warnings.

18 years agobn.h update from HEAD.
Andy Polyakov [Tue, 28 Jun 2005 11:52:52 +0000 (11:52 +0000)]
bn.h update from HEAD.

18 years agox86nasm.pl update from HEAD.
Andy Polyakov [Tue, 28 Jun 2005 11:30:12 +0000 (11:30 +0000)]
x86nasm.pl update from HEAD.

18 years agoPROBLEMS update from HEAD.
Andy Polyakov [Tue, 28 Jun 2005 10:00:08 +0000 (10:00 +0000)]
PROBLEMS update from HEAD.

18 years agoMakefile updates from HEAD [see http://cvs.openssl.org/chngview?cn=14099
Andy Polyakov [Tue, 28 Jun 2005 09:10:19 +0000 (09:10 +0000)]
Makefile updates from HEAD [see cvs.openssl.org/chngview?cn=14099
for further details].

18 years agoThere are a few showstoppers. Unfortunately, I only remember one. Please fill this in.
Richard Levitte [Tue, 28 Jun 2005 05:55:24 +0000 (05:55 +0000)]
There are a few showstoppers.  Unfortunately, I only remember one.  Please fill this in.

18 years agoEliminate dependency on UNICODE macro.
Andy Polyakov [Mon, 27 Jun 2005 21:21:12 +0000 (21:21 +0000)]
Eliminate dependency on UNICODE macro.

18 years agoFix typos in apps/apps.c.
Andy Polyakov [Mon, 27 Jun 2005 15:58:55 +0000 (15:58 +0000)]
Fix typos in apps/apps.c.

18 years agoSync libeay.num
Dr. Stephen Henson [Mon, 27 Jun 2005 00:43:22 +0000 (00:43 +0000)]
Sync libeay.num

18 years agoUnify some SCO targets [from HEAD].
Andy Polyakov [Sun, 26 Jun 2005 18:10:20 +0000 (18:10 +0000)]
Unify some SCO targets [from HEAD].

18 years agoConfigure/TABLE update from HEAD.
Andy Polyakov [Sun, 26 Jun 2005 17:18:45 +0000 (17:18 +0000)]
Configure/TABLE update from HEAD.

18 years agoIA64 RC4 update from HEAD [see commentary in HEAD for details].
Andy Polyakov [Sun, 26 Jun 2005 16:14:22 +0000 (16:14 +0000)]
IA64 RC4 update from HEAD [see commentary in HEAD for details].
PR: 1114

18 years agoFurther successes with the latest snapshot.
Richard Levitte [Fri, 24 Jun 2005 22:23:54 +0000 (22:23 +0000)]
Further successes with the latest snapshot.

18 years agoReplace emms with finit in x86cpuid.
Andy Polyakov [Fri, 24 Jun 2005 16:34:46 +0000 (16:34 +0000)]
Replace emms with finit in x86cpuid.

18 years agoAdd Argen root CAs.
Dr. Stephen Henson [Fri, 24 Jun 2005 10:54:36 +0000 (10:54 +0000)]
Add Argen root CAs.

18 years agoSomeone did some cutting and pasting and didn't quite finish the job :-).
Richard Levitte [Fri, 24 Jun 2005 05:13:18 +0000 (05:13 +0000)]
Someone did some cutting and pasting and didn't quite finish the job :-).

Notified by Steffen Pankratz <kratz00@gmx.de>

18 years agoWrap the inclusion of openssl/engine.h with a protective check for
Richard Levitte [Thu, 23 Jun 2005 22:08:41 +0000 (22:08 +0000)]
Wrap the inclusion of openssl/engine.h with a protective check for
the absence of OPENSSL_NO_ENGINE.

18 years agoWrap the inclusion of openssl/engine.h with a protective check for
Richard Levitte [Thu, 23 Jun 2005 21:57:37 +0000 (21:57 +0000)]
Wrap the inclusion of openssl/engine.h with a protective check for
the absence of OPENSSL_NO_ENGINE.

PR: 1123

18 years agoDo not defined des_crypt(), since it clashes with Solaris crypt.h.
Richard Levitte [Thu, 23 Jun 2005 21:53:52 +0000 (21:53 +0000)]
Do not defined des_crypt(), since it clashes with Solaris crypt.h.

PR: 1125

18 years agoInitialise dir to avoid a compiler warning.
Richard Levitte [Thu, 23 Jun 2005 21:49:18 +0000 (21:49 +0000)]
Initialise dir to avoid a compiler warning.

18 years agoThe NAME section of a man page is required to have a dash followed by a
Richard Levitte [Thu, 23 Jun 2005 21:45:32 +0000 (21:45 +0000)]
The NAME section of a man page is required to have a dash followed by a
short description, at least according to pod2man.

PR: 1127

18 years agoDCC doesn't like argument names in returned function pointers.
Richard Levitte [Thu, 23 Jun 2005 21:35:20 +0000 (21:35 +0000)]
DCC doesn't like argument names in returned function pointers.

PR: 1122

18 years agoUpdate for Stratus VOS.
Richard Levitte [Thu, 23 Jun 2005 21:27:13 +0000 (21:27 +0000)]
Update for Stratus VOS.

PR: 1130

18 years agoConfigure update for Stratus VOS.
Richard Levitte [Thu, 23 Jun 2005 21:20:31 +0000 (21:20 +0000)]
Configure update for Stratus VOS.

PR: 1129

18 years agoChange dir_ctrl to check for the environment variable before using the default
Richard Levitte [Thu, 23 Jun 2005 21:14:10 +0000 (21:14 +0000)]
Change dir_ctrl to check for the environment variable before using the default
directory instead of the other way around.

PR: 1131

18 years agoStrip the engine shared libraries as well.
Richard Levitte [Thu, 23 Jun 2005 20:55:35 +0000 (20:55 +0000)]
Strip the engine shared libraries as well.

Submitted by Corinna Vinschen <vinschen@redhat.com>

18 years agoDarwin specific update from HEAD.
Andy Polyakov [Thu, 23 Jun 2005 20:47:54 +0000 (20:47 +0000)]
Darwin specific update from HEAD.

18 years agoMissed -c in IRIX rule.
Andy Polyakov [Thu, 23 Jun 2005 20:38:19 +0000 (20:38 +0000)]
Missed -c in IRIX rule.

18 years agoIRIX upadte from HEAD.
Andy Polyakov [Thu, 23 Jun 2005 16:47:21 +0000 (16:47 +0000)]
IRIX upadte from HEAD.

18 years agoHP-UX specific update to Makefile.shared.
Andy Polyakov [Thu, 23 Jun 2005 15:39:19 +0000 (15:39 +0000)]
HP-UX specific update to Makefile.shared.

18 years agoA number of architectures noted so far.
Richard Levitte [Thu, 23 Jun 2005 06:31:08 +0000 (06:31 +0000)]
A number of architectures noted so far.

18 years agono-asm didn't prevent make from compiling assembler modules [from HEAD].
Andy Polyakov [Wed, 22 Jun 2005 23:50:07 +0000 (23:50 +0000)]
no-asm didn't prevent make from compiling assembler modules [from HEAD].

18 years agoTypo.
Dr. Stephen Henson [Wed, 22 Jun 2005 18:54:05 +0000 (18:54 +0000)]
Typo.

18 years agoReorder extensions to account for synced OID table.
Dr. Stephen Henson [Wed, 22 Jun 2005 17:28:55 +0000 (17:28 +0000)]
Reorder extensions to account for synced OID table.

18 years agoSync OID database with 0.9.7.
Dr. Stephen Henson [Wed, 22 Jun 2005 17:26:24 +0000 (17:26 +0000)]
Sync OID database with 0.9.7.

18 years agoFix extension ordering.
Dr. Stephen Henson [Wed, 22 Jun 2005 13:25:38 +0000 (13:25 +0000)]
Fix extension ordering.

18 years agoTagging is done, we're moving on.
Richard Levitte [Tue, 21 Jun 2005 05:56:26 +0000 (05:56 +0000)]
Tagging is done, we're moving on.

18 years agoPrepare for a release of 0.9.8-beta6. This is supposed to be the OpenSSL_0_9_8-beta6
Richard Levitte [Tue, 21 Jun 2005 05:49:47 +0000 (05:49 +0000)]
Prepare for a release of 0.9.8-beta6.  This is supposed to be the
final beta.
The tag will be OpenSSL_0_9_8-beta6

18 years agoSome new news.
Richard Levitte [Tue, 21 Jun 2005 05:46:41 +0000 (05:46 +0000)]
Some new news.

18 years agomake update
Richard Levitte [Tue, 21 Jun 2005 05:28:47 +0000 (05:28 +0000)]
make update

18 years agoDEVRANDOM, not DEBRANDOM...
Richard Levitte [Tue, 21 Jun 2005 04:41:31 +0000 (04:41 +0000)]
DEVRANDOM, not DEBRANDOM...

18 years agoDo no try to pretend we're at the end of anything unless we're at the end
Richard Levitte [Mon, 20 Jun 2005 22:11:28 +0000 (22:11 +0000)]
Do no try to pretend we're at the end of anything unless we're at the end
of a 4-character block.

18 years agoCheck for 'usage' and 'Usage'.
Richard Levitte [Mon, 20 Jun 2005 20:49:05 +0000 (20:49 +0000)]
Check for 'usage' and 'Usage'.
Submitted by Tim Rice <tim@multitalents.net>.  His comment is:

I noticed "make report" didn't show the cc version on most of
my System V platforms. This patch corrects this.

18 years agoRefine ELF detection on BSD platforms.
Andy Polyakov [Mon, 20 Jun 2005 17:36:19 +0000 (17:36 +0000)]
Refine ELF detection on BSD platforms.

18 years agoSolaris x86_64 /usr/ccs/bin/as support.
Andy Polyakov [Mon, 20 Jun 2005 14:50:26 +0000 (14:50 +0000)]
Solaris x86_64 /usr/ccs/bin/as support.

18 years agoAdd crypto/bn/bn_prime.h to the collection of generated files. In the
Richard Levitte [Mon, 20 Jun 2005 04:29:56 +0000 (04:29 +0000)]
Add crypto/bn/bn_prime.h to the collection of generated files.  In the
update target, place the dependency on depend last, so all necessary files
are generated *before* the dependencies are figured out.

PR: 1121

18 years agoWith DJGPP, it seems like the return code from grep, even when in the
Richard Levitte [Sun, 19 Jun 2005 20:31:32 +0000 (20:31 +0000)]
With DJGPP, it seems like the return code from grep, even when in the
middle of a pipe, is noted.  Counter that by forcing a true return code
when the return code has no importance.

PR: 1085

18 years agoUndefine DECRANDOM before redefining it.
Richard Levitte [Sun, 19 Jun 2005 20:20:33 +0000 (20:20 +0000)]
Undefine DECRANDOM before redefining it.

PR: 1110

18 years agoAdd better documentation on how id_function() should be defined and what
Richard Levitte [Sat, 18 Jun 2005 05:52:23 +0000 (05:52 +0000)]
Add better documentation on how id_function() should be defined and what
issues there are.

PR: 1096

18 years agoMove the definition of DEVRANDOM for DJGPP from Configure to e_os.h.
Richard Levitte [Sat, 18 Jun 2005 04:42:34 +0000 (04:42 +0000)]
Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.
That should solve the issues with propagating it through the Makefiles.

PR: 1110

18 years agoOnly define ZLIB_SHARED if it hasn't already been defined (on the command
Richard Levitte [Sat, 18 Jun 2005 04:32:23 +0000 (04:32 +0000)]
Only define ZLIB_SHARED if it hasn't already been defined (on the command
line, for example).

PR: 1112

18 years agoHave pod2man.pl accept '=for comment ...' before the '=head1 NAME' line.
Richard Levitte [Sat, 18 Jun 2005 04:27:15 +0000 (04:27 +0000)]
Have pod2man.pl accept '=for comment ...' before the '=head1 NAME' line.

PR: 1113

18 years agoclear dso pointer in case of an error
Nils Larsch [Fri, 17 Jun 2005 21:27:28 +0000 (21:27 +0000)]
clear dso pointer in case of an error

PR: 816

18 years agoupdate for the cswift engine:
Nils Larsch [Fri, 17 Jun 2005 20:43:05 +0000 (20:43 +0000)]
update for the cswift engine:
- fix the problem described in bug report 825
- fix a segfault when the engine fails to initialize
- let the engine switch to software when keysize > 2048

PR: 825, 826
Submitted by: Frédéric Giudicelli

18 years agoDo not undefine _XOPEN_SOURCE. This is currently experimental, and
Richard Levitte [Thu, 16 Jun 2005 22:19:14 +0000 (22:19 +0000)]
Do not undefine _XOPEN_SOURCE.  This is currently experimental, and
will be firmed up as soon as it's been verified not to break anything.

18 years agoDon't strip extensions from header filenames in mk1mf.pl.
Dr. Stephen Henson [Thu, 16 Jun 2005 02:16:50 +0000 (02:16 +0000)]
Don't strip extensions from header filenames in mk1mf.pl.

18 years agoUpdate from head.
Dr. Stephen Henson [Thu, 16 Jun 2005 02:05:57 +0000 (02:05 +0000)]
Update from head.

18 years ago0.9.8-beta5 works on Gentoo/arml but not /armb, and works on Linux AMD64
Richard Levitte [Tue, 14 Jun 2005 05:42:56 +0000 (05:42 +0000)]
0.9.8-beta5 works on Gentoo/arml but not /armb, and works on Linux AMD64

18 years agoData about which Cygwin versions 0.9.8-beta5 work on
Richard Levitte [Mon, 13 Jun 2005 17:10:07 +0000 (17:10 +0000)]
Data about which Cygwin versions 0.9.8-beta5 work on

18 years ago0.9.8-beta5 works on SuSE 9.3
Richard Levitte [Mon, 13 Jun 2005 17:03:17 +0000 (17:03 +0000)]
0.9.8-beta5 works on SuSE 9.3

18 years ago0.9.8-beta5 works on Cygwin
Richard Levitte [Mon, 13 Jun 2005 17:00:25 +0000 (17:00 +0000)]
0.9.8-beta5 works on Cygwin