Commit 3dadc95
src: refactor to avoid using a moved object
KeyPairGenTraits::EncodeKey should not use an object that it previously
moved. Make ManagedEVPPKey::ToEncoded(Public|Private)Key non-static
members of ManagedEVPPKey and call them on the key object instead.
PR-URL: #44269
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Feng Yu <F3n67u@outlook.com>1 parent a2707d0 commit 3dadc95Copy full SHA for 3dadc95
File tree
Expand file treeCollapse file tree
3 files changed
+20
-30
lines changedOpen diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
3 files changed
+20
-30
lines changedOpen diff view settings
Collapse file
+6-10Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
186 | 186 | |
187 | 187 | |
188 | 188 | |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
199 | 195 | |
200 | 196 | |
201 | 197 | |
|
Collapse file
+8-10Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
633 | 633 | |
634 | 634 | |
635 | 635 | |
636 | | - |
637 | 636 | |
638 | 637 | |
639 | | - |
| 638 | + |
640 | 639 | |
641 | 640 | |
642 | 641 | |
643 | 642 | |
644 | | - |
| 643 | + |
645 | 644 | |
646 | 645 | |
647 | 646 | |
648 | | - |
| 647 | + |
649 | 648 | |
650 | 649 | |
651 | 650 | |
652 | 651 | |
653 | | - |
| 652 | + |
654 | 653 | |
655 | 654 | |
656 | 655 | |
657 | 656 | |
658 | | - |
659 | 657 | |
660 | 658 | |
661 | | - |
| 659 | + |
662 | 660 | |
663 | 661 | |
664 | | - |
| 662 | + |
665 | 663 | |
666 | 664 | |
667 | 665 | |
668 | | - |
| 666 | + |
669 | 667 | |
670 | 668 | |
671 | 669 | |
672 | 670 | |
673 | | - |
| 671 | + |
674 | 672 | |
675 | 673 | |
676 | 674 | |
|
Collapse file
+6-10Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
112 | 112 | |
113 | 113 | |
114 | 114 | |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
| 115 | + |
| 116 | + |
| 117 | + |
120 | 118 | |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
| 119 | + |
| 120 | + |
| 121 | + |
126 | 122 | |
127 | 123 | |
128 | 124 | |
|
0 commit comments