* License clarification: Olaf Kirch > Please refresh my memory; what is the license of the other files in > pkcs15init and the pkcs11 code that I authored? Any files missing > license information should use the same. https://sourceforge.net/p/opensc/mailman/message/35704660/ * License clarificaiton: Vincent Le Toux > Do whatever you want with it ;-) https://sourceforge.net/p/opensc/mailman/message/35704731/ * License clarification: Ludovic Rousseau > So the license should be the same as for pcsc-lite i.e. 3-clause BSD > license as in, the original, > https://github.com/LudovicRousseau/PCSC/blob/master/src/PCSC/winscard.h > I added a license in the strlcpycat.h file for pcsc-lite. See > https://github.com/LudovicRousseau/PCSC/blob/master/src/strlcpycat.h https://sourceforge.net/p/opensc/mailman/message/35705399/ |
||
---|---|---|
.. | ||
ChangeLog.compat_getopt | ||
LICENSE.compat_getopt | ||
Makefile.am | ||
Makefile.mak | ||
README.compat_getopt | ||
README.compat_strlcpy | ||
compat___iob_func.c | ||
compat_dummy.c | ||
compat_getopt.3 | ||
compat_getopt.c | ||
compat_getopt.h | ||
compat_getopt.txt | ||
compat_getopt_main.c | ||
compat_getpass.c | ||
compat_getpass.h | ||
compat_report_rangecheckfailure.c | ||
compat_strlcat.c | ||
compat_strlcat.h | ||
compat_strlcpy.3 | ||
compat_strlcpy.c | ||
compat_strlcpy.h | ||
compat_strnlen.c | ||
compat_strnlen.h | ||
libpkcs11.c | ||
libpkcs11.h | ||
libscdl.c | ||
libscdl.h | ||
simclist.c | ||
simclist.h |
README.compat_strlcpy
strncpy() is unsafe since it does not always add a final NUL-byte. OpenBSD developped a safer version called strlcpy(). Use "man -l strlcpy.3" to read the manpage. The files strlcpy.3 and strlcpy.c comes from ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/ and are Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>