[PATCH] selftest/sgx: use swap() to make code cleaner