Commit d62acdc
committed
bugfix: sslhandshake read error details on immediate FFI_ERROR
With the C side now returning FFI_ERROR instead of FFI_OK when
u->error_ret is set after an immediate handshake, the early FFI_OK
path is removed. Added get_sslhandshake_result() in the FFI_ERROR
branch so errmsg and openssl_error_code are populated when the
error comes from the first call rather than from an async resume.1 parent e68e857 commit d62acdc
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | 427 | | |
437 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
438 | 432 | | |
439 | 433 | | |
440 | 434 | | |
| |||
0 commit comments