[Pkg-openssl-devel] Bug#333101: libssl-dev: headers must not use undefined types

Petr Salinger Petr.Salinger at t-systems.cz
Tue Nov 1 11:19:24 UTC 2005


tag 333101  +patch
tags 333101 +patch
quit

I strongly disagree.
Each header which is officially exposed to user should include 
all the depending header files. Different behaviour is bad behaviour.

Especially in this case, because previous openssl version worked fine.

Please fix it, i.e. by applying the following patch.


--- Configure~  2005-11-01 10:42:39.000000000 +0000
+++ Configure   2005-11-01 10:42:39.000000000 +0000
@@ -1482,6 +1482,7 @@
                {
                $unistd = "<unistd.h>" if $unistd eq "";
                print OUT "#define OPENSSL_UNISTD $unistd\n";
+               print OUT "#include $unistd\n";
                }
        elsif   (/^#((define)|(undef))\s+SIXTY_FOUR_BIT_LONG/)
                { printf OUT "#%s SIXTY_FOUR_BIT_LONG\n",($b64l)?"define":"undef"; }



Thanks

	Petr






More information about the Pkg-openssl-devel mailing list