| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f52c921 commit 66c8f76
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -837,11 +837,6 @@ void KeyObjectData::MemoryInfo(MemoryTracker* tracker) const { | |||
| 837 | 837 | } | |
| 838 | 838 | } | |
| 839 | 839 | ||
| 840 | - std::shared_ptr<KeyObjectData> KeyObjectData::CreateSecret( | ||
| 841 | - const ArrayBufferOrViewContents<char>& buf) { | ||
| 842 | - return CreateSecret(buf.ToCopy()); | ||
| 843 | - } | ||
| 844 | - | ||
| 845 | 840 | std::shared_ptr<KeyObjectData> KeyObjectData::CreateSecret(ByteSource key) { | |
| 846 | 841 | CHECK(key); | |
| 847 | 842 | 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 { | |||
| 134 | 134 | // Objects of this class can safely be shared among threads. | |
| 135 | 135 | class KeyObjectData : public MemoryRetainer { | |
| 136 | 136 | public: | |
| 137 | - static std::shared_ptr<KeyObjectData> CreateSecret( | ||
| 138 | - const ArrayBufferOrViewContents<char>& buf); | ||
| 139 | - | ||
| 140 | 137 | static std::shared_ptr<KeyObjectData> CreateSecret(ByteSource key); | |
| 141 | 138 | ||
| 142 | 139 | static std::shared_ptr<KeyObjectData> CreateAsymmetric( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments