[openssl.org #1835] PATCH: typos

2009-02-02 Thread (Damien Miller) via RT
typo fixes that have accrued in OpenBSD's import of OpenSSL over
the years

Index: MacOS/GetHTTPS.src/ErrorHandling.hpp
===
RCS file: /cvs/src/lib/libssl/src/MacOS/GetHTTPS.src/ErrorHandling.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -p -r1.1.1.1 -r1.2
--- MacOS/GetHTTPS.src/ErrorHandling.hpp5 Sep 2002 12:51:29 -   
1.1.1.1
+++ MacOS/GetHTTPS.src/ErrorHandling.hpp26 May 2007 00:36:03 -  
1.2
@@ -29,7 +29,7 @@ OSErr AppendErrorMessageToHandle(Handle 
 
 
 
-// A bunch of evil macros that would be uneccessary if I were always using 
C++ !
+// A bunch of evil macros that would be unnecessary if I were always using 
C++ !
 
 #define SetErrorMessageAndBailIfNil(theArg,theMessage) 
\
 {  

\
Index: crypto/asn1/a_bytes.c
===
RCS file: /cvs/src/lib/libssl/src/crypto/asn1/a_bytes.c,v
retrieving revision 1.1.1.4
retrieving revision 1.8
diff -u -p -r1.1.1.4 -r1.8
--- crypto/asn1/a_bytes.c   6 Sep 2008 12:15:39 -   1.1.1.4
+++ crypto/asn1/a_bytes.c   6 Sep 2008 12:17:48 -   1.8
@@ -79,7 +79,7 @@ ASN1_STRING *d2i_ASN1_type_bytes(ASN1_ST
 
if (tag = 32)
{
-   i=ASN1_R_TAG_VALUE_TOO_HIGH;;
+   i=ASN1_R_TAG_VALUE_TOO_HIGH;
goto err;
}
if (!(ASN1_tag2bit(tag)  type))
Index: crypto/asn1/t_x509.c
===
RCS file: /cvs/src/lib/libssl/src/crypto/asn1/t_x509.c,v
retrieving revision 1.1.1.5
retrieving revision 1.11
diff -u -p -r1.1.1.5 -r1.11
--- crypto/asn1/t_x509.c9 Jan 2009 12:13:51 -   1.1.1.5
+++ crypto/asn1/t_x509.c9 Jan 2009 12:15:27 -   1.11
@@ -332,7 +332,7 @@ int X509_signature_print(BIO *bp, X509_A
 int ASN1_STRING_print(BIO *bp, ASN1_STRING *v)
{
int i,n;
-   char buf[80],*p;;
+   char buf[80],*p;
 
if (v == NULL) return(0);
n=0;
Index: crypto/bn/bntest.c
===
RCS file: /cvs/src/lib/libssl/src/crypto/bn/bntest.c,v
retrieving revision 1.1.1.7
retrieving revision 1.12
diff -u -p -r1.1.1.7 -r1.12
--- crypto/bn/bntest.c  6 Sep 2008 12:15:41 -   1.1.1.7
+++ crypto/bn/bntest.c  6 Sep 2008 12:17:49 -   1.12
@@ -926,7 +926,7 @@ int test_mod_exp(BIO *bp, BN_CTX *ctx)
BN_bntest_rand(b,2+i,0,0); /**/
 
if (!BN_mod_exp(d,a,b,c,ctx))
-   return(00);
+   return(0);
 
if (bp != NULL)
{
@@ -1028,7 +1028,7 @@ int test_exp(BIO *bp, BN_CTX *ctx)
BN_bntest_rand(b,2+i,0,0); /**/
 
if (!BN_exp(d,a,b,ctx))
-   return(00);
+   return(0);
 
if (bp != NULL)
{
Index: crypto/des/times/usparc.cc
===
RCS file: /cvs/src/lib/libssl/src/crypto/des/times/usparc.cc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -p -r1.1.1.1 -r1.2
--- crypto/des/times/usparc.cc  5 Oct 1998 20:12:45 -   1.1.1.1
+++ crypto/des/times/usparc.cc  29 Mar 2005 17:29:10 -  1.2
@@ -2,7 +2,7 @@ solaris 2.5.1 usparc 167mhz?? - SC4.0 cc
 
 For the ultra sparc, SunC 4.0 cc -fast -Xa -xO5, running 'des_opts'
 gives a speed of 475,000 des/s while 'speed' gives 417,000 des/s.
-I belive the difference is tied up in optimisation that the compiler
+I believe the difference is tied up in optimisation that the compiler
 is able to perform when the code is 'inlined'.  For 'speed', the DES
 routines are being linked from a library.  I'll record the higher
 speed since if performance is everything, you can always inline
Index: crypto/ripemd/README
===
RCS file: /cvs/src/lib/libssl/src/crypto/ripemd/README,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -p -r1.1.1.1 -r1.2
--- crypto/ripemd/README5 Oct 1998 20:12:41 -   1.1.1.1
+++ crypto/ripemd/README29 Mar 2005 17:29:10 -  1.2
@@ -4,7 +4,7 @@ http://www.esat.kuleuven.ac.be/~bosselae
 This is my implementation of RIPEMD-160.  The pentium assember is a little
 off the pace since I only get 1050 cycles, while the best is 1013.
 I have a few ideas for how to get another 20 or so cycles, but at
-this point I will not bother right now.  I belive the trick will be
+this point I will not bother right now.  I believe the trick will be
 to remove my 'copy X array onto stack' until inside the RIP1() finctions 

[openssl.org #1837] Bug in compiling on AIX 5.3

2009-02-02 Thread Mike Wodei via RT
./config no-shared --prefix=/opt/freeware --openssldir=/usr/share/ssl

works fine, make test pases, but a make install fails with:

cp: fipscanister.o: No such file or directory
cp: fipscanister.o.sha1: No such file or directory
make: The error code from the last command is 1.



Mike Wodei
AoD Build Tools Architect/AIX Platform SME
wo...@us.ibm.com
602-324-9704 Home Office
602-697-9769 Cell


./config no-shared --prefix=/opt/freeware
--openssldir=/usr/share/ssl

works fine, make test pases, but a make
install fails with:

cp: fipscanister.o: No such file or
directory
cp: fipscanister.o.sha1: No such file
or directory
make: The error code from the last command
is 1.



Mike Wodei
AoD Build Tools Architect/AIX Platform SME
wo...@us.ibm.com
602-324-9704 Home Office
602-697-9769 Cell