diff options
author | Dan Gudmundsson <[email protected]> | 2010-01-13 13:20:18 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2010-01-13 13:20:18 +0100 |
commit | fe93630eaef3c403edda47e0531dbd5c11c2aa4a (patch) | |
tree | 5332f9519ba96bf3a973501bc330fc8acaf890bc /lib/ssl | |
parent | 5c0e1b1642002cfd906ac5a03b9814ae0836d8c1 (diff) | |
download | otp-fe93630eaef3c403edda47e0531dbd5c11c2aa4a.tar.gz otp-fe93630eaef3c403edda47e0531dbd5c11c2aa4a.tar.bz2 otp-fe93630eaef3c403edda47e0531dbd5c11c2aa4a.zip |
Added a public_key:pkix_transform/2 instead and used it from ssl.
Diffstat (limited to 'lib/ssl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index e502c21df4..07a9f644fa 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -864,7 +864,7 @@ certificate_authorities(CertDbRef) -> Authorities = certificate_authorities_from_db(CertDbRef), Enc = fun(#'OTPCertificate'{tbsCertificate=TBSCert}) -> OTPSubj = TBSCert#'OTPTBSCertificate'.subject, - Subj = pubkey_cert_records:transform(OTPSubj, encode), + Subj = public_key:pkix_transform(OTPSubj, encode), {ok, DNEncoded} = 'OTP-PUB-KEY':encode('Name', Subj), DNEncodedBin = iolist_to_binary(DNEncoded), DNEncodedLen = byte_size(DNEncodedBin), |