oweals/openssl.git
21 years agoDJGPP doesn't have DLLs, so skip adding to %PATH% in that environment.
Richard Levitte [Mon, 13 Jan 2003 15:16:40 +0000 (15:16 +0000)]
DJGPP doesn't have DLLs, so skip adding to %PATH% in that environment.
PR: 453

21 years agoadd something to the '$no_shared_warn' text
Bodo Möller [Mon, 13 Jan 2003 14:58:49 +0000 (14:58 +0000)]
add something to the '$no_shared_warn' text

21 years agoCorrect a misleading comment.
Richard Levitte [Mon, 13 Jan 2003 14:53:43 +0000 (14:53 +0000)]
Correct a misleading comment.
PR: 456

21 years agoRevert: the names of the cygwin distribution will not be named openssl2-*.
Richard Levitte [Mon, 13 Jan 2003 14:47:52 +0000 (14:47 +0000)]
Revert: the names of the cygwin distribution will not be named openssl2-*.
Requested by Corinna Vinschen <vinschen@redhat.com>

21 years agoUI_UTIL_read_pw() misinterpreted the values returned from UI functions.
Richard Levitte [Mon, 13 Jan 2003 14:17:43 +0000 (14:17 +0000)]
UI_UTIL_read_pw() misinterpreted the values returned from UI functions.
PR: 456

21 years agodocument BN_GENCB API by adding an example
Bodo Möller [Mon, 13 Jan 2003 13:44:20 +0000 (13:44 +0000)]
document BN_GENCB API by adding an example

21 years agoTypo.
Bodo Möller [Mon, 13 Jan 2003 13:18:22 +0000 (13:18 +0000)]
Typo.

NB: This and other manual pages should be updated for the new
BN_GENCB interface.

21 years agotty_in will never be stderr, so it will always be closed, which means stdin
Richard Levitte [Mon, 13 Jan 2003 13:15:16 +0000 (13:15 +0000)]
tty_in will never be stderr, so it will always be closed, which means stdin
might get closed...
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>

21 years agotypo
Bodo Möller [Mon, 13 Jan 2003 12:52:33 +0000 (12:52 +0000)]
typo

21 years agoOpenBSD FAQ update. Apparently gas from binutils-2.x makes it impossible to
Andy Polyakov [Sun, 12 Jan 2003 21:39:13 +0000 (21:39 +0000)]
OpenBSD FAQ update. Apparently gas from binutils-2.x makes it impossible to
use gcc -fPIC ... on OpenBSD-i386. Alternative solution is provided.

21 years agoJust an extra comment.
Andy Polyakov [Sun, 12 Jan 2003 15:50:59 +0000 (15:50 +0000)]
Just an extra comment.

21 years agoAdd better support for FreeBSD on non-x86 machines.
Richard Levitte [Sun, 12 Jan 2003 04:43:44 +0000 (04:43 +0000)]
Add better support for FreeBSD on non-x86 machines.
Add specific support for FreeBSD on sparc64.
PR: 427

21 years agoIf the user said 'shared' and we haven't included support for shared libraries,
Richard Levitte [Sat, 11 Jan 2003 11:40:39 +0000 (11:40 +0000)]
If the user said 'shared' and we haven't included support for shared libraries,
warn him or her.
Reminder by Andrew Marlow <apm35@student.open.ac.uk>

21 years agoDouble the dollars that are intended for the command line.
Richard Levitte [Fri, 10 Jan 2003 16:32:32 +0000 (16:32 +0000)]
Double the dollars that are intended for the command line.
PR: 423

21 years agoAdd documentation on how to handle the shared libaries.
Richard Levitte [Fri, 10 Jan 2003 16:14:32 +0000 (16:14 +0000)]
Add documentation on how to handle the shared libaries.
PR: 423

21 years agoName the flag file correctly
Richard Levitte [Fri, 10 Jan 2003 16:04:07 +0000 (16:04 +0000)]
Name the flag file correctly

21 years agoCFLAG, not CFLAGS
Richard Levitte [Fri, 10 Jan 2003 11:30:44 +0000 (11:30 +0000)]
CFLAG, not CFLAGS

21 years agoIt's recommended to do 'make clean' after having prepared a new build tree.
Richard Levitte [Fri, 10 Jan 2003 11:00:50 +0000 (11:00 +0000)]
It's recommended to do 'make clean' after having prepared a new build tree.
PR: 437

21 years agoWhen preparing a separate build tree, don't make softlinks to softlinks.
Richard Levitte [Fri, 10 Jan 2003 10:56:14 +0000 (10:56 +0000)]
When preparing a separate build tree, don't make softlinks to softlinks.
Add instructions in INSTALL, for easy access.
PR: 437

21 years agoForce the removal.
Richard Levitte [Fri, 10 Jan 2003 10:54:59 +0000 (10:54 +0000)]
Force the removal.
PR: 437

21 years agoCertain files must be removed before generating them, in case they point
Richard Levitte [Fri, 10 Jan 2003 10:54:18 +0000 (10:54 +0000)]
Certain files must be removed before generating them, in case they point
into a read-only source tree.
PR: 437

21 years agoAvoid unnecessary pollution of object module name table. Cygwin shared
Andy Polyakov [Fri, 10 Jan 2003 10:16:39 +0000 (10:16 +0000)]
Avoid unnecessary pollution of object module name table. Cygwin shared
build workaround (DJGPP swallows it too). One probably should do same
as with ELF calling it COFF, but I'm very short in COFF platforms, so
I just go for easy ad-hoc solution. I'll take care of merge to 0.9.7
later.

21 years agoMake sure everything that may be freed is allocated or initiated.
Richard Levitte [Fri, 10 Jan 2003 08:59:46 +0000 (08:59 +0000)]
Make sure everything that may be freed is allocated or initiated.
PR: 446

21 years agoTypos corrected.
Richard Levitte [Fri, 10 Jan 2003 08:54:01 +0000 (08:54 +0000)]
Typos corrected.
PR: 445

21 years agoTypo.
Dr. Stephen Henson [Thu, 9 Jan 2003 16:54:21 +0000 (16:54 +0000)]
Typo.

21 years agoThe naming scheme wasn't quite correct for Cygwin
Richard Levitte [Thu, 9 Jan 2003 16:15:46 +0000 (16:15 +0000)]
The naming scheme wasn't quite correct for Cygwin

21 years agoAt least OpenBSD implements PIC in the same way ELF does.
Andy Polyakov [Thu, 9 Jan 2003 16:06:09 +0000 (16:06 +0000)]
At least OpenBSD implements PIC in the same way ELF does.

21 years agogcc wants character constants to be correct. Before this change, the
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

21 years agoNULL tofree when it is freed to avoid double free.
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.

21 years agoFinalizing asm support for UnixWare, SCO, OpenUnix... Note that I've
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?

21 years agoThird argument to shl_load() is "long address", not a pointer.
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

21 years agoRSA_METHOD now supports key-generation, but (for now) none of these
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.

21 years agoThis is the first step in allowing RSA_METHODs to implement their own key
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.

21 years agoFix leak.
Dr. Stephen Henson [Sat, 4 Jan 2003 18:25:24 +0000 (18:25 +0000)]
Fix leak.

21 years agoFix a typo.
Andy Polyakov [Sat, 4 Jan 2003 15:18:00 +0000 (15:18 +0000)]
Fix a typo.

21 years agoAnother GAS fix-up and some commentary...
Andy Polyakov [Sat, 4 Jan 2003 14:41:09 +0000 (14:41 +0000)]
Another GAS fix-up and some commentary...

21 years agoGAS can't stand stub, which is stb's synonym.
Andy Polyakov [Sat, 4 Jan 2003 12:49:38 +0000 (12:49 +0000)]
GAS can't stand stub, which is stb's synonym.

21 years agoOops! I've toasted Cygwin! Fixed now.
Andy Polyakov [Fri, 3 Jan 2003 21:49:49 +0000 (21:49 +0000)]
Oops! I've toasted Cygwin! Fixed now.

21 years agoRedundant now as it's moved to ./Makefile.org.
Andy Polyakov [Fri, 3 Jan 2003 20:45:59 +0000 (20:45 +0000)]
Redundant now as it's moved to ./Makefile.org.

21 years agoUnified targets for ELF assembler modules. Tested on Linux, Solaris and
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...

21 years agoSupport for ILP32 on HPUX-IA64.
Andy Polyakov [Fri, 3 Jan 2003 15:10:46 +0000 (15:10 +0000)]
Support for ILP32 on HPUX-IA64.

21 years agopa-risc2.s was not PIC, see RT#426. I strip call to fprintf as it's
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...

21 years agoHP/UX 11i make gets upset by this line containing nothing but a Tab
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

21 years agoRijndael should be called AES everywhere
Richard Levitte [Fri, 3 Jan 2003 08:51:45 +0000 (08:51 +0000)]
Rijndael should be called AES everywhere

21 years agoSupport for Intel compiler. More details will be provided in closing note
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.

21 years agoComplete integration of SPARC assembler DES implementation. Tested on Solaris
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.

21 years agoUltraSPARC assembler DES implementation tune-up. The code can be
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.

21 years agoVery old submission (from 2000) of UltraSPARC assembler DES implementation.
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

21 years agoI implemented this when troubleshooting performance problem on SPARC Solaris.
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.

21 years agoLink engines against libcrypto, even when a TCP/IP implementation is
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...

21 years agoAdjust the parameter lists in some not commonly used files.
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

21 years agoMake sure the last character of the ASN.1 time string (the 'Z') is copied.
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

21 years agoIt's rather silly to believe we'd release 0.9.7a in 2002 :-).
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.

21 years agoMerge in changes from 0.9.7-stable.
Richard Levitte [Tue, 31 Dec 2002 00:02:10 +0000 (00:02 +0000)]
Merge in changes from 0.9.7-stable.

21 years agoMerge 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.

21 years agoMy English is definitely not good as my assembly skills:-) And it looks like
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...

21 years agoIt probably belongs in PROBLEMS, but it's more likely to be a FAQ.
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.

21 years agoSince we're including Kerberos 5 headers in our exported header files (when
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

21 years agoAdd information about AES cipher suites to ciphers manual page.
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).

21 years agoFix wrong handling of session ID in SSLv2 client code.
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

21 years agoCorrect asm exclusions.
Ben Laurie [Sun, 29 Dec 2002 17:57:09 +0000 (17:57 +0000)]
Correct asm exclusions.

21 years agoOS/2 does binary by default, apparently.
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>.

21 years agomake update
Richard Levitte [Sun, 29 Dec 2002 01:38:15 +0000 (01:38 +0000)]
make update

21 years agoFinally get rid of all the algorithm inclusions that were done from
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...).

21 years agomake update
Richard Levitte [Sat, 28 Dec 2002 02:42:05 +0000 (02:42 +0000)]
make update

21 years agoMerge from 0.9.7-stable.
Richard Levitte [Sat, 28 Dec 2002 02:41:17 +0000 (02:41 +0000)]
Merge from 0.9.7-stable.

21 years agoI can't confirm the claim being removed and nobody seems to speak up for it.
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.

21 years agoUltraSPARC performance "tune-up."
Andy Polyakov [Fri, 27 Dec 2002 14:51:49 +0000 (14:51 +0000)]
UltraSPARC performance "tune-up."

21 years agoFAQ addenum as discussed in RT#417.
Andy Polyakov [Fri, 27 Dec 2002 14:27:48 +0000 (14:27 +0000)]
FAQ addenum as discussed in RT#417.

21 years agoKenneth R. Robinette just told me the latest snapshot works well with
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.

21 years agoCan't find the referense to errors on XP with 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

21 years agoAdd SPKM among the related stanrds.
Richard Levitte [Thu, 26 Dec 2002 22:35:04 +0000 (22:35 +0000)]
Add SPKM among the related stanrds.

21 years agoUpdates
Richard Levitte [Thu, 26 Dec 2002 22:25:02 +0000 (22:25 +0000)]
Updates

21 years agoUpdate our list of implemented and related standards.
Richard Levitte [Thu, 26 Dec 2002 00:21:53 +0000 (00:21 +0000)]
Update our list of implemented and related standards.

21 years agoUpdate 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.

21 years agoSpelling error.
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

21 years agoAvoid double definition of config.
Richard Levitte [Tue, 24 Dec 2002 23:53:46 +0000 (23:53 +0000)]
Avoid double definition of config.
PR: 420

21 years agoUpdates
Richard Levitte [Tue, 24 Dec 2002 23:52:07 +0000 (23:52 +0000)]
Updates

21 years agoSome more adjustments
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>

21 years agoCygwin needs the library locatin for .DLLs to be set in PATH. Unfortunately,
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

21 years agoAll VMS-specific problems have been solved.
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>

21 years agoFinally, a bn_div_words() in VAX assembler that goes through all tests.
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

21 years agoStop a possible memory leak.
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

21 years agoMake AES_ENCRYPT and AES_DECRYPT macros instead of static constants.
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

21 years agoFix for "shift count too large" when compiling for hpux-parisc2 and
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.

21 years agoMore accurate comments.
Richard Levitte [Fri, 20 Dec 2002 16:38:36 +0000 (16:38 +0000)]
More accurate comments.

21 years agoA little debugging.
Richard Levitte [Fri, 20 Dec 2002 16:38:06 +0000 (16:38 +0000)]
A little debugging.

21 years agoPropagate MAKEDEPPROG to the subdirs under crypto/.
Richard Levitte [Fri, 20 Dec 2002 15:28:42 +0000 (15:28 +0000)]
Propagate MAKEDEPPROG to the subdirs under crypto/.

21 years agoFix Kerberos5/SSL interaction
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:

21 years agoKeep the internal lowercase 'surname', for programmer's sake.
Richard Levitte [Fri, 20 Dec 2002 09:39:34 +0000 (09:39 +0000)]
Keep the internal lowercase 'surname', for programmer's sake.

21 years agoBe consistent with capitalisation of object names.
Richard Levitte [Fri, 20 Dec 2002 09:24:17 +0000 (09:24 +0000)]
Be consistent with capitalisation of object names.

21 years agoBe 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.

21 years agoThere was a mixup between INSTALLTOP and OPENSSLDIR...
Richard Levitte [Fri, 20 Dec 2002 07:51:03 +0000 (07:51 +0000)]
There was a mixup between INSTALLTOP and OPENSSLDIR...

21 years agoWe stupidly had a separate LIBKRB5 variable for KRB5 library dependencies,
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...

21 years agoBecause the contents of openssl.pc may have to change when a configuration
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.

21 years agoSmall tweaks for code consistency.
Richard Levitte [Thu, 19 Dec 2002 21:55:48 +0000 (21:55 +0000)]
Small tweaks for code consistency.

21 years agoTo avoid any future programming glitches, let's make each and every
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.

21 years agoI have no idea what possesed me to compile s_socket.c as POSIXly code.
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.

21 years agoIf _XOPEN_SOURCE_EXTENDED or _XOPEN_SOURCE are defined, _POSIX_C_SOURCE gets
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*

21 years agoIt was pointed out to me that .pc files are normally stored in
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.