1. 09 4月, 2020 16 次提交
  2. 08 4月, 2020 8 次提交
  3. 07 4月, 2020 10 次提交
  4. 06 4月, 2020 3 次提交
  5. 04 4月, 2020 2 次提交
  6. 03 4月, 2020 1 次提交
    • B
      Fix a gcc warning about possible null pointer · e2bf331b
      Bernd Edlinger 提交于
      In function 'ccm_tls_cipher',
          inlined from 'ccm_cipher_internal' at providers/common/ciphers/cipher_ccm.c:359:16,
          inlined from 'ccm_stream_final' at providers/common/ciphers/cipher_ccm.c:265:9:
      providers/common/ciphers/cipher_ccm.c:317:5: error: argument 2 null where non-null expected [-Werror=nonnull]
        317 |     memcpy(ctx->iv + EVP_CCM_TLS_FIXED_IV_LEN, in, EVP_CCM_TLS_EXPLICIT_IV_LEN);
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from include/internal/cryptlib.h:14,
                       from providers/common/include/prov/ciphercommon.h:14,
                       from providers/common/ciphers/cipher_ccm.c:12:
      providers/common/ciphers/cipher_ccm.c: In function 'ccm_stream_final':
      /home/ed/gnu/arm-linux-gnueabihf-linux64/arm-linux-gnueabihf/sys-include/string.h:44:14: note: in a call to function 'memcpy' declared here
         44 | extern void *memcpy (void *__restrict __dest,
            |              ^~~~~~
      
      [extended tests]
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/10344)
      e2bf331b