/* Reallocates more global memory to store the registered Handler list. */
RETURN_STATUS EFIAPI ReallocateSecurityHandlerTable(VOID)
/* Reallocates more global memory to store the registered Handler list. */
RETURN_STATUS EFIAPI ReallocateSecurityHandlerTable(VOID)
{
  mSecurityTable = ReallocatePool (
                     mMaxNumberOfSecurityHandler * sizeof (SECURITY_INFO),
                     (mMaxNumberOfSecurityHandler + SECURITY_HANDLER_TABLE_SIZE) * sizeof (SECURITY_INFO),
                     mSecurityTable
                     );
  if (mSecurityTable == NULL) {
    return RETURN_OUT_OF_RESOURCES;
  }
  mMaxNumberOfSecurityHandler = mMaxNumberOfSecurityHandler + SECURITY_HANDLER_TABLE_SIZE;
  return RETURN_SUCCESS;
}