diff options
author | Jack Lloyd <[email protected]> | 2016-12-05 22:27:45 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-05 22:27:45 -0500 |
commit | 29dc67bc1a24f69c64ba8054c17e50bfcce95641 (patch) | |
tree | 083cf29496d7a565dbf8cc97fdd2baa8792ebf02 /src/tests/test_pkcs11_high_level.cpp | |
parent | 18336ab743a01f5378751746ea87ce86632da765 (diff) | |
parent | d56812d9a4ef8e2ba1fbac525ae11a2dc28fef14 (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.cpp | 2 |
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; |