diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-31 23:34:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-31 23:34:20 +0200 |
commit | 81deef270ded7dabcc623d9522ae593ed02160af (patch) | |
tree | 965cb774c4def098060e5cbba520412e2dd9001c /tests/hash.scm | |
parent | 8146fdb3342361dedcf36d96d7a53a7dc0858e63 (diff) | |
download | patches-81deef270ded7dabcc623d9522ae593ed02160af.tar patches-81deef270ded7dabcc623d9522ae593ed02160af.tar.gz |
pki: Add 'signature-case' macro.
* guix/pki.scm (%signature-status): New procedure.
(signature-case): New macro.
* tests/pki.scm (%secret-key, %alternate-secret-key): New variables.
("signature-case valid-signature", "signature-case invalid-signature",
"signature-case hash-mismatch", "signature-case unauthorized-key",
"signature-case corrupt-signature"): New tests.
Diffstat (limited to 'tests/hash.scm')
0 files changed, 0 insertions, 0 deletions