Skip to content

Commit

Permalink
Merge remote-tracking branch 'samngms/bugfix/piv-signWithKeyInSlot-do…
Browse files Browse the repository at this point in the history
…uble-callback-invocation'
  • Loading branch information
jensutbult committed Mar 22, 2024
2 parents 1dc0872 + edf5779 commit 24b954a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ - (void)signWithKeyInSlot:(YKFPIVSlot)slot type:(YKFPIVKeyType)keyType algorithm
NSData *payload = [YKFPIVPadding padData:message keyType:keyType algorithm:algorithm error:&padError];
if (padError != nil) {
completion(nil, padError);
return;
}
return [self usePrivateKeyInSlot:slot type:keyType message:payload exponentiation:false completion:^(NSData * _Nullable data, NSError * _Nullable error) {
completion(data, error);
Expand Down

0 comments on commit 24b954a

Please sign in to comment.