summaryrefslogtreecommitdiff
path: root/tests/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-28 15:41:48 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-29 15:57:23 +0100
commita2cbbb743da26abc3a1bdbcd9af2d07018c2a8a6 (patch)
tree5423d5d17c66eb0f05efff49501b452decc8790f /tests/derivations.scm
parent6df1fb8991bc7323dd4974a55d37f249a4e9c4a0 (diff)
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 'tests/derivations.scm')
0 files changed, 0 insertions, 0 deletions