mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-16 09:27:10 +02:00
Bugfix: DerEncodingHelper.WriteLength was writing incorrect length
This commit is contained in:
parent
6c08f23751
commit
4fffe28a83
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ namespace SMBLibrary.Authentication.GSSAPI
|
||||||
{
|
{
|
||||||
byte value = (byte)(length % 256);
|
byte value = (byte)(length % 256);
|
||||||
values.Add(value);
|
values.Add(value);
|
||||||
length = value / 256;
|
length = length / 256;
|
||||||
}
|
}
|
||||||
while (length > 0);
|
while (length > 0);
|
||||||
values.Reverse();
|
values.Reverse();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue