Skip to content

Commit

Permalink
[Pal/Linux-SGX] Fix SGX driver setup for in-kernel driver
Browse files Browse the repository at this point in the history
Apparently, the SGX_DCAP macro meant "not the old OOT version".

Signed-off-by: Paweł Marczewski <pawel@invisiblethingslab.com>
  • Loading branch information
pwmarcz committed Oct 3, 2021
1 parent 80654b4 commit 1bc9039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pal/src/host/Linux-SGX/gsgx.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#mesondefine CONFIG_SGX_DRIVER_DEVICE

#if defined(CONFIG_SGX_DRIVER_DCAP_1_6) || defined(CONFIG_SGX_DRIVER_DCAP_1_10)
#if !defined(CONFIG_SGX_DRIVER_OOT)
#define SGX_DCAP 1
#endif

Expand Down

0 comments on commit 1bc9039

Please sign in to comment.