summaryrefslogtreecommitdiff
path: root/lib/freebl/Makefile
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2022-08-23 18:24:35 +0000
committerRob Crittenden <rcritten@redhat.com>2022-08-23 18:24:35 +0000
commit8c3a9f0bbc2a9c30abdf25aaf87d65f37284bda4 (patch)
tree5081ebffdbe553b2d98fb5a31e8907c47e8e9775 /lib/freebl/Makefile
parent2386c64d2cf4194c8f63ae2e8d5b9e83544679eb (diff)
downloadnss-hg-8c3a9f0bbc2a9c30abdf25aaf87d65f37284bda4.tar.gz
Bug 1782980, Fall back to the softokn when writing certificate trust r=rrelyea@redhat.com
Trust is stored in the softokn. When adding a certificate or modifying the trust of a certificate in an external token the operation may fail because the internal token is not authenticated. Instead the provided token name is authenticated multiple times (particularly in the case of AddCert). Catch a failed authentication to the provided token name where the error is SEC_ERROR_TOKEN_NOT_LOGGED_IN and attempt to authenticate to the softokn before calling CERT_ChangeCertTrust. Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'lib/freebl/Makefile')
0 files changed, 0 insertions, 0 deletions