Commit a0d9aae
committed
broker: fix cert_create() error handling
Problem: in overlay_create(), all cert_create() failures are
reported as a generic ENOMEM, without calling out cert_create().
Since cert_create() sets errno, allow errno to propagate on failure.
Also add a log message indicating that cert_create() is the cause
of the failure since overlay_create() is a long function.
This problem was noted in #6151.1 parent 966cae5 commit a0d9aae
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2493 | 2493 | | |
2494 | 2494 | | |
2495 | 2495 | | |
2496 | | - | |
2497 | | - | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
2498 | 2500 | | |
2499 | 2501 | | |
2500 | 2502 | | |
| |||
0 commit comments