IOS-1484 marks root of IOS-AD117 IOS-1484
authorbuff <andreas@pep-project.org>
Tue, 18 Jun 2019 14:13:42 +0200
branchIOS-1484
changeset 3851baf88ee23eb2
parent 3850 e4358c9e79d2
child 3852 7473bcd87097
IOS-1484 marks root of IOS-AD117
src/keymanagement.c
     1.1 --- a/src/keymanagement.c	Tue Jun 18 11:31:05 2019 +0200
     1.2 +++ b/src/keymanagement.c	Tue Jun 18 14:13:42 2019 +0200
     1.3 @@ -249,7 +249,7 @@
     1.4          case PEP_ct_key_revoked:
     1.5          case PEP_ct_key_b0rken:
     1.6              // delete key from being default key for all users/identities
     1.7 -            status = remove_fpr_as_default(session, fpr);
     1.8 +            status = remove_fpr_as_default(session, fpr); //BUFF: considers the key as "revoked" ...
     1.9              status = update_trust_for_fpr(session, 
    1.10                                            fpr, 
    1.11                                            ct);
    1.12 @@ -257,7 +257,7 @@
    1.13              free(ident->fpr);
    1.14              ident->fpr = NULL;
    1.15              ident->comm_type = ct;            
    1.16 -            status = PEP_KEY_UNSUITABLE;
    1.17 +            status = PEP_KEY_UNSUITABLE; //BUFF: ... and returns PEP_KEY_UNSUITABLE
    1.18          default:
    1.19              break;
    1.20      }