From 54bbc0bf2901500014a793b32f7a6775dd483191 Mon Sep 17 00:00:00 2001 From: Henry Case Date: Sun, 12 May 2019 19:59:25 +0100 Subject: [PATCH] Add accessor to useEMS flag --- conn.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conn.go b/conn.go index 9f64943..4b8dc55 100644 --- a/conn.go +++ b/conn.go @@ -1729,3 +1729,7 @@ func (c *Conn) VerifyHostname(host string) error { } return c.peerCertificates[0].VerifyHostname(host) } + +func (con *Conn) UsedEMS() bool { + return con.useEMS +}