Commit f9d6a03
committed
fix: add CFB128 and OFB cases to wolfSSL_EVP_get_cipherbynid
The iv_length test used EVP_get_cipherbynid(NID_aes_128_cfb128) which
returned NULL because the switch had no CFB128 or OFB cases, causing
a segfault in EVP_CIPHER_iv_length(NULL).1 parent 58d3d84 commit f9d6a03
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5674 | 5674 | | |
5675 | 5675 | | |
5676 | 5676 | | |
| 5677 | + | |
| 5678 | + | |
| 5679 | + | |
| 5680 | + | |
| 5681 | + | |
| 5682 | + | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
| 5686 | + | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
| 5701 | + | |
| 5702 | + | |
| 5703 | + | |
| 5704 | + | |
5677 | 5705 | | |
5678 | 5706 | | |
5679 | 5707 | | |
| |||
0 commit comments