summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason <[email protected]>2022-10-05 11:55:25 -0700
committerGitHub <[email protected]>2022-10-05 11:55:25 -0700
commit509c49d0192b84de459fdfae9bd8c1e16f6cafa0 (patch)
tree09c41913031eb901da7f06870cf1ea3fa3722e87
parent62b5e8faba904292fa02b91effad5d5e0d0bd9bb (diff)
[smartcrd\pscr] Get pscr sample building properly (#788)
-rw-r--r--smartcrd/pscr/pscr.inxbin6260 -> 6272 bytes
-rw-r--r--smartcrd/pscr/pscrnt.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/smartcrd/pscr/pscr.inx b/smartcrd/pscr/pscr.inx
index 22a8b269..93ea8f4b 100644
--- a/smartcrd/pscr/pscr.inx
+++ b/smartcrd/pscr/pscr.inx
Binary files differ
diff --git a/smartcrd/pscr/pscrnt.c b/smartcrd/pscr/pscrnt.c
index 4505035f..3249371d 100644
--- a/smartcrd/pscr/pscrnt.c
+++ b/smartcrd/pscr/pscrnt.c
@@ -406,8 +406,8 @@ PscrRegisterWithSmcLib(
SmartcardExtension = &DeviceExtension->SmartcardExtension;
// allocate the reader extension
- ReaderExtension = ExAllocatePoolWithTag(
- NonPagedPoolNx,
+ ReaderExtension = ExAllocatePool2(
+ POOL_FLAG_NON_PAGED,
sizeof( READER_EXTENSION ),
SMARTCARD_POOL_TAG
);