diff --git a/src/trees-plugin.c b/src/trees-plugin.c index 9b6597d..93d7422 100644 --- a/src/trees-plugin.c +++ b/src/trees-plugin.c @@ -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 * pwhash_alg should be used with libsodium API. */ 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) { i_error("[trees] Unknown pwhash algorithm value: %d.", pwhash_alg); goto error; diff --git a/src/trees-plugin.h b/src/trees-plugin.h index cbe7a15..de0155d 100644 --- a/src/trees-plugin.h +++ b/src/trees-plugin.h @@ -27,7 +27,7 @@ * database field pwhash_algo. We do this because we don't want to rely on * libsodium ABI for which they happily remove things. */ static inline int -trees_pluging_pwhash_map(int value) +trees_plugin_pwhash_map(int value) { switch (value) { case 0: