Fixed typo introduced in ENGINE-178
authorEdouard Tisserant <edouard@pep-project.org>
Thu, 20 Jul 2017 15:58:36 +0200
changeset 1933fcbc14dba67d
parent 1932 1bbe9e6435b7
child 1935 adc342c265ee
Fixed typo introduced in ENGINE-178
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Thu Jul 20 15:09:34 2017 +0200
     1.2 +++ b/src/pgp_gpg.c	Thu Jul 20 15:58:36 2017 +0200
     1.3 @@ -687,7 +687,7 @@
     1.4                      *psize = reading;
     1.5                      (*ptext)[*psize] = 0; // safeguard for naive users
     1.6                      *keylist = _keylist;
     1.7 -                    if (recipient_keylist)
     1.8 +                    if (recipient_keylist) {
     1.9                          if (!_keylist)
    1.10                              *keylist = new_stringlist(""); // no sig 
    1.11                          if (!(*keylist)) {
    1.12 @@ -700,6 +700,7 @@
    1.13                              return PEP_OUT_OF_MEMORY;
    1.14                          }    
    1.15                          stringlist_append(*keylist, recipient_keylist);
    1.16 +                    }
    1.17                  }
    1.18                  else {
    1.19                      free_stringlist(_keylist);