diff options
author | Jack Lloyd <[email protected]> | 2016-10-24 17:43:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-24 17:43:14 -0400 |
commit | 46d6cec80542ba9c5150a379043fbd01c4563bfa (patch) | |
tree | 86ee11e3d8e66eb12bfa3fc4172755e8be3f8b02 /src/lib/prov/pkcs11/p11_ecc_key.cpp | |
parent | 10037fe08aafc88f332aaf1f702c5ab6405067ef (diff) |
Initialize member variable in PKCS11_EC_PrivateKey
One of the constructors initialized the member, the others did not.
Found by Coverity scanner.
Diffstat (limited to 'src/lib/prov/pkcs11/p11_ecc_key.cpp')
-rw-r--r-- | src/lib/prov/pkcs11/p11_ecc_key.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/pkcs11/p11_ecc_key.cpp b/src/lib/prov/pkcs11/p11_ecc_key.cpp index 0c3e879d9..6ab713d3a 100644 --- a/src/lib/prov/pkcs11/p11_ecc_key.cpp +++ b/src/lib/prov/pkcs11/p11_ecc_key.cpp @@ -72,7 +72,7 @@ EC_PrivateKeyImportProperties::EC_PrivateKeyImportProperties(const std::vector<b } PKCS11_EC_PrivateKey::PKCS11_EC_PrivateKey(Session& session, ObjectHandle handle) - : Object(session, handle), m_domain_params(), m_public_key(), m_point_encoding(PublicPointEncoding::Der) + : Object(session, handle), m_domain_params(), m_public_key() { secure_vector<byte> ec_parameters = get_attribute_value(AttributeType::EcParams); m_domain_params = EC_Group(unlock(ec_parameters)); |