diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-09-23 12:27:23 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-09-23 12:32:07 +0200 |
commit | 7ee95a3809aab3152837ceb5ffcd001ee9e83fde (patch) | |
tree | 506d539e05267f1e15d89da3f0a930e92dd879b1 /src/lib/tpm.c | |
parent | 17ab2b6d6bc95337d5fd54e058c0822260dbacf1 (diff) | |
download | ouroboros-7ee95a3809aab3152837ceb5ffcd001ee9e83fde.tar.gz ouroboros-7ee95a3809aab3152837ceb5ffcd001ee9e83fde.zip |
lib: Clean up bitmap implementation
There was a return -1 in the allocate call which is unsafe since -1
may be a valid id in the bitmap. Since it's a data structure for
internal use, I replaced the NULL checks with assertions.
Diffstat (limited to 'src/lib/tpm.c')
0 files changed, 0 insertions, 0 deletions