We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94e493 commit 5fd1ad9Copy full SHA for 5fd1ad9
include/jwt-cpp/jwt.h
@@ -1332,9 +1332,9 @@ namespace jwt {
1332
const std::string& private_key_password, std::string name)
1333
: alg_name(std::move(name)) {
1334
if (!private_key.empty()) {
1335
- pkey = helper::load_private_ec_key_from_string(private_key, private_key_password);
+ pkey = helper::load_private_key_from_string(private_key, private_key_password);
1336
} else if (!public_key.empty()) {
1337
- pkey = helper::load_public_ec_key_from_string(public_key, public_key_password);
+ pkey = helper::load_public_key_from_string(public_key, public_key_password);
1338
} else
1339
throw error::ecdsa_exception(error::ecdsa_error::load_key_bio_read);
1340
}
0 commit comments