]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
sizeof(struct) not sizeof(struct *). CID #1433559
authorAlan T. DeKok <aland@freeradius.org>
Thu, 5 Apr 2018 12:29:57 +0000 (08:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 5 Apr 2018 12:30:31 +0000 (08:30 -0400)
src/modules/rlm_cipher/rlm_cipher.c

index fb563d9b7862df9093f4a034b94a2821a9318b16..7d066452168ba564d10c1b90eb0e772280809c22 100644 (file)
@@ -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);