summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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' ->