diff options
author | Björn Gustavsson <[email protected]> | 2012-11-22 17:24:09 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-11-26 11:12:58 +0100 |
commit | 8ddc7bf875afb089daedf61e922b691d7c73792d (patch) | |
tree | 712ddc9da5a4a4e667dd611fe7a81d936fd1660a /lib/inets/test | |
parent | a70fe8cbc7efa95665b6db5dab751982d652021f (diff) | |
download | otp-8ddc7bf875afb089daedf61e922b691d7c73792d.tar.gz otp-8ddc7bf875afb089daedf61e922b691d7c73792d.tar.bz2 otp-8ddc7bf875afb089daedf61e922b691d7c73792d.zip |
Fix other applications
Diffstat (limited to 'lib/inets/test')
-rw-r--r-- | lib/inets/test/erl_make_certs.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/test/erl_make_certs.erl b/lib/inets/test/erl_make_certs.erl index 254aa6d2f9..d6bdd05d01 100644 --- a/lib/inets/test/erl_make_certs.erl +++ b/lib/inets/test/erl_make_certs.erl @@ -137,10 +137,10 @@ decode_key(PemBin, Pw) -> encode_key(Key = #'RSAPrivateKey'{}) -> {ok, Der} = 'OTP-PUB-KEY':encode('RSAPrivateKey', Key), - {'RSAPrivateKey', list_to_binary(Der), not_encrypted}; + {'RSAPrivateKey', Der, not_encrypted}; encode_key(Key = #'DSAPrivateKey'{}) -> {ok, Der} = 'OTP-PUB-KEY':encode('DSAPrivateKey', Key), - {'DSAPrivateKey', list_to_binary(Der), not_encrypted}. + {'DSAPrivateKey', Der, not_encrypted}. make_tbs(SubjectKey, Opts) -> Version = list_to_atom("v"++integer_to_list(proplists:get_value(version, Opts, 3))), |