Commit 2f609c5
tlshd: fix a regression for certificate verification
Commit b010190 left session_status unset for
GNUTLS_E_CERTIFICATE_VERIFICATION_ERROR. Fix this by always setting
EACCESS in the error handling switch statement.
Fixes: b010190 ("tlshd: Pass ETIMEDOUT from gnutls to kernel")
Closes: #98
Signed-off-by: Benjamin Coddington <[email protected]>1 parent 1152ef7 commit 2f609c5
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments