an assert a day keeps the doctor away
authorVolker Birk <vb@pep.foundation>
Fri, 19 Jan 2018 17:36:12 +0100
changeset 2432946a64545ddf
parent 2431 bb39f94cc033
child 2433 5ecf504e88eb
child 2434 075780c72b9e
an assert a day keeps the doctor away
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Fri Jan 19 17:34:55 2018 +0100
     1.2 +++ b/src/pgp_gpg.c	Fri Jan 19 17:36:12 2018 +0100
     1.3 @@ -298,6 +298,7 @@
     1.4          if (err != GPG_ERR_NO_ERROR)
     1.5              return PEP_OUT_OF_MEMORY;
     1.6  
     1.7 +        assert(info->version);
     1.8          if (!info->version)
     1.9              return PEP_INIT_CANNOT_DETERMINE_GPG_VERSION;
    1.10