[Opendnssec-maintainers] SoftHSM 1.3.5rc1 release candidate

Paul Wouters pwouters at redhat.com
Fri Sep 20 19:09:52 UTC 2013


On 09/20/2013 10:30 AM, Sara Dickinson wrote:

> Version 1.3.5rc1 of SoftHSM is now available. This is a release candidate for testing purposes

Some compiler warnings I"m seeing:


softhsm.cpp: In function 'int importKeyPair(char*, char*, char*, char*,
char*, char*, int)':
softhsm.cpp:700:3: warning: narrowing conversion of 'objIDLen' from
'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
   };
   ^
softhsm.cpp:721:3: warning: narrowing conversion of 'objIDLen' from
'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
   };
   ^
softhsm.cpp: In function 'CK_OBJECT_HANDLE
searchObject(CK_SESSION_HANDLE, CK_OBJECT_CLASS, char*, char*, int)':
softhsm.cpp:1241:3: warning: narrowing conversion of 'objIDLen' from
'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
   };
   ^

softhsm-keyconv.cpp: In function 'int create_rsa_rdata(unsigned char*,
int, Botan::Private_Key*, int, int)':
softhsm-keyconv.cpp:952:38: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
   if((7 + big_e_size + big_n_size) > length) {
                                      ^
softhsm-keyconv.cpp: In function 'int create_dsa_rdata(unsigned char*,
int, Botan::Private_Key*, int, int)':
softhsm-keyconv.cpp:1024:24: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
   if((25 + 3 * size) > length) {
                        ^

Compilation succeeds, and "make check" still seems to pass.

Paul



More information about the Opendnssec-maintainers mailing list