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

Aleksey Sanin aleksey at aleksey.com
Sat Jun 10 17:42:00 PDT 2017


Should be xmlSecInvalidStringTypeError(). No idea why MSVC didn't complain.

Aleksey

On 6/10/17 11:05 AM, Roumen Petrov wrote:
> 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
> 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 


More information about the xmlsec mailing list