Commit 7bb2d48
committed
openssl: Fix error propagation in csr exports
If the print fails, then the write is still executed, resulting in a
partial export without any way of the user knowing this happened.
Fix this by only returning true if all writes succeed.1 parent 35d98cb commit 7bb2d48
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3179 | 3179 | | |
3180 | 3180 | | |
3181 | 3181 | | |
| 3182 | + | |
3182 | 3183 | | |
3183 | | - | |
3184 | | - | |
| 3184 | + | |
3185 | 3185 | | |
3186 | 3186 | | |
3187 | 3187 | | |
| |||
3230 | 3230 | | |
3231 | 3231 | | |
3232 | 3232 | | |
3233 | | - | |
3234 | | - | |
3235 | | - | |
| 3233 | + | |
3236 | 3234 | | |
3237 | 3235 | | |
3238 | 3236 | | |
| |||
0 commit comments