From: Alan T. DeKok Date: Thu, 5 Apr 2018 12:29:57 +0000 (-0400) Subject: sizeof(struct) not sizeof(struct *). CID #1433559 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b3d362f4463195ccb53b1eaace37ab9bd7e528;p=thirdparty%2Ffreeradius-server.git sizeof(struct) not sizeof(struct *). CID #1433559 --- diff --git a/src/modules/rlm_cipher/rlm_cipher.c b/src/modules/rlm_cipher/rlm_cipher.c index fb563d9b786..7d066452168 100644 --- a/src/modules/rlm_cipher/rlm_cipher.c +++ b/src/modules/rlm_cipher/rlm_cipher.c @@ -1137,13 +1137,13 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf) verify_name = talloc_asprintf(inst, "%s_verify", inst->xlat_name); xlat_async_register(inst, decrypt_name, cipher_rsa_decrypt_xlat, - cipher_xlat_instantiate, rlm_cipher_t *, NULL, - cipher_xlat_thread_instantiate, rlm_cipher_rsa_thread_inst_t *, + cipher_xlat_instantiate, rlm_cipher_t, NULL, + cipher_xlat_thread_instantiate, rlm_cipher_rsa_thread_inst_t, NULL, inst); xlat_async_register(inst, verify_name, cipher_rsa_verify_xlat, - cipher_xlat_instantiate, rlm_cipher_t *, NULL, - cipher_xlat_thread_instantiate, rlm_cipher_rsa_thread_inst_t *, + cipher_xlat_instantiate, rlm_cipher_t, NULL, + cipher_xlat_thread_instantiate, rlm_cipher_rsa_thread_inst_t, NULL, inst); talloc_free(decrypt_name);