Sexp changes between 1.5.3 and 1.6.0

Ludovic Courtès ludo at gnu.org
Sat Dec 21 12:42:41 CET 2013


Hi,

While writing Guile bindings to the public key API and the corresponding
tests for Guix [0], we noticed a couple of differences between 1.5.3 and
1.6.0:

  1. ‘gcry_sexp_sprint’, in GCRYSEXP_FMT_ADVANCED mode, renders the
     sexp ‘#C0FFEE#’ as ‘#C0FFEE#’ with 1.6, but as a binary byte
     sequence in 1.5.

  2. ‘gcry_sexp_nth (a (b 3:pqr) (c 3:456) (d 3:xyz)) 0’ returns the
     complete list in 1.5, whereas in 1.6 it returns NULL (which makes
     more sense IMO.)

I would consider it bugs in the 1.5 series, WDYT?

Thanks,
Ludo’.

[0] http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3476ded934dc0beab1801d7fcdcc37b5c17bbf01



More information about the Gcrypt-devel mailing list