With SM enabled, I encountered the following warnings, that could be fixed:

pkcs15-iasecc.c: In function 'iasecc_file_convert_acls':
pkcs15-iasecc.c:327:30: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
card-jcop.c: In function 'jcop_set_security_env':
card-jcop.c:645:35: warning: passing argument 1 of 'memcpy' discards 'const' 
qualifier from pointer target type [enabled by default]
In file included from card-jcop.c:23:0:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument 
is of type 'const struct sc_security_env_t *'
card-authentic.c: In function 'authentic_sm_get_wrapped_apdu':
card-authentic.c:2327:3: warning: passing argument 1 of 'memcpy' discards 
'const' qualifier from pointer target type [enabled by default]
In file included from card-authentic.c:29:0:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument 
is of type 'const u8 *'
card-iasecc.c: In function 'iasecc_keyset_change':
card-iasecc.c:2218:25: warning: assignment discards 'const' qualifier from 
pointer target type [enabled by default]
card-iasecc.c:2223:25: warning: assignment discards 'const' qualifier from 
pointer target type [enabled by default]

-- 
Frank Morgner

Virtual Smart Card Architecture http://vsmartcard.sourceforge.net
OpenPACE                        http://openpace.sourceforge.net
IFD Handler for libnfc Devices  http://sourceforge.net/projects/ifdnfc

Attachment: pgp3laSrBzirK.pgp
Description: PGP signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to