diff options
author | Linus Nordberg <linus@nordu.net> | 2016-01-19 17:24:06 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-01-19 17:24:06 +0100 |
commit | 9db20301d9db5b6759ec7da7922f3e917d1c50ef (patch) | |
tree | c0bc48752bae4c7f45a3d603091c15905dcab8f0 /src/x509.erl | |
parent | 3271c058fa61c22b604515cf8d2bdc61866d3a24 (diff) |
Rename module compat -> catlfish_compat.CATLFISH-69
Can't have two modules with the same name in a release.
Diffstat (limited to 'src/x509.erl')
-rw-r--r-- | src/x509.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x509.erl b/src/x509.erl index 2d4cffa..e0d8ea7 100644 --- a/src/x509.erl +++ b/src/x509.erl @@ -171,7 +171,7 @@ signed_by_p(SubjectDer, IssuerDer) -> end. verify_sig(IssuerSPKI, {DigestOrPlainText, DigestType, Signature}) -> - {Alg, Params, Key0} = compat:unpack_issuer(IssuerSPKI), + {Alg, Params, Key0} = catlfish_compat:unpack_issuer(IssuerSPKI), KeyType = pubkey_cert_records:supportedPublicKeyAlgorithms(Alg), IssuerKey = case KeyType of @@ -193,7 +193,7 @@ verify_sig(IssuerSPKI, {DigestOrPlainText, DigestType, Signature}) -> %% Code from pubkey_cert:extract_verify_data/2. extract_verify_data(Cert, DerCert) -> PlainText = encoded_tbs_cert(DerCert), - Sig = compat:unpack_signature(Cert#'Certificate'.signature), + Sig = catlfish_compat:unpack_signature(Cert#'Certificate'.signature), SigAlgRecord = Cert#'Certificate'.signatureAlgorithm, SigAlg = SigAlgRecord#'AlgorithmIdentifier'.algorithm, try |