Fix tpm_store to use the right PKCS #11 slot.

The p11_replay tool by default uses slot 0 which is the system slot. The
temporary token created by tpm_store will be loaded onto slot 1. We know
it will always be 1 because chapsd is explicitly restarted in the
reset() method.

BUG=chromium:422673
TEST=repeated success of network_VPNConnect.l2tpipsec_cert on daisy

Change-Id: Id44ff1b63d7347974e83ebac4201fb5110aa0af7
Reviewed-on: https://chromium-review.googlesource.com/227442
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
1 file changed