• Jan Lindström's avatar
    MDEV-7772: SIGSEGV on my_aes_encrypt_cbc when -DWITH_SSL=bundled · a3e68b4a
    Jan Lindström authored
    Two problems:
    - Read/Write outside of buffer at memcpy() because of incorrect parameters
    . OPENSSL_assert(EVP_CIPHER_CTX_iv_length(&ctx.ctx) == iv_length); // ECB does not use IV, thus incorrect assertion
    
    Added:
      mysql-test/include/encryption_algorithms.combinations to run tests with methods cbc, ecb and ctr in
      those systems where they are available (see suite.pm).
    a3e68b4a
encryption_algorithms.inc 40 Bytes