src/keymanagement.c
changeset 2466 339399330a9b
parent 2462 48b526a0daac
child 2467 ef6bb2e8a84c
     1.1 --- a/src/keymanagement.c	Mon Jan 29 12:40:43 2018 +0100
     1.2 +++ b/src/keymanagement.c	Mon Jan 29 16:52:54 2018 +0100
     1.3 @@ -374,6 +374,9 @@
     1.4      if (status == PEP_STATUS_OK && !EMPTYSTR(stored_ident->fpr))
     1.5          return_id->fpr = strdup(stored_ident->fpr);
     1.6          
     1.7 +    // This is outside the if block ON PURPOSE - we return an empty FPR +
     1.8 +    // the reason why a key wasn't used in the comm_type string if we can't
     1.9 +    // find or use one.
    1.10      return_id->comm_type = stored_ident->comm_type;
    1.11                  
    1.12      // We patch the DB with the input username, but if we didn't have