This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/SecurityPkg/Library/AuthVariableLib/AuthService.c | |
+++ b/SecurityPkg/Library/AuthVariableLib/AuthService.c | |
@@ -1908,6 +1908,7 @@ | |
// in VARIABLE_AUTHENTICATION_2 descriptor. | |
// This field has the fixed offset (+13) and be calculated based on two bytes of length encoding. | |
// | |
+#if 0 | |
if ((Attributes & EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS) != 0) { | |
if (SigDataSize >= (13 + sizeof (mSha256OidValue))) { | |
if (((*(SigData + 1) & TWO_BYTE_ENCODE) != TWO_BYTE_ENCODE) || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* gcc $(pkg-config --cflags gtk+-3.0) *.c $(pkg-config --libs gtk+-3.0) -lm | |
* | |
* When Gtk is initialized through option group, launching the interactive | |
* debugger doesn't work. | |
* To test, just comment/uncomment the `#define USE_GTK_INIT`, rebuild, run: | |
* | |
* GTK_DEBUG=interactive ./a.out | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* gcc $(pkg-config --cflags gtk+-3.0 --libs gtk+-3.0) -lm *.c | |
*/ | |
#include <stdlib.h> | |
#include <glib.h> | |
#include <gtk/gtk.h> | |
#define EXPANDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* gcc $(pkg-config --cflags gtk+-3.0 --libs gtk+-3.0) -lm gtk-tree-view-row-activated.c -o gtk-tree-view-row-activated | |
*/ | |
#include <stdlib.h> | |
#include <math.h> | |
#include <glib.h> | |
#include <gtk/gtk.h> |