diff options
author | vnugent <public@vaughnnugent.com> | 2023-03-27 02:20:16 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-03-27 02:20:16 -0400 |
commit | d1fd903866b475711be9ac619d99f2768972068f (patch) | |
tree | 543bbf1772f40a47554524550fe31cebd19b4bb5 /plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints | |
parent | 1dc1ac2e53f25528aacd1510da928d5f56e3dad7 (diff) |
Native heap api and alloc optimizations
Diffstat (limited to 'plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints')
-rw-r--r-- | plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs b/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs index 998cee4..45097b8 100644 --- a/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs +++ b/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs @@ -288,7 +288,7 @@ namespace VNLib.Plugins.Essentials.Accounts.Endpoints //generate a new secret (passing the buffer which will get copied to an array because the pw bytes can be modified during encryption) byte[] secretBuffer = user.MFAGenreateTOTPSecret(MultiFactor); //Alloc output buffer - UnsafeMemoryHandle<byte> outputBuffer = MemoryUtil.UnsafeAlloc<byte>(4096, true); + UnsafeMemoryHandle<byte> outputBuffer = MemoryUtil.UnsafeAlloc(4096, true); try { |