Skip to content

Commit b340f21

Browse files
committed
Increase the default blob size allocated
1 parent 94e38ce commit b340f21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/filesys/server/auth/ntlm/NTLMMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static final Type fromInt(int ival) {
8181
}
8282

8383
// Default buffer size to allocate
84-
private static final int DefaultBlobSize = 256;
84+
private static final int DefaultBlobSize = 512;
8585

8686
// Field offsets
8787
public static final int OffsetSignature = 0;
@@ -90,7 +90,7 @@ public static final Type fromInt(int ival) {
9090
// Buffer header length
9191
public static final int BufferHeaderLen = 8;
9292

93-
// Buffer, offset and lenght of the NTLM blob
93+
// Buffer, offset and length of the NTLM blob
9494
private byte[] m_buf;
9595
private int m_offset;
9696
private int m_len;

0 commit comments

Comments
 (0)