Skip to content

Commit

Permalink
Revert format break
Browse files Browse the repository at this point in the history
  • Loading branch information
Skptak committed Aug 15, 2023
1 parent bd2d1a9 commit 4fac7b9
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions source/core_pkcs11.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ static CK_RV prvOpenSession( CK_SESSION_HANDLE * pxSession, CK_SLOT_ID xSlotId )
CKF_RW_SESSION,
NULL, /* Application defined
pointer. */







NULL, /* Callback function. */
pxSession );
}
Expand Down Expand Up @@ -146,7 +139,7 @@ CK_RV xGetSlotList( CK_SLOT_ID ** ppxSlotId, CK_ULONG * pxSlotCount )

if( xResult == CKR_OK )
{
xResult = pxFunctionList->C_GetSlotList( CK_TRUE,
xResult = pxFunctionList->C_GetSlotList( CK_TRUE,
pxSlotId,
pxSlotCount );
}
Expand All @@ -163,8 +156,8 @@ CK_RV xGetSlotList( CK_SLOT_ID ** ppxSlotId, CK_ULONG * pxSlotCount )
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/

#ifdef CreateMutex
#undef CreateMutex /* This is a workaround because CreateMutex is \
#ifdef CreateMutex
#undef CreateMutex /* This is a workaround because CreateMutex is \
redefined to CreateMutexW in synchapi.h in windows. \
:/ */
#endif
Expand Down Expand Up @@ -201,7 +194,7 @@ CK_RV xInitializePKCS11( void )
CK_RV xInitializePkcs11Token( void )
{
CK_RV xResult = CKR_OK;

CK_FUNCTION_LIST_PTR pxFunctionList = NULL;
CK_SLOT_ID * pxSlotId = NULL;
CK_ULONG xSlotCount;
Expand Down

0 comments on commit 4fac7b9

Please sign in to comment.