diff options
author | sledgehammer_999 <[email protected]> | 2021-01-11 04:04:02 +0200 |
---|---|---|
committer | sledgehammer_999 <[email protected]> | 2021-01-11 04:04:02 +0200 |
commit | d06f04ca09b9379910f9137b4aae781404d39d5e (patch) | |
tree | 8a291bfb450fea7b600dd33296c85ce82068e99a /src/tests/test_pkcs11_high_level.cpp | |
parent | 854b79287818a01137aa78e59e36ab10240bf13b (diff) |
Split ASN1 tags enum class into 2 enum classes
This should improve type safety even more.
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 db02d29a5..d6cade5ff 100644 --- a/src/tests/test_pkcs11_high_level.cpp +++ b/src/tests/test_pkcs11_high_level.cpp @@ -914,7 +914,7 @@ BOTAN_REGISTER_TEST("pkcs11", "pkcs11-rsa", PKCS11_RSA_Tests); std::vector<uint8_t> encode_ec_point_in_octet_str(const Botan::PointGFp& point) { std::vector<uint8_t> enc; - DER_Encoder(enc).encode(point.encode(PointGFp::UNCOMPRESSED), ASN1_Tag::OCTET_STRING); + DER_Encoder(enc).encode(point.encode(PointGFp::UNCOMPRESSED), ASN1_Type::OCTET_STRING); return enc; } #endif |