summaryrefslogtreecommitdiff
path: root/src/x509.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-02-25 16:21:35 +0100
committerLinus Nordberg <linus@nordberg.se>2015-02-25 16:22:18 +0100
commitbdfde9547c151588917fd932ecf74377d3c378c3 (patch)
tree2185b0380c828a6f849b2466cde5258b922bbeed /src/x509.erl
parent4312e98aad7aaf1d2bc43b3e0ef0ace5a5788c5f (diff)
Even more debug logging.
Diffstat (limited to 'src/x509.erl')
-rw-r--r--src/x509.erl3
1 files changed, 3 insertions, 0 deletions
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' ->