mirror of
https://github.com/boostorg/mysql.git
synced 2025-05-12 14:11:41 +00:00
remove assertion
This commit is contained in:
parent
063d46a98e
commit
a1eb3ff0f8
@ -131,9 +131,7 @@ inline error_code csha2p_encrypt_password(
|
||||
csha2p_password_buffer& output
|
||||
)
|
||||
{
|
||||
// TODO: this is not guaranteed
|
||||
BOOST_ASSERT(!password.empty());
|
||||
|
||||
// TODO: test that password.size() == 0u does not cause trouble
|
||||
// Try to parse the private key. TODO: size check here
|
||||
unique_bio bio{BIO_new_mem_buf(server_key.data(), server_key.size())};
|
||||
if (!bio)
|
||||
|
Loading…
x
Reference in New Issue
Block a user