Commit ec876ee
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 d865be4 commit ec876ee
1 file changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
391 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 398 | + | |
| 399 | + | |
405 | 400 | | |
406 | 401 | | |
407 | | - | |
| 402 | + | |
408 | 403 | | |
409 | 404 | | |
410 | | - | |
411 | | - | |
| 405 | + | |
| 406 | + | |
412 | 407 | | |
413 | | - | |
| 408 | + | |
| 409 | + | |
414 | 410 | | |
415 | 411 | | |
416 | 412 | | |
| |||
0 commit comments