* gnutls.c (Fgnutls_boot): Properly check Flistp return value.

This commit is contained in:
Andreas Schwab 2013-12-16 17:14:45 +01:00
parent 5b9b750ae0
commit 0fa30f3361
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-12-16 Andreas Schwab <schwab@suse.de>
* gnutls.c (Fgnutls_boot): Properly check Flistp return value.
2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
* gnutls.c (Fgnutls_boot): Use `Flistp' instead of

View file

@ -825,7 +825,7 @@ one trustfile (usually a CA bundle). */)
verify_error = Fplist_get (proplist, QCgnutls_bootprop_verify_error);
prime_bits = Fplist_get (proplist, QCgnutls_bootprop_min_prime_bits);
if (!Flistp (verify_error))
if (NILP (Flistp (verify_error)))
error ("gnutls-boot: invalid :verify_error parameter (not a list)");
if (!STRINGP (hostname))