Permalink
Browse files

deleted ssl_seed attribute

  • Loading branch information...
1 parent b3b84c9 commit 833a592e4ef156a9a573a1e6c6ed3b7477a99c79 @amilkr amilkr committed Dec 26, 2011
Showing with 2 additions and 6 deletions.
  1. +1 −2 include/apns.hrl
  2. +1 −2 src/apns.app.src
  3. +0 −1 src/apns.erl
  4. +0 −1 src/apns_connection.erl
View
@@ -1,6 +1,5 @@
%% Connection Parameters
--record(apns_connection, {ssl_seed = "someseedstring" :: string(),
- apple_host = "gateway.sandbox.push.apple.com" :: string(),
+-record(apns_connection, {apple_host = "gateway.sandbox.push.apple.com" :: string(),
apple_port = 2195 :: integer(),
cert_file = "priv/cert.pem" :: string(),
key_file = undefined :: undefined | string(),
View
@@ -9,8 +9,7 @@
ssl
]},
{mod, {apns_app, []}},
- {env, [{ssl_seed, "someseedstring"},
- {apple_host, "gateway.sandbox.push.apple.com"},
+ {env, [{apple_host, "gateway.sandbox.push.apple.com"},
{apple_port, 2195},
{cert_file, "priv/cert.pem"},
{key_file, undefined},
View
@@ -178,7 +178,6 @@ default_connection() ->
apple_port = get_env(apple_port, DefaultConn#apns_connection.apple_port),
key_file = get_env(key_file, DefaultConn#apns_connection.key_file),
cert_file = get_env(cert_file, DefaultConn#apns_connection.cert_file),
- ssl_seed = get_env(ssl_seed, DefaultConn#apns_connection.ssl_seed),
timeout = get_env(timeout, DefaultConn#apns_connection.timeout),
error_fun = case get_env(error_fun, DefaultConn#apns_connection.error_fun) of
{M, F} -> fun(I, S) -> M:F(I, S) end;
View
@@ -52,7 +52,6 @@ start_link(Connection) ->
%% @hidden
-spec init(#apns_connection{}) -> {ok, state()} | {stop, term()}.
init(Connection) ->
- ok = ssl:seed(Connection#apns_connection.ssl_seed),
try
case ssl:connect(
Connection#apns_connection.apple_host,

0 comments on commit 833a592

Please sign in to comment.