mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
Replace deprecated wstring_convert (#290)
Co-authored-by: Jonas Borchelt <jonas.borchelt@icloud.com>
This commit is contained in:
@@ -18,9 +18,8 @@ TEST(HelperTest, Base64DER2PemCert) {
|
||||
}
|
||||
|
||||
TEST(HelperTest, DER2PemCert) {
|
||||
auto decoded = jwt::base::decode<jwt::alphabet::base64>(
|
||||
jwt::base::pad<jwt::alphabet::base64>(google_cert_base64_der)
|
||||
);
|
||||
auto decoded =
|
||||
jwt::base::decode<jwt::alphabet::base64>(jwt::base::pad<jwt::alphabet::base64>(google_cert_base64_der));
|
||||
auto cert_pem = jwt::helper::convert_der_to_pem(decoded);
|
||||
ASSERT_EQ(google_cert, cert_pem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user