branch | krista-local-7-Jan-2020 |
changeset 4322 | 76806e5aebb2 |
parent 4321 | 795490894153 |
child 4327 | efeb9e634e14 |
1.1 --- a/src/key_reset.c Fri Jan 10 02:46:33 2020 +0100 1.2 +++ b/src/key_reset.c Sat Jan 11 14:07:06 2020 +0100 1.3 @@ -490,7 +490,10 @@ 1.4 // ensure that in this case, we end up with a private one, 1.5 // so talk to vb about this. 1.6 // Make new key the default 1.7 - curr_ident->fpr = new_fpr; 1.8 + 1.9 + // This is REQUIRED for set_own_key (see doc) 1.10 + curr_ident->fpr = NULL; 1.11 + 1.12 status = set_own_key(session, curr_ident, new_fpr); 1.13 1.14 if (status != PEP_STATUS_OK)