- still need to actually test these
Details
Details
- Reviewers
cem jmg - Commits
- rS368008: Remove uses of CRIOGET in OCF tests after r368005.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
tools/tools/crypto/cryptokeytest.c | ||
---|---|---|
116 ↗ | (On Diff #79977) | We leak the fd now. |
tools/tools/crypto/cryptokeytest.c | ||
---|---|---|
116 ↗ | (On Diff #79977) | devcrypto() allocates a single static fd for /dev/crypto that it leaks until process exit by design. This just reuses that. I went for a smaller diff than replacing ioctl() calls, though perhaps there is only one ioctl() call so just using devcrypto() directly for the ioctl() would have been fine. |
tools/tools/crypto/cryptokeytest.c | ||
---|---|---|
116 ↗ | (On Diff #79977) | Sorry, I missed that devcrypto() caches the open fd. I thought we were opening /dev/crypto anew upon each call. |