Commit 3901c7f
src: add GetCipherValue function
This commit extracts the code that is the same in GetCipherName,
GetCipherStandardName, and GetCipherVersion into function named
GetCipherValue.
The motivation for this change is to improve readabilty by removing the
duplicated code.
PR-URL: #34287
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 513ad14 commit 3901c7fCopy full SHA for 3901c7f
File tree
Expand file treeCollapse file tree
1 file changed
+11
-15
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+11
-15
lines changedOpen diff view settings
Collapse file
+11-15Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
385 | 385 | |
386 | 386 | |
387 | 387 | |
388 | | - |
389 | | - |
390 | | - |
| 388 | + |
| 389 | + |
| 390 | + |
391 | 391 | |
392 | 392 | |
393 | 393 | |
394 | | - |
| 394 | + |
395 | 395 | |
396 | 396 | |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
| 397 | + |
| 398 | + |
404 | 399 | |
405 | 400 | |
406 | | - |
| 401 | + |
407 | 402 | |
408 | 403 | |
409 | | - |
410 | | - |
| 404 | + |
| 405 | + |
411 | 406 | |
412 | | - |
| 407 | + |
| 408 | + |
413 | 409 | |
414 | 410 | |
415 | 411 | |
|
0 commit comments