src/openpgp_compat.c
branchENGINE-73
changeset 1032 b4004d33c2a2
parent 1030 4354451338cd
child 1061 6406a8b521e7
     1.1 --- a/src/openpgp_compat.c	Thu Aug 18 14:20:25 2016 +0200
     1.2 +++ b/src/openpgp_compat.c	Thu Aug 18 15:01:37 2016 +0200
     1.3 @@ -3,8 +3,8 @@
     1.4  #include "openpgp_compat.h"
     1.5  
     1.6  DYNAMIC_API PEP_STATUS OpenPGP_list_keyinfo (
     1.7 -        PEP_SESSION session, stringpair_list_t** keyinfo_list, char* search_pattern
     1.8 -    );
     1.9 +        PEP_SESSION session, const char* search_pattern, stringpair_list_t** keyinfo_list
    1.10 +    )
    1.11  {
    1.12      assert(session);
    1.13      assert(keyinfo_list);
    1.14 @@ -14,7 +14,7 @@
    1.15  
    1.16      stringpair_list_t* _keyinfo_list = NULL;
    1.17      
    1.18 -    PEP_STATUS retval = pgp_list_keyinfo(session, _keyinfo_list, search_pattern);
    1.19 +    PEP_STATUS retval = pgp_list_keyinfo(session, search_pattern, &_keyinfo_list);
    1.20          
    1.21      if (retval == PEP_STATUS_OK)
    1.22          *keyinfo_list = _keyinfo_list;