diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-09 16:35:33 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-09 16:35:33 -0800 |
commit | ae939694c598ae23690f6a56f977c66ae7c0f020 (patch) | |
tree | 23772ac8aa225dddb892525188a1caf43d5d97a8 /rand/rand_distr/src | |
parent | 4842ac86c0a805c5c4a679644594252ca5ea388b (diff) | |
download | nitrocli-ae939694c598ae23690f6a56f977c66ae7c0f020.tar.gz nitrocli-ae939694c598ae23690f6a56f977c66ae7c0f020.tar.bz2 |
Make try_with_pin_and_data logic honor execution context PINs
The try_with_pin_and_data function is used by many commands to ask the
user for a PIN in an interactive manner. Because we do not want to have
any interactivity in our tests, we should honor the command execution's
admin & user PIN fields from this function, if set.
This change adjusts the function to honor the command execution
context's admin & user PIN, if set. In order to do so it also adjusts
the callers to hand through the context to begin with.
Diffstat (limited to 'rand/rand_distr/src')
0 files changed, 0 insertions, 0 deletions