openssl/engines
Bernd Edlinger 62cc845fc9 Use OPENSSL_strlcpy instead of strncpy in e_afalg.c
This avoids a spurious gcc warning:
./config enable-asan --strict-warnings
=>
In function 'afalg_create_sk',
    inlined from 'afalg_cipher_init' at engines/e_afalg.c:545:11:
engines/e_afalg.c:376:5: error: '__builtin_strncpy' output may be
    truncated copying 63 bytes from a string of length 63 [-Werror=stringop-truncation]
  376 |     strncpy((char *) sa.salg_name, ciphername, ALG_MAX_SALG_NAME);
      |     ^~~~~~~

[extended tests]

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9478)
2019-07-30 20:36:32 +02:00
..
asm Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
build.info Move padlock_asm_src file information to build.info files 2019-06-17 16:08:53 +02:00
e_afalg.c Use OPENSSL_strlcpy instead of strncpy in e_afalg.c 2019-07-30 20:36:32 +02:00
e_afalg.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_afalg.h Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_afalg.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_afalg_err.c Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_afalg_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi.c Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_capi.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_capi.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi_err.c Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync.c engines/dasync: add explaining comments about AES-128-CBC-HMAC-SHA1 2019-02-22 13:31:49 +01:00
e_dasync.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_dasync.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync_err.c Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_devcrypto.c Deprecate SYSerr, add new FUNCerr macro 2019-07-22 16:24:56 +02:00
e_ossltest.c Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_ossltest.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_ossltest.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_ossltest_err.c Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_ossltest_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_padlock.c Deprecate the "hw" configuration options, make "padlockeng" disablable 2019-03-05 08:46:51 +01:00