CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2024/03/25 18:24:11

Modified files:
        lib/libcrypto/conf: conf_mod.c 

Log message:
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

Reply via email to