From: tb Date: Wed, 20 Mar 2024 21:51:23 +0000 (+0000) Subject: md -> imod for CONF_IMODULEs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1d159ddebf23ab5f6523a811a93f0ad0a4c1a458;p=openbsd md -> imod for CONF_IMODULEs A CONF_IMODULE is neither an EVP_MD nor a CONF_MODULE, so call it imod instead of md or mod. --- diff --git a/lib/libcrypto/conf/conf_mod.c b/lib/libcrypto/conf/conf_mod.c index a7db5075b0a..9a0c0bb4fdd 100644 --- a/lib/libcrypto/conf/conf_mod.c +++ b/lib/libcrypto/conf/conf_mod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf_mod.c,v 1.32 2024/03/20 21:49:00 tb Exp $ */ +/* $OpenBSD: conf_mod.c,v 1.33 2024/03/20 21:51:23 tb Exp $ */ /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL * project 2001. */ @@ -432,45 +432,45 @@ CONF_modules_free(void) /* Utility functions */ const char * -CONF_imodule_get_name(const CONF_IMODULE *md) +CONF_imodule_get_name(const CONF_IMODULE *imod) { - return md->name; + return imod->name; } const char * -CONF_imodule_get_value(const CONF_IMODULE *md) +CONF_imodule_get_value(const CONF_IMODULE *imod) { - return md->value; + return imod->value; } void * -CONF_imodule_get_usr_data(const CONF_IMODULE *md) +CONF_imodule_get_usr_data(const CONF_IMODULE *imod) { - return md->usr_data; + return imod->usr_data; } void -CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data) +CONF_imodule_set_usr_data(CONF_IMODULE *imod, void *usr_data) { - md->usr_data = usr_data; + imod->usr_data = usr_data; } CONF_MODULE * -CONF_imodule_get_module(const CONF_IMODULE *md) +CONF_imodule_get_module(const CONF_IMODULE *imod) { - return md->pmod; + return imod->pmod; } unsigned long -CONF_imodule_get_flags(const CONF_IMODULE *md) +CONF_imodule_get_flags(const CONF_IMODULE *imod) { - return md->flags; + return imod->flags; } void -CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags) +CONF_imodule_set_flags(CONF_IMODULE *imod, unsigned long flags) { - md->flags = flags; + imod->flags = flags; } void *