Hi All,
 
I have ported OPENSSL on VxWorks (host is HP-UX and target is VxWorks)
I want to use SHA-512, When I compile I am getting the following
warnings

h/openssl/sha.h:179: warning: ANSI C does not support `long long'
h/openssl/sha.h:180: warning: ANSI C does not support `long long'
h/openssl/sha.h:180: warning: ANSI C does not support `long long'
h/openssl/sha.h:182: warning: ANSI C does not support `long long'

Warning are in 

typedef struct SHA512state_st
{
        SHA_LONG64 h[8];
        SHA_LONG64 Nl,Nh;
        union {
                SHA_LONG64      d[SHA_LBLOCK];
                unsigned char   p[SHA512_CBLOCK];
        } u;
        unsigned int num,md_len;
} SHA512_CTX;

I tried considering SHA_LONG64 as unsigned long and #define U64(C) C##UL
Then I started getting lot of warnings in file sha512.c 

Warning are of type:
sha512.c:61: warning: large integer implicitly truncated to unsigned
type
sha512.c:114: warning: right shift count >= width of type

Please can any one tell me how do I use/fix this.

Thanks in advance,
Jaya.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to