Print opencryptoki.conf when pkcsGetTokenSlot fails
This commit is contained in:
parent
be6296bd39
commit
d337354d3f
1 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ pkcsGetTokenSlot() {
|
|||
echo $SLOT
|
||||
else
|
||||
echo "Error: pkcsGetTokenSlot: could not find type $TYPE in $CONF"
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
cat $CONF
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue