| 2371 | } |
| 2372 | |
| 2373 | bool Format_description_log_event::start_decryption(Start_encryption_log_event* sele) |
| 2374 | { |
| 2375 | DBUG_ASSERT(crypto_data.scheme == 0); |
| 2376 | |
| 2377 | if (!sele->is_valid()) |
| 2378 | return 1; |
| 2379 | |
| 2380 | memcpy(crypto_data.nonce, sele->nonce, BINLOG_NONCE_LENGTH); |
| 2381 | return crypto_data.init(sele->crypto_scheme, sele->key_version); |
| 2382 | } |
| 2383 | |
| 2384 | |
| 2385 | Version::Version(const char *version, const char **endptr) |
no test coverage detected