Skip to content

Commit dca5a78

Browse files
authored
Merge pull request #81 from muxinc/msmith/max-passphrase-len
Change max passphrase length to 80, matching libsrt
2 parents 12a4522 + 1713082 commit dca5a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
MIN_PAYLOAD_SIZE = MIN_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
1616
MAX_PAYLOAD_SIZE = MAX_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
1717
MIN_PASSPHRASE_SIZE = 10
18-
MAX_PASSPHRASE_SIZE = 79
18+
MAX_PASSPHRASE_SIZE = 80
1919
MAX_STREAMID_SIZE = 512
2020
SRT_VERSION = 0x010401
2121
)

0 commit comments

Comments
 (0)