Commit 441f975
committed
Coverity: 'Constant' variable guards dead code
1. Remove the default password from the wolfSSH client app main
function. It isn't set to anything. (It was originally an example
client option.)
2. Remove handling the default password from the wolfSSH client app's
user authentication callback.
3. Set the password size directly.
4. Changed a void typecast to WOLFSSH_UNUSED.
Fixes CID: 5728981 parent 538ae15 commit 441f975
2 files changed
Lines changed: 19 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
| 503 | + | |
502 | 504 | | |
503 | 505 | | |
504 | 506 | | |
| |||
538 | 540 | | |
539 | 541 | | |
540 | 542 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
547 | 549 | | |
548 | 550 | | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
567 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
568 | 560 | | |
569 | 561 | | |
570 | 562 | | |
571 | | - | |
| 563 | + | |
| 564 | + | |
572 | 565 | | |
573 | 566 | | |
574 | 567 | | |
| |||
743 | 736 | | |
744 | 737 | | |
745 | 738 | | |
746 | | - | |
| 739 | + | |
747 | 740 | | |
748 | 741 | | |
749 | 742 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
904 | 903 | | |
905 | 904 | | |
906 | 905 | | |
| |||
976 | 975 | | |
977 | 976 | | |
978 | 977 | | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | 978 | | |
983 | 979 | | |
984 | 980 | | |
| |||
0 commit comments