aboutsummaryrefslogtreecommitdiff
path: root/ssl/test/runner/handshake_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/test/runner/handshake_client.go')
-rw-r--r--ssl/test/runner/handshake_client.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/test/runner/handshake_client.go b/ssl/test/runner/handshake_client.go
index 0c338d7..7172b3d 100644
--- a/ssl/test/runner/handshake_client.go
+++ b/ssl/test/runner/handshake_client.go
@@ -2265,6 +2265,10 @@ func (hs *clientHandshakeState) sendFinished(out []byte, isResume bool) error {
if hs.serverHello.extensions.nextProtoNeg {
nextProto := new(nextProtoMsg)
proto, fallback := mutualProtocol(c.config.NextProtos, hs.serverHello.extensions.nextProtos)
+ if fallback && c.config.NoFallbackNextProto {
+ proto = ""
+ fallback = false
+ }
nextProto.proto = proto
c.clientProtocol = proto
c.clientProtocolFallback = fallback