aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-06-18 09:30:49 +0200
committerIngela Anderton Andin <[email protected]>2013-08-28 09:50:16 +0200
commit8ce2f3f0cae692642dfd68e0d8bde3b039a658c6 (patch)
tree68c0566898f55d3851d19187cb63f17c15126763 /lib/ssl/src/tls_connection.erl
parentc47bcc2524a47753347bf9b4edd3df43235c58cb (diff)
downloadotp-8ce2f3f0cae692642dfd68e0d8bde3b039a658c6.tar.gz
otp-8ce2f3f0cae692642dfd68e0d8bde3b039a658c6.tar.bz2
otp-8ce2f3f0cae692642dfd68e0d8bde3b039a658c6.zip
ssl: Make the ssl manager name for erlang distribution over SSL/TLS
relative to the module name of the ssl_manager. This can be beneficial when making tools that rename modules for internal processing in the tool.
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 159ba406d3..77f49c5d2a 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -1239,9 +1239,9 @@ ssl_init(SslOpts, Role) ->
{ok, CertDbRef, CertDbHandle, FileRefHandle, CacheHandle, OwnCert, PrivateKey, DHParams}.
init_manager_name(false) ->
- put(ssl_manager, ssl_manager);
+ put(ssl_manager, ssl_manager:manager_name(normal));
init_manager_name(true) ->
- put(ssl_manager, ssl_manager_dist).
+ put(ssl_manager, ssl_manager:manager_name(dist)).
init_certificates(#ssl_options{cacerts = CaCerts,
cacertfile = CACertFile,