From 9063cfc61bc9f0b18f6f24ed3e8463865caf2ed9 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Sun, 14 Apr 2019 15:15:39 +0200 Subject: [PATCH] sodium: use a more conventional parameter name --- extra/sodium/sodium.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/sodium/sodium.factor b/extra/sodium/sodium.factor index 18c6416ea9..0ef3440147 100644 --- a/extra/sodium/sodium.factor +++ b/extra/sodium/sodium.factor @@ -46,7 +46,7 @@ PRIVATE> [ utf8 encode dup length ] 2dip crypto_pwhash_str check0 utf8 decode ; -: crypto-pwhash-str-verify ( str password -- bool ) +: crypto-pwhash-str-verify ( str password -- ? ) [ utf8 encode ] bi@ dup length crypto_pwhash_str_verify 0 = ; : crypto-generichash ( out-bytes in-bytes key-bytes/f -- out-bytes' )