Richard Levitte [Fri, 10 Jan 2003 08:54:01 +0000 (08:54 +0000)]
Typos corrected.
PR: 445
Dr. Stephen Henson [Thu, 9 Jan 2003 16:54:21 +0000 (16:54 +0000)]
Typo.
Richard Levitte [Thu, 9 Jan 2003 16:15:46 +0000 (16:15 +0000)]
The naming scheme wasn't quite correct for Cygwin
Andy Polyakov [Thu, 9 Jan 2003 16:06:09 +0000 (16:06 +0000)]
At least OpenBSD implements PIC in the same way ELF does.
Richard Levitte [Thu, 9 Jan 2003 13:25:14 +0000 (13:25 +0000)]
gcc wants character constants to be correct. Before this change, the
following would happen on Solaris:
m4 -B 8192 asm/des_enc.m4 > asm/des_enc-sparc.S
gcc -DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_NO_STATIC_ENGINE -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c -o asm/des_enc-sparc.o asm/des_enc-sparc.S
asm/des_enc-sparc.S:2007: unterminated character constant
asm/des_enc-sparc.S:2008: unterminated character constant
Dr. Stephen Henson [Thu, 9 Jan 2003 13:06:49 +0000 (13:06 +0000)]
NULL tofree when it is freed to avoid double free.
Make sure key is not NULL before freeing it.
Andy Polyakov [Thu, 9 Jan 2003 08:42:04 +0000 (08:42 +0000)]
Finalizing asm support for UnixWare, SCO, OpenUnix... Note that I've
replaced #if logic around bn_sub_part_words in bn_mul.c. I rely upon
OPENSSL_BN_ASM_PART_WORDS being added by ./Configure script. Would it
still work on non-Unix platforms?
Lutz Jänicke [Wed, 8 Jan 2003 08:27:50 +0000 (08:27 +0000)]
Third argument to shl_load() is "long address", not a pointer.
(Didn't influence functionality, as on HP-UX 32bit the NULL pointer
is a 32bit 0-value and thus is identical to the required 0L.)
PR: 443
Geoff Thorpe [Tue, 7 Jan 2003 05:53:58 +0000 (05:53 +0000)]
RSA_METHOD now supports key-generation, but (for now) none of these
ENGINEs implement it.
Geoff Thorpe [Tue, 7 Jan 2003 05:51:39 +0000 (05:51 +0000)]
This is the first step in allowing RSA_METHODs to implement their own key
generation. This prototype matches the new API function
RSA_generate_key_ex(), though both may be subject to change during
development before 0.9.8.
Dr. Stephen Henson [Sat, 4 Jan 2003 18:25:24 +0000 (18:25 +0000)]
Fix leak.
Andy Polyakov [Sat, 4 Jan 2003 15:18:00 +0000 (15:18 +0000)]
Fix a typo.
Andy Polyakov [Sat, 4 Jan 2003 14:41:09 +0000 (14:41 +0000)]
Another GAS fix-up and some commentary...
Andy Polyakov [Sat, 4 Jan 2003 12:49:38 +0000 (12:49 +0000)]
GAS can't stand stub, which is stb's synonym.
Andy Polyakov [Fri, 3 Jan 2003 21:49:49 +0000 (21:49 +0000)]
Oops! I've toasted Cygwin! Fixed now.
Andy Polyakov [Fri, 3 Jan 2003 20:45:59 +0000 (20:45 +0000)]
Redundant now as it's moved to ./Makefile.org.
Andy Polyakov [Fri, 3 Jan 2003 17:37:53 +0000 (17:37 +0000)]
Unified targets for ELF assembler modules. Tested on Linux, Solaris and
FreeBSD. Goal is to extend support even to SCO5, UnixWare/OpenUnix...
Andy Polyakov [Fri, 3 Jan 2003 15:10:46 +0000 (15:10 +0000)]
Support for ILP32 on HPUX-IA64.
Andy Polyakov [Fri, 3 Jan 2003 10:52:40 +0000 (10:52 +0000)]
pa-risc2.s was not PIC, see RT#426. I strip call to fprintf as it's
never called anyway (it's a debugging assertion). If pa-risc2W.s is
PIC remains to be seen...
Andy Polyakov [Fri, 3 Jan 2003 10:32:04 +0000 (10:32 +0000)]
HP/UX 11i make gets upset by this line containing nothing but a Tab
Richard Levitte [Fri, 3 Jan 2003 08:51:45 +0000 (08:51 +0000)]
Rijndael should be called AES everywhere
Andy Polyakov [Thu, 2 Jan 2003 23:32:24 +0000 (23:32 +0000)]
Support for Intel compiler. More details will be provided in closing note
for RT#17 as snapshot becomes available for download.
Andy Polyakov [Thu, 2 Jan 2003 23:26:46 +0000 (23:26 +0000)]
Complete integration of SPARC assembler DES implementation. Tested on Solaris
only. I'll keep my eyes open for Linux and OpenBSD targets.
Andy Polyakov [Thu, 2 Jan 2003 17:40:33 +0000 (17:40 +0000)]
UltraSPARC assembler DES implementation tune-up. The code can be
compiled for any SPARC CPU (UltraSPARC performance is *not* affected),
can be compiled for 64-bit ABI and is position-independent.
Andy Polyakov [Thu, 2 Jan 2003 17:36:26 +0000 (17:36 +0000)]
Very old submission (from 2000) of UltraSPARC assembler DES implementation.
It was not accepted because code is not PIC, too UltraSPARC-specific when
it doesn't have to and 32-bit only. I'm committing the original version
mostly for reference purposes. 64, PIC, blended CPU tune-up follows shortly.
Obtained from: http://inet.uni2.dk/~svolaf/des.htm
Andy Polyakov [Thu, 2 Jan 2003 17:19:05 +0000 (17:19 +0000)]
I implemented this when troubleshooting performance problem on SPARC Solaris.
As there is an apparent interest for optimization for footprint, I figured
that this can eventually become useful.
Richard Levitte [Thu, 2 Jan 2003 00:26:01 +0000 (00:26 +0000)]
Link engines against libcrypto, even when a TCP/IP implementation is
specified...
Richard Levitte [Wed, 1 Jan 2003 23:41:46 +0000 (23:41 +0000)]
Adjust the parameter lists in some not commonly used files.
PR: 428
Richard Levitte [Wed, 1 Jan 2003 03:40:59 +0000 (03:40 +0000)]
Make sure the last character of the ASN.1 time string (the 'Z') is copied.
PR: 429
Richard Levitte [Tue, 31 Dec 2002 01:00:06 +0000 (01:00 +0000)]
It's rather silly to believe we'd release 0.9.7a in 2002 :-).
It's even more silly to pretend we know which year 0.9.8 will be
released.
Richard Levitte [Tue, 31 Dec 2002 00:02:10 +0000 (00:02 +0000)]
Merge in changes from 0.9.7-stable.
Richard Levitte [Mon, 30 Dec 2002 23:56:09 +0000 (23:56 +0000)]
Merge in changes from 0.9.7-stable.
Andy Polyakov [Mon, 30 Dec 2002 20:17:20 +0000 (20:17 +0000)]
My English is definitely not good as my assembly skills:-) And it looks like
titles can't be multi-line...
Andy Polyakov [Mon, 30 Dec 2002 11:10:03 +0000 (11:10 +0000)]
It probably belongs in PROBLEMS, but it's more likely to be a FAQ.
Richard Levitte [Sun, 29 Dec 2002 23:03:12 +0000 (23:03 +0000)]
Since we're including Kerberos 5 headers in our exported header files (when
OpenSSL is configured to use Kerberos), we'd better tell pkg-config users
where they can be found.
PR: 421
Lutz Jänicke [Sun, 29 Dec 2002 21:24:50 +0000 (21:24 +0000)]
Add information about AES cipher suites to ciphers manual page.
If no authentication method is mentioned in the cipher suite name (e.g.
AES128-SHA), RSA authentication is used (PR #396).
Lutz Jänicke [Sun, 29 Dec 2002 20:59:35 +0000 (20:59 +0000)]
Fix wrong handling of session ID in SSLv2 client code.
PR: 377
Ben Laurie [Sun, 29 Dec 2002 17:57:09 +0000 (17:57 +0000)]
Correct asm exclusions.
Richard Levitte [Sun, 29 Dec 2002 10:19:58 +0000 (10:19 +0000)]
OS/2 does binary by default, apparently.
Reported by Brian Havard <brianh@kheldar.apana.org.au>.
Richard Levitte [Sun, 29 Dec 2002 01:38:15 +0000 (01:38 +0000)]
make update
Richard Levitte [Sun, 29 Dec 2002 01:37:35 +0000 (01:37 +0000)]
Finally get rid of all the algorithm inclusions that were done from
evp.h.
Application authors BEWARE! If you have had the habit to count on
evp.h to provide all those lower-level algorithm functions, you need
to think again! Please change your programs NOW, or you will be sorry
when 0.9.8 gets release (it's quite some time away...).
Richard Levitte [Sat, 28 Dec 2002 02:42:05 +0000 (02:42 +0000)]
make update
Richard Levitte [Sat, 28 Dec 2002 02:41:17 +0000 (02:41 +0000)]
Merge from 0.9.7-stable.
Andy Polyakov [Fri, 27 Dec 2002 15:04:45 +0000 (15:04 +0000)]
I can't confirm the claim being removed and nobody seems to speak up for it.
Andy Polyakov [Fri, 27 Dec 2002 14:51:49 +0000 (14:51 +0000)]
UltraSPARC performance "tune-up."
Andy Polyakov [Fri, 27 Dec 2002 14:27:48 +0000 (14:27 +0000)]
FAQ addenum as discussed in RT#417.
Richard Levitte [Fri, 27 Dec 2002 14:01:40 +0000 (14:01 +0000)]
Kenneth R. Robinette just told me the latest snapshot works well with
MIT Kerberos.
Richard Levitte [Fri, 27 Dec 2002 08:09:08 +0000 (08:09 +0000)]
Can't find the referense to errors on XP with Kerberos
Richard Levitte [Thu, 26 Dec 2002 22:35:04 +0000 (22:35 +0000)]
Add SPKM among the related stanrds.
Richard Levitte [Thu, 26 Dec 2002 22:25:02 +0000 (22:25 +0000)]
Updates
Richard Levitte [Thu, 26 Dec 2002 00:21:53 +0000 (00:21 +0000)]
Update our list of implemented and related standards.
Richard Levitte [Thu, 26 Dec 2002 00:17:46 +0000 (00:17 +0000)]
Update our list of implemented and related standards.
Richard Levitte [Wed, 25 Dec 2002 22:16:56 +0000 (22:16 +0000)]
Spelling error.
This patch was taken from the OpenBSD copy of OpenSSL 0.9.7 beta3 with patches
Richard Levitte [Tue, 24 Dec 2002 23:53:46 +0000 (23:53 +0000)]
Avoid double definition of config.
PR: 420
Richard Levitte [Tue, 24 Dec 2002 23:52:07 +0000 (23:52 +0000)]
Updates
Lutz Jänicke [Tue, 24 Dec 2002 21:55:57 +0000 (21:55 +0000)]
Some more adjustments
Submitted by: Jeffrey Altman <jaltman@columbia.edu>, "Kenneth R. Robinette" <support@securenetterm.com>
Richard Levitte [Tue, 24 Dec 2002 10:50:11 +0000 (10:50 +0000)]
Cygwin needs the library locatin for .DLLs to be set in PATH. Unfortunately,
the conditional was set to add the library directory to PATH when the
platform is NOT Cygwin. Corrected.
PR: 404
Richard Levitte [Tue, 24 Dec 2002 10:38:05 +0000 (10:38 +0000)]
All VMS-specific problems have been solved.
Confirmed by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>
Richard Levitte [Mon, 23 Dec 2002 11:25:51 +0000 (11:25 +0000)]
Finally, a bn_div_words() in VAX assembler that goes through all tests.
PR: 413
Richard Levitte [Sat, 21 Dec 2002 23:49:21 +0000 (23:49 +0000)]
Stop a possible memory leak.
(I wonder why s2_connect() handles the initial buffer allocation slightly
differently...)
PR: 416
Richard Levitte [Fri, 20 Dec 2002 18:21:35 +0000 (18:21 +0000)]
Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.
PR: 411
Andy Polyakov [Fri, 20 Dec 2002 18:11:30 +0000 (18:11 +0000)]
Fix for "shift count too large" when compiling for hpux-parisc2 and
irix-mips. The bug was introduced with accelerated support for x86_64.
My fault! Fixed now.
Richard Levitte [Fri, 20 Dec 2002 16:38:36 +0000 (16:38 +0000)]
More accurate comments.
Richard Levitte [Fri, 20 Dec 2002 16:38:06 +0000 (16:38 +0000)]
A little debugging.
Richard Levitte [Fri, 20 Dec 2002 15:28:42 +0000 (15:28 +0000)]
Propagate MAKEDEPPROG to the subdirs under crypto/.
Lutz Jänicke [Fri, 20 Dec 2002 12:48:00 +0000 (12:48 +0000)]
Fix Kerberos5/SSL interaction
Submitted by: "Kenneth R. Robinette" <support@securenetterm.com>
Reviewed by:
PR:
Richard Levitte [Fri, 20 Dec 2002 09:39:34 +0000 (09:39 +0000)]
Keep the internal lowercase 'surname', for programmer's sake.
Richard Levitte [Fri, 20 Dec 2002 09:24:17 +0000 (09:24 +0000)]
Be consistent with capitalisation of object names.
Richard Levitte [Fri, 20 Dec 2002 09:18:18 +0000 (09:18 +0000)]
Be consistent with capitalisation of object names.
Richard Levitte [Fri, 20 Dec 2002 07:51:03 +0000 (07:51 +0000)]
There was a mixup between INSTALLTOP and OPENSSLDIR...
Richard Levitte [Thu, 19 Dec 2002 22:10:12 +0000 (22:10 +0000)]
We stupidly had a separate LIBKRB5 variable for KRB5 library dependencies,
and then didn't support it very well. And that when there already is a
useful variable for exactly this kind of thing; EX_LIBS...
Richard Levitte [Thu, 19 Dec 2002 21:56:40 +0000 (21:56 +0000)]
Because the contents of openssl.pc may have to change when a configuration
has been performed (and possibly changed), have it depend on Makefile.ssl.
Richard Levitte [Thu, 19 Dec 2002 21:55:48 +0000 (21:55 +0000)]
Small tweaks for code consistency.
Richard Levitte [Thu, 19 Dec 2002 21:13:29 +0000 (21:13 +0000)]
To avoid any future programming glitches, let's make each and every
assignment (modulo those I missed) individual statements.
Richard Levitte [Thu, 19 Dec 2002 19:42:53 +0000 (19:42 +0000)]
I have no idea what possesed me to compile s_socket.c as POSIXly code.
Incidently, it now compiles so much better without _POSIX_C_SOURCE.
Richard Levitte [Thu, 19 Dec 2002 19:39:30 +0000 (19:39 +0000)]
If _XOPEN_SOURCE_EXTENDED or _XOPEN_SOURCE are defined, _POSIX_C_SOURCE gets
defined in DECC$TYPES.H. If _POSIX_C_SOURCE is defined, certain types do
not get defined (u_char, u_int, ...). DECC.H gets included by assert.h
and others. Now, in6.h uses the types u_char, u_int and so on, and gets
included as part of other header inclusions, and will of course fail because
of the missing types.
On the other hand, _XOPEN_SOURCE_EXTENDED is needed to get gethostname()
properly declared...
Solution: define _XOPEN_SOURCE_EXTENDED much later, so DECC$TYPES.H has
a chance to be included *first*, so the otherwise missing types get defined
properly.
Personal: *mumble* *mumble*
Richard Levitte [Thu, 19 Dec 2002 17:44:42 +0000 (17:44 +0000)]
It was pointed out to me that .pc files are normally stored in
${prefix}/lib/pkgconfig, not ${prefix}/lib/pkginfo.
Richard Levitte [Thu, 19 Dec 2002 17:42:23 +0000 (17:42 +0000)]
It was pointed out to me that .pc files are normally stored in
${prefix}/lib/pkgconfig, not ${prefix}/lib/pkginfo.
Richard Levitte [Wed, 18 Dec 2002 10:24:02 +0000 (10:24 +0000)]
Update the current status
Andy Polyakov [Wed, 18 Dec 2002 09:42:51 +0000 (09:42 +0000)]
Better wording?
Andy Polyakov [Wed, 18 Dec 2002 09:03:48 +0000 (09:03 +0000)]
Fix for RT#405, Solaris refuses to invoke preprocessor if egrep returns 1.
Linux for example doesn't exhibit this behaviour, but I add "exit 0" to all
potentially affected rules, just to be on the safe side.
Andy Polyakov [Tue, 17 Dec 2002 08:05:49 +0000 (08:05 +0000)]
Make "perl des-586.pl a.out" work, see RT#402
Andy Polyakov [Mon, 16 Dec 2002 23:35:17 +0000 (23:35 +0000)]
'a=b c=$a; echo $c' doesn't necessarily prints "b", '' vs. "", $s in
Makefiles... I suppose it wasn't tested very much...
Richard Levitte [Mon, 16 Dec 2002 20:33:38 +0000 (20:33 +0000)]
Transfer the Solaris shared library building changes from
0.9.7-stable.
Richard Levitte [Mon, 16 Dec 2002 06:06:03 +0000 (06:06 +0000)]
Protect loading routines with a lock.
PR: 373
Richard Levitte [Sun, 15 Dec 2002 20:59:24 +0000 (20:59 +0000)]
Synchronise with Makefiles.
Andy Polyakov [Sun, 15 Dec 2002 16:01:21 +0000 (16:01 +0000)]
Always forget this one...
Andy Polyakov [Sun, 15 Dec 2002 10:06:27 +0000 (10:06 +0000)]
DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macro
is not expanded if prepended with a $-sign.
Richard Levitte [Sun, 15 Dec 2002 06:45:43 +0000 (06:45 +0000)]
Make sure manual pages are properly linked to on systems that have case
insensitive file names, as well as those that do not have symlinks.
Incidently, both these cases apply on DOS/Windows...
Richard Levitte [Sun, 15 Dec 2002 05:59:13 +0000 (05:59 +0000)]
Update the make system for installations:
- define a HERE variable to indicate where the source tree is (used
very little right now)
- make more use of copying and making attribute changes to {file}.new,
and then move it to {file}
- use 'mv -f' to avoid all those questions to the user when the file
in question doesn't have write attributes for that user.
Richard Levitte [Sun, 15 Dec 2002 05:54:56 +0000 (05:54 +0000)]
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
Richard Levitte [Sun, 15 Dec 2002 05:54:26 +0000 (05:54 +0000)]
Bring des_locl.h at the same level as in the 0.9.7 branch.
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
Andy Polyakov [Sun, 15 Dec 2002 00:47:47 +0000 (00:47 +0000)]
Ooops! No ROTATE on some platforms after x86_64 performance patch...
Andy Polyakov [Sat, 14 Dec 2002 23:14:00 +0000 (23:14 +0000)]
As you might have noticed I tried to change for . prefix, because it's
the one to be used to denote local labels in single function scope.
Problem is that SHA uses same label set across functions, therefore I
have to switch back to $ prefix.
Andy Polyakov [Sat, 14 Dec 2002 21:46:46 +0000 (21:46 +0000)]
Solaris shared build fix-ups. See RT#238,239 for details.
Andy Polyakov [Sat, 14 Dec 2002 20:52:19 +0000 (20:52 +0000)]
New DETECT_GNU_LD procedure.
Andy Polyakov [Sat, 14 Dec 2002 20:42:05 +0000 (20:42 +0000)]
x86_64 performance patch.
Andy Polyakov [Sat, 14 Dec 2002 17:54:30 +0000 (17:54 +0000)]
DES PIC-ification. Windows companion.
Geoff Thorpe [Fri, 13 Dec 2002 22:01:46 +0000 (22:01 +0000)]
The ampersand is not required in these constructs, and was giving AIX
warnings.
Reported by: Bernhard Simon.
Andy Polyakov [Fri, 13 Dec 2002 17:56:14 +0000 (17:56 +0000)]
IA-32 assembler modules (primarily DES) PIC-ification. Idea is to keep
shared libraries shared.