Searched refs:pHeader (Results 1 – 2 of 2) sorted by relevance
128 PPKCS11_SESSION_CONTEXT_HEADER pHeader = (PPKCS11_SESSION_CONTEXT_HEADER)hSession; in ckInternalSessionIsOpenedEx() local131 if ((pHeader == NULL) || (pHeader->nMagicWord != PKCS11_SESSION_MAGIC)) in ckInternalSessionIsOpenedEx()135 if (pHeader->nSessionTag == PKCS11_PRIMARY_SESSION_TAG) /* primary session */ in ckInternalSessionIsOpenedEx()137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()144 else if (pHeader->nSessionTag == PKCS11_SECONDARY_SESSION_TAG) /*secondary session */ in ckInternalSessionIsOpenedEx()146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()