Repository navigation
Commit df87734
committed
pkcs11_store: ignore a close without an open
wolfPKCS11 2.2.0 and earlier close a data record even when opening it
failed, and pass NULL. wolfPKCS11_Store_CloseCommit(), which
wolfPKCS11_Store_Close() calls, wrote through the handle and faulted.
It now returns 0 for NULL. unit-pkcs11_store covers both closes.1 parent ce85261 commit df87734
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
810 | 815 | | |
811 | 816 | | |
812 | 817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
367 | 377 | | |
368 | 378 | | |
369 | 379 | | |
| |||
1203 | 1213 | | |
1204 | 1214 | | |
1205 | 1215 | | |
| 1216 | + | |
1206 | 1217 | | |
1207 | 1218 | | |
1208 | 1219 | | |
| |||
0 commit comments