diff options
author | tb <> | 2024-03-26 00:24:11 +0000 |
---|---|---|
committer | tb <> | 2024-03-26 00:24:11 +0000 |
commit | 524d4c4cfbabb48b87f3e55e544ecee35b5b6539 (patch) | |
tree | 9206263e9d30ccb31454e0d0f5967eaedef6d7a9 /src/lib/libcrypto/ts | |
parent | e00adf12955fdea439af1b8b891281599923a63d (diff) | |
download | openbsd-524d4c4cfbabb48b87f3e55e544ecee35b5b6539.tar.gz openbsd-524d4c4cfbabb48b87f3e55e544ecee35b5b6539.tar.bz2 openbsd-524d4c4cfbabb48b87f3e55e544ecee35b5b6539.zip |
Clean up conf's module_init()
Immediately error out when no name or value is passed instead of hiding
this in a a combination of ternary operator and strdup error check.
Use calloc(). Unindent some stupid, don't pretend this function can return
anything but -1 and 1, turn the whole thing into single exit and call the
now existing imodule_free() instead of handrolling it.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ts')
0 files changed, 0 insertions, 0 deletions