[xmlsec] partially revert "Cleanup remaining errors; .." in certkeys.c

Roumen Petrov xmlsec at roumenpetrov.info
Sat Jun 10 11:05:43 PDT 2017


Hi Aleksey,

In certkeys.c one of conversion to error functions is not correct - GCC 
mingw complier warns with:
.....
make[3]: Entering directory `..../src/mscrypto'
   CC       libxmlsec1_mscrypto_la-certkeys.lo
In file included from globals.h:29:0,
                  from certkeys.c:10:
certkeys.c: In function 'xmlSecMSCryptoCertAdopt':
../errors_helpers.h:516:21: warning: cast from pointer to integer of 
different size [-Wpointer-to-int-cast]
                      (unsigned long)(actual),                \
                      ^
certkeys.c:902:9: note: in expansion of macro 
'xmlSecInvalidIntegerTypeError'
          xmlSecInvalidIntegerTypeError("PCCERT_CONTEXT key type",
          ^
.....

Work-around is temporary to restore previous code - see attachment 
0007-partially-revert-Cleanup-remaining-errors-.-in-certk.patch

Roumen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-partially-revert-Cleanup-remaining-errors-.-in-certk.patch
Type: text/x-diff
Size: 1137 bytes
Desc: not available
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20170610/186012ab/attachment-0001.patch>


More information about the xmlsec mailing list