Commit 1196023
src: improve SPKAC::ExportChallenge()
Declare buf as an unsigned char to get rid of the reinterpret_cast and
do not ignore the return value of ASN1_STRING_TO_UTF8. This also removes
the need to call strlen() on the result.
PR-URL: #44002
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 6bf688d commit 1196023Copy full SHA for 1196023
File tree
Expand file treeCollapse file tree
1 file changed
+3
-6
lines changedOpen diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
1 file changed
+3
-6
lines changedOpen diff view settings
Collapse file
+3-6Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
99 | 99 | |
100 | 100 | |
101 | 101 | |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
| 102 | + |
| 103 | + |
| 104 | + |
108 | 105 | |
109 | 106 | |
110 | 107 | |
|
0 commit comments