Skip to content
Snippets Groups Projects
Commit fbd187f8 authored by Maksim Kaitmazian's avatar Maksim Kaitmazian Committed by Arseniy Volynets
Browse files

fix: allow empty password and username in MD5

It fixes the following assertion
```bash
tarantool: ./src/lib/core/crypt.c:84: md5_encrypt:
Assertion `password_len + salt_len > 0' failed.
```
caused by the following code
```lua
box.cfg{auth_type='md5'}
box.schema.user.password("")
```

NO_CHANGELOG=fix an unreleased feature
NO_DOC=fix an unreleased feature
parent 59ef15af
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment