/* Reallocates more global memory to store the registered Securit2Handler list. */
RETURN_STATUS EFIAPI ReallocateSecurity2HandlerTable(VOID)
/* Reallocates more global memory to store the registered Securit2Handler list. */
RETURN_STATUS EFIAPI ReallocateSecurity2HandlerTable(VOID)
{
  mSecurity2Table = ReallocatePool (
                      mMaxNumberOfSecurity2Handler * sizeof (SECURITY2_INFO),
                      (mMaxNumberOfSecurity2Handler + SECURITY_HANDLER_TABLE_SIZE) * sizeof (SECURITY2_INFO),
                      mSecurity2Table
                      );
  if (mSecurity2Table == NULL) {
    return RETURN_OUT_OF_RESOURCES;
  }
  mMaxNumberOfSecurity2Handler = mMaxNumberOfSecurity2Handler + SECURITY_HANDLER_TABLE_SIZE;
  return RETURN_SUCCESS;
}