Hi,
(Since this is my first post to this list, I would like to
take this opportunity to thank the OpenSSL developers for
their efforts. They are much appreciated here.)
openssl-SNAP-19990322-0930 + rsaref-2.0 failed "make test"
for me with:
------------------------------------------
...
testing rsa conversions
p -> d
p -> p
d -> d
p -> d
d -> p
p -> p
./rsa_oaep_test
Decryption failed!
Decryption failed!
Decryption failed!
make[1]: *** [test_rsa] Error 1
make[1]: Leaving directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/test'
make: *** [tests] Error 2
--------------------------------------------
OS: SunOS 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-2
Compiler: SC4
System: Ultra 2300
Configure: perl ./Configure no-asm -DRSAref -lRSAglue -L`pwd`/../rsaref-2.0/local/
-lrsaref solaris-sparc-sc4
Attached are warning messages during make after the Configure
above. The librsaref used above has been working without
problems on three production servers here with mod_ssl 2.2.3-1.3.4
and SSLeay-0.9.0b.
The same environment configured without rsaref (perl ./Configure
no-asm solaris-sparc-sc4) compiles with the same warning
messages, but passes 'make test' successfully.
Ed
--------------------------
Ed Kubaitis ([EMAIL PROTECTED])
CCSO - University of Illinois - Urbana-Champaign
---------------------------------------------------------------------------
making all in crypto/des...
make[2]: Entering directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/des'
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c enc_read.c -o enc_read.o
"enc_read.c", line 169: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 222
argument : pointer to char
"enc_read.c", line 171: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 162
argument : pointer to char
"enc_read.c", line 192: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 222
argument : pointer to char
"enc_read.c", line 195: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 162
argument : pointer to char
"enc_read.c", line 205: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 222
argument : pointer to char
"enc_read.c", line 208: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 162
argument : pointer to char
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c enc_writ.c -o enc_writ.o
"enc_writ.c", line 137: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./des.h", line 222
argument : pointer to const char
"enc_writ.c", line 137: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 222
argument : pointer to char
"enc_writ.c", line 140: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./des.h", line 162
argument : pointer to const char
"enc_writ.c", line 140: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./des.h", line 162
argument : pointer to char
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c str2key.c -o str2key.o
"str2key.c", line 97: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./des.h", line 159
argument : pointer to const char
"str2key.c", line 161: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./des.h", line 159
argument : pointer to const char
"str2key.c", line 163: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "./des.h", line 159
argument : pointer to const char
make[2]: Leaving directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/des'
---------------------------------------------------------------------------
making all in crypto/evp...
make[2]: Entering directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/evp'
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c bio_ok.c -o bio_ok.o
"bio_ok.c", line 483: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./evp.h", line 465
argument : pointer to char
"bio_ok.c", line 504: warning: argument #1 is incompatible with prototype:
prototype: pointer to char : "bio_ok.c", line 456
argument : pointer to uchar
"bio_ok.c", line 507: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./evp.h", line 465
argument : pointer to char
"bio_ok.c", line 540: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./evp.h", line 465
argument : pointer to char
"bio_ok.c", line 560: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "./evp.h", line 465
argument : pointer to char
make[2]: Leaving directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/evp'
---------------------------------------------------------------------------
making all in crypto/x509v3...
make[2]: Entering directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/x509v3'
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c v3_conf.c -o v3_conf.o
"v3_conf.c", line 165: warning: assignment type mismatch:
pointer to uchar "=" pointer to char
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c v3_ia5.c -o v3_ia5.o
"v3_ia5.c", line 116: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "../../include/asn1.h", line 418
argument : pointer to char
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c v3_prn.c -o v3_prn.o
"v3_prn.c", line 97: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
cc -I.. -I../../include -DRSAref -xO5 -Xa -DB_ENDIAN -c v3_alt.c -o v3_alt.o
"v3_alt.c", line 134: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "./x509v3.h", line 255
argument : pointer to uchar
"v3_alt.c", line 138: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "./x509v3.h", line 255
argument : pointer to uchar
"v3_alt.c", line 142: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "./x509v3.h", line 255
argument : pointer to uchar
"v3_alt.c", line 411: warning: argument #2 is incompatible with prototype:
prototype: pointer to uchar : "../../include/asn1.h", line 418
argument : pointer to char
make[2]: Leaving directory
`/usr/local/src/apache/openssl-SNAP-19990322-0930/crypto/x509v3'
---------------------------------------------------------------------------
making all in ssl...
make[1]: Entering directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/ssl'
cc -I../crypto -I../include -DRSAref -xO5 -Xa -DB_ENDIAN -c ssl_lib.c -o ssl_lib.o
"ssl_lib.c", line 608: warning: statement not reached
"ssl_lib.c", line 666: warning: statement not reached
cc -I../crypto -I../include -DRSAref -xO5 -Xa -DB_ENDIAN -c ssl_sess.c -o ssl_sess.o
"ssl_sess.c", line 251: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "unknown", line 0
argument : pointer to char
"ssl_sess.c", line 253: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "unknown", line 0
argument : pointer to char
make[1]: Leaving directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/ssl'
---------------------------------------------------------------------------
make[1]: Entering directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/apps'
cc -DMONOLITH -I../include -DRSAref -xO5 -Xa -DB_ENDIAN -c req.c -o req.o
"req.c", line 899: warning: assignment type mismatch:
pointer to uchar "=" pointer to char
"req.c", line 903: warning: assignment type mismatch:
pointer to char "=" pointer to uchar
make[1]: Leaving directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/apps'
---------------------------------------------------------------------------
making all in test...
make[1]: Entering directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/te
cc -I../include -DRSAref -xO5 -Xa -DB_ENDIAN -c destest.c -o destest.o
"destest.c", line 355: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 186
argument : pointer to char
"destest.c", line 357: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 186
argument : pointer to char
"destest.c", line 463: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 165
argument : pointer to char
"destest.c", line 487: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 168
argument : pointer to char
"destest.c", line 524: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 182
argument : pointer to char
"destest.c", line 526: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 182
argument : pointer to char
"destest.c", line 552: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 222
argument : pointer to char
"destest.c", line 688: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 159
argument : pointer to char
"destest.c", line 706: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "../include/des.h", line 225
argument : pointer to char
make[1]: Leaving directory `/usr/local/src/apache/openssl-SNAP-19990322-0930/test'
---------------------------------------------------------------------------