Hello

I have not been successfull in upgrading my generic (32bit)
openssl-libraries from 0.9.7 to 0.9.8 for our Solaris10/x86
systems. Creating the library in 64bit mode had no problems
at all but creating them in 32bit mode failed with Sun cc
as well as with gcc. 

Could any one give me some hints on how to configure 
opnessl-0.9.8 for creating dynamic 32bit libraries?

-- Guenter


In the following you can see what I tried so far:

System: Solaris10 x86 (6/06)    64bit
Compilers:  gcc: gcc-4.0.3
            cc: Sun Studio 11

----------------------------------------------------------
openssl-0.9.7l:
        ./Configure shared \
        --prefix=$inst \
        --openssldir=$inst/lib/ssl \
        -DDEVRANDOM=\"/devices/pseudo/[EMAIL PROTECTED]:urandom\" \
        -L$inst/lib -R$inst/lib \
        solaris-x86-gcc
        
        make            ok
        make install:   parialy failed (in fips-1.0)
        make test:      ok

----------------------------------------------------------
openssl-0.9.7l:
        ./Configure shared \
        --prefix=$inst \
        --openssldir=$inst/lib/ssl \
        -DDEVRANDOM=\"/devices/pseudo/[EMAIL PROTECTED]:urandom\" \
        -L$inst/lib -R$inst/lib \
        solaris-x86-cc
        
        make;           ok
        make install:   parially failed (in fips-1.0)
        make test:      fail:

Testing cipher AES-128-ECB(encrypt)
Key
0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
Plaintext
0000 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
Ciphertext
0000 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a
Ciphertext mismatch
Got
0000 40 90 fd 29 fd 0d 2a 44 a6 db 21 f9 6f 8d e6 af
Expected
0000 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a


--------------------------------------------------------
openssl-0.9.8d:
        ./Configure shared \
        --prefix=$inst \
        --openssldir=$inst/lib/ssl \
        -DDEVRANDOM=\"/devices/pseudo/[EMAIL PROTECTED]:urandom\" \
        -L$inst/lib -R$inst/lib \
        solaris-x86-gcc
        
        make:   fail:

make[2]: Leaving directory `/home/src/unix/openssl/openssl-0.9.8d/apps'
(cd ..; \
  OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
  /usr/local/bin/perl tools/c_rehash certs)
Doing certs
Segmentation Fault
argena.pem => .0
Segmentation Fault
WARNING: Skipping duplicate certificate argeng.pem
Segmentation Fault
WARNING: Skipping duplicate certificate eng1.pem
Segmentation Fault
WARNING: Skipping duplicate certificate eng2.pem
Segmentation Fault
WARNING: Skipping duplicate certificate eng3.pem
Segmentation Fault
WARNING: Skipping duplicate certificate eng4.pem
Segmentation Fault
WARNING: Skipping duplicate certificate eng5.pem
Segmentation Fault
WARNING: Skipping duplicate certificate RegTP-5R.pem
Segmentation Fault
WARNING: Skipping duplicate certificate RegTP-6R.pem
Segmentation Fault
WARNING: Skipping duplicate certificate thawteCb.pem
Segmentation Fault
WARNING: Skipping duplicate certificate thawteCp.pem
Segmentation Fault
WARNING: Skipping duplicate certificate vsign1.pem
Segmentation Fault
WARNING: Skipping duplicate certificate vsign3.pem
Segmentation Fault
WARNING: Skipping duplicate certificate vsignss.pem
Segmentation Fault
WARNING: Skipping duplicate certificate wellsfgo.pem
make[1]: Leaving directory `/home/src/unix/openssl/openssl-0.9.8d/apps'


--------------------------------------------------------------
openssl-0.9.8d:
        ./Configure shared \
        --prefix=$inst \
        --openssldir=$inst/lib/ssl \
        -DDEVRANDOM=\"/devices/pseudo/[EMAIL PROTECTED]:urandom\" \
        -L$inst/lib -R$inst/lib \
        solaris-x86-cc


        make:           ok
        make install:   ok
        make test:      

Testing cipher AES-128-ECB(encrypt)
Key
0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
Plaintext
0000 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
Ciphertext
0000 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a
Ciphertext mismatch
Got
0000 40 90 fd 29 fd 0d 2a 44 a6 db 21 f9 6f 8d e6 af
Expected
0000 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a
fails
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to