Commit e438131
committed
EVP_Cipher: correct parameter checking
EVP_Cipher(ctx, NULL, NULL, 0) is a valid call for all algorithms. For none-AEAD it results in a no-op.1 parent ac81d9d commit e438131
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8118 | 8118 | | |
8119 | 8119 | | |
8120 | 8120 | | |
8121 | | - | |
8122 | | - | |
| 8121 | + | |
| 8122 | + | |
| 8123 | + | |
| 8124 | + | |
| 8125 | + | |
| 8126 | + | |
8123 | 8127 | | |
8124 | 8128 | | |
8125 | 8129 | | |
| |||
8141 | 8145 | | |
8142 | 8146 | | |
8143 | 8147 | | |
8144 | | - | |
8145 | | - | |
8146 | | - | |
| 8148 | + | |
| 8149 | + | |
| 8150 | + | |
| 8151 | + | |
| 8152 | + | |
| 8153 | + | |
| 8154 | + | |
| 8155 | + | |
| 8156 | + | |
8147 | 8157 | | |
8148 | 8158 | | |
8149 | 8159 | | |
| |||
0 commit comments