Sexp changes between 1.5.3 and 1.6.0

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


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. ‘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?



More information about the Gcrypt-devel mailing list