summaryrefslogtreecommitdiff
path: root/cc/tests
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-09 16:35:33 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-09 16:35:33 -0800
commitae939694c598ae23690f6a56f977c66ae7c0f020 (patch)
tree23772ac8aa225dddb892525188a1caf43d5d97a8 /cc/tests
parent4842ac86c0a805c5c4a679644594252ca5ea388b (diff)
downloadnitrocli-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 'cc/tests')
0 files changed, 0 insertions, 0 deletions