diff options
Diffstat (limited to 'src/tls')
-rw-r--r-- | src/tls/tls.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls.erl b/src/tls/tls.erl index 9aee54cfb..17bd8f286 100644 --- a/src/tls/tls.erl +++ b/src/tls/tls.erl @@ -141,7 +141,7 @@ tcp_to_tls(TCPSocket, Options) -> {error, binary_to_list(Error)} end; false -> - {error, no_certfile} + throw(no_certfile) end. tls_to_tcp(#tlssock{tcpsock = TCPSocket, tlsport = Port}) -> |