-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: urcd action: commit revision: path_from: revision_from: b97963deaa6cb516b28aa1f2567caf4fc81948e9: path_to: revision_to:
commit b97963deaa6cb516b28aa1f2567caf4fc81948e9 Author: root <root@administrator.(none)> Date: Mon Jan 27 03:27:09 2014 +0000 [URCd] optimization for _crypto_sign_open() diff --git a/src/urcd.pyx b/src/urcd.pyx
--- a/src/urcd.pyx +++ b/src/urcd.pyx @@ -98,7 +98,7 @@ if URCSECRETBOXDIR or URCSIGNDB or URCSIGNSECKEY or URCSIGNSECKEYDIR or URCSIGNP return s[:32]+s[-32:] def _crypto_sign_open(m,s,pk): - return 1 if m == crypto_sign_open(s[:32]+m+s[32:],pk) else 0 + return 1 if crypto_sign_open(s[:32]+m+s[32:],pk) != 0 else 0 if URCSECRETBOXDIR: urcsecretboxdb = dict()
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 15:13:22 2024