Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! src: eliminate ManagedEVPPkey
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Sep 7, 2024
1 parent 6b5d199 commit 3e12b70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/crypto/crypto_keys.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ class KeyObjectData final : public MemoryRetainer {
const PrivateKeyEncodingConfig& config,
v8::Local<v8::Value>* out);

KeyObjectData addRef() const {
inline KeyObjectData addRef() const {
return KeyObjectData(key_type_, mutex_, data_);
}

KeyObjectData addRefWithType(KeyType type) const {
inline KeyObjectData addRefWithType(KeyType type) const {
return KeyObjectData(type, mutex_, data_);
}

Expand All @@ -140,7 +140,7 @@ class KeyObjectData final : public MemoryRetainer {
const char* default_msg);

KeyType key_type_;
std::shared_ptr<Mutex> mutex_;
mutable std::shared_ptr<Mutex> mutex_;

struct Data {
const ByteSource symmetric_key;
Expand Down

0 comments on commit 3e12b70

Please sign in to comment.