From bdfde9547c151588917fd932ecf74377d3c378c3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 25 Feb 2015 16:21:35 +0100 Subject: Even more debug logging. --- src/x509.erl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/x509.erl b/src/x509.erl index 96a8ea2..a0aaed4 100644 --- a/src/x509.erl +++ b/src/x509.erl @@ -101,6 +101,9 @@ verify(Cert, DerCert, % Certificate to verify. algorithm = #'AlgorithmIdentifier'{algorithm = Alg, parameters = Params}, subjectPublicKey = {0, Key0}} = IssuerSPKI, KeyType = pubkey_cert_records:supportedPublicKeyAlgorithms(Alg), + lager:debug("Alg: ~p", [Alg]), + lager:debug("KeyType: ~p", [KeyType]), + lager:debug("Key0: ~p", [Key0]), IssuerKey = case KeyType of 'RSAPublicKey' -> -- cgit v1.1