File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -837,11 +837,6 @@ void KeyObjectData::MemoryInfo(MemoryTracker* tracker) const {
837837 }
838838}
839839
840- std::shared_ptr<KeyObjectData> KeyObjectData::CreateSecret (
841- const ArrayBufferOrViewContents<char >& buf) {
842- return CreateSecret (buf.ToCopy ());
843- }
844-
845840std::shared_ptr<KeyObjectData> KeyObjectData::CreateSecret (ByteSource key) {
846841 CHECK (key);
847842 return std::shared_ptr<KeyObjectData>(new KeyObjectData (std::move (key)));
Original file line number Diff line number Diff line change @@ -134,9 +134,6 @@ class ManagedEVPPKey : public MemoryRetainer {
134134// Objects of this class can safely be shared among threads.
135135class KeyObjectData : public MemoryRetainer {
136136 public:
137- static std::shared_ptr<KeyObjectData> CreateSecret (
138- const ArrayBufferOrViewContents<char >& buf);
139-
140137 static std::shared_ptr<KeyObjectData> CreateSecret (ByteSource key);
141138
142139 static std::shared_ptr<KeyObjectData> CreateAsymmetric (
You can’t perform that action at this time.
0 commit comments