Commit 77ac962
crypto: simplify state failure handling
It is more intuitive to return true/false instead of undefined/false
and also simplifies handling in the JS layer.
PR-URL: #22131
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>1 parent 7e29453 commit 77ac962
2 files changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 203 | + | |
207 | 204 | | |
208 | 205 | | |
209 | 206 | | |
| |||
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
219 | | - | |
| 216 | + | |
220 | 217 | | |
221 | 218 | | |
222 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2939 | 2939 | | |
2940 | 2940 | | |
2941 | 2941 | | |
| 2942 | + | |
| 2943 | + | |
2942 | 2944 | | |
2943 | 2945 | | |
2944 | 2946 | | |
| |||
2993 | 2995 | | |
2994 | 2996 | | |
2995 | 2997 | | |
2996 | | - | |
2997 | | - | |
2998 | | - | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
2999 | 3001 | | |
3000 | 3002 | | |
3001 | 3003 | | |
| |||
3107 | 3109 | | |
3108 | 3110 | | |
3109 | 3111 | | |
3110 | | - | |
3111 | | - | |
| 3112 | + | |
| 3113 | + | |
3112 | 3114 | | |
3113 | 3115 | | |
3114 | 3116 | | |
| |||
0 commit comments