mirror of
https://0xacab.org/liberate/trees.git
synced 2024-09-19 13:43:11 +02:00
Merge branch 'fix-spelling' into 'master'
corrected spelling/typo for trees_plugin_pwhash_map() See merge request liberate/trees!14
This commit is contained in:
commit
852a17a9ec
@ -187,7 +187,7 @@ trees_get_private_key(struct mail_user *user,
|
|||||||
/* Get the pwhash value from database and then map it. After this, the
|
/* Get the pwhash value from database and then map it. After this, the
|
||||||
* pwhash_alg should be used with libsodium API. */
|
* pwhash_alg should be used with libsodium API. */
|
||||||
pwhash_alg = trees_get_integer_setting(user, "trees_pwhash_algo");
|
pwhash_alg = trees_get_integer_setting(user, "trees_pwhash_algo");
|
||||||
pwhash_alg = trees_pluging_pwhash_map(pwhash_alg);
|
pwhash_alg = trees_plugin_pwhash_map(pwhash_alg);
|
||||||
if (pwhash_alg == -1) {
|
if (pwhash_alg == -1) {
|
||||||
i_error("[trees] Unknown pwhash algorithm value: %d.", pwhash_alg);
|
i_error("[trees] Unknown pwhash algorithm value: %d.", pwhash_alg);
|
||||||
goto error;
|
goto error;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* database field pwhash_algo. We do this because we don't want to rely on
|
* database field pwhash_algo. We do this because we don't want to rely on
|
||||||
* libsodium ABI for which they happily remove things. */
|
* libsodium ABI for which they happily remove things. */
|
||||||
static inline int
|
static inline int
|
||||||
trees_pluging_pwhash_map(int value)
|
trees_plugin_pwhash_map(int value)
|
||||||
{
|
{
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user