diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-12-28 15:41:48 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-12-29 15:57:23 +0100 |
commit | a2cbbb743da26abc3a1bdbcd9af2d07018c2a8a6 (patch) | |
tree | 5423d5d17c66eb0f05efff49501b452decc8790f /guix.scm | |
parent | 6df1fb8991bc7323dd4974a55d37f249a4e9c4a0 (diff) | |
download | guix-a2cbbb743da26abc3a1bdbcd9af2d07018c2a8a6.tar.gz guix-a2cbbb743da26abc3a1bdbcd9af2d07018c2a8a6.zip |
pk-crypto: 'canonical-sexp-nth-data' returns a symbol for "tokens".
* guix/pk-crypto.scm (token-string?): New procedure.
(canonical-sexp-nth-data): Return a symbol when the element is a
"token", and a bytevector otherwise.
(latin1-string->bytevector): Remove.
(hash-data->bytevector): Adjust accordingly.
* tests/pk-crypto.scm ("canonical-sexp-nth"): Adjust accordingly. Add
octet string example.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions