summaryrefslogtreecommitdiffstats
path: root/src/erl_make_certs.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/erl_make_certs.erl')
-rw-r--r--src/erl_make_certs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erl_make_certs.erl b/src/erl_make_certs.erl
index dfa9955..884230d 100644
--- a/src/erl_make_certs.erl
+++ b/src/erl_make_certs.erl
@@ -194,7 +194,7 @@ issuer(true, Opts, SubjectKey) ->
issuer({Issuer, IssuerKey}, _Opts, _SubjectKey) when is_binary(Issuer) ->
{issuer_der(Issuer), decode_key(IssuerKey)};
issuer({File, IssuerKey}, _Opts, _SubjectKey) when is_list(File) ->
- {ok, [{cert, Cert, _}|_]} = pem_to_der(File),
+ [{'Certificate', Cert, _}|_] = pem_to_der(File),
{issuer_der(Cert), decode_key(IssuerKey)}.
issuer_der(Issuer) ->