summaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf_lib.c
AgeCommit message (Collapse)Author
2001-02-06Avoid coredumps for CONF_get_...(NULL, ...)Bodo Möller
2000-10-27Fix from main trunk, 2000-10-13 10:30 levitte:Richard Levitte
Make the new conf implementatoin bug-compatible with the old one. Actually, it's a feature that it goes looking at environment variables. It's just a pity that it's at the cost of the error checking... I'll see if I can come up with a better interface for this. Fix from main trunk, 2000-10-16 15:08 ben: Always return a value.
2000-04-26Use CONFerr, not RSAerr, in the conf library...Richard Levitte
2000-04-09I've always wanted to make the CONF library more adaptable. Here'sRichard Levitte
the result. I have retained the old behavior of the CONF_* functions, and have added a more "object oriented" interface through NCONF_* functions (New CONF, you see :-)), working the same way as, for example, the BIO interface. Really, the CONF_* are rewritten so they use the NCONF_* functions internally. In addition to that, I've split the old conf.c code into two files, conf_def.c and conf_api.c. conf_def.c contains the default config object that reads a configuration file the standard OpenSSL way, as well as configuration file with Win32 registry file syntax (I'm not sure I got that one right). conf_api.c provides an API to build other configuration file readers around (can you see a configuraion file in XML? I can :-)). Finally, I've changed the name conf_lcl.h to conf_def.h, since it's made specifically for that "class" and none others.