]> gitweb.factorcode.org Git - factor.git/commitdiff
sodium: use a more conventional parameter name
authorAlexander Iljin <ajsoft@yandex.ru>
Sun, 14 Apr 2019 13:15:39 +0000 (15:15 +0200)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 14 Apr 2019 13:42:54 +0000 (08:42 -0500)
extra/sodium/sodium.factor

index 18c6416ea92c605e35b05c7f25622459de211e14..0ef3440147169918e0beeb5e918490242ad3465f 100644 (file)
@@ -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' )