Skip to content

Commit

Permalink
Bug 1404161 - remove unsound assertion in PK11_GetAttributes r=franzi…
Browse files Browse the repository at this point in the history
…skus

Differential Revision: https://phabricator.services.mozilla.com/D88

--HG--
extra : rebase_source : 5f5e556f187e6fed7a3d0b2417780e165a2b3b78
extra : amend_source : dc723d2aa8a735e6362e832144a578584590b4a6
  • Loading branch information
mozkeeler committed Oct 3, 2017
1 parent 84bdbbe commit 2da79ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/pk11wrap/pk11obj.c
Expand Up @@ -201,7 +201,6 @@ PK11_GetAttributes(PLArenaPool *arena, PK11SlotInfo *slot,
/* make pedantic happy... note that it's only used arena != NULL */
void *mark = NULL;
CK_RV crv;
PORT_Assert(slot->session != CK_INVALID_SESSION);
if (slot->session == CK_INVALID_SESSION)
return CKR_SESSION_HANDLE_INVALID;

Expand Down

0 comments on commit 2da79ea

Please sign in to comment.