Interpret 0 reneg seconds as never
This commit is contained in:
parent
0b124af8fc
commit
55cdd6227c
|
@ -704,7 +704,7 @@ public class SessionProxy {
|
|||
}
|
||||
|
||||
private func maybeRenegotiate() {
|
||||
guard let renegotiatesAfter = configuration.renegotiatesAfter else {
|
||||
guard let renegotiatesAfter = configuration.renegotiatesAfter, renegotiatesAfter > 0 else {
|
||||
return
|
||||
}
|
||||
guard (negotiationKeyIdx == currentKeyIdx) else {
|
||||
|
|
Loading…
Reference in New Issue