aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pkcs11_high_level.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-05 22:27:45 -0500
committerJack Lloyd <[email protected]>2016-12-05 22:27:45 -0500
commit29dc67bc1a24f69c64ba8054c17e50bfcce95641 (patch)
tree083cf29496d7a565dbf8cc97fdd2baa8792ebf02 /src/tests/test_pkcs11_high_level.cpp
parent18336ab743a01f5378751746ea87ce86632da765 (diff)
parentd56812d9a4ef8e2ba1fbac525ae11a2dc28fef14 (diff)
Merge GH #757 Fix X509 and PKCS8 formatting functions for PK keys
Diffstat (limited to 'src/tests/test_pkcs11_high_level.cpp')
-rw-r--r--src/tests/test_pkcs11_high_level.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_pkcs11_high_level.cpp b/src/tests/test_pkcs11_high_level.cpp
index 4e220d6e8..cf3fdac62 100644
--- a/src/tests/test_pkcs11_high_level.cpp
+++ b/src/tests/test_pkcs11_high_level.cpp
@@ -918,7 +918,7 @@ Test::Result test_ecdsa_privkey_export()
ECDSA_PrivateKey exported = pk.export_key();
result.test_success("ECDSA private key export was successful");
result.confirm("Check exported key valid", exported.check_key(Test::rng(), true));
- result.test_eq("Check exported key contents", exported.pkcs8_private_key(), priv_key.pkcs8_private_key());
+ result.test_eq("Check exported key contents", exported.private_key_bits(), priv_key.private_key_bits());
pk.destroy();
return result;