]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
NYI
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 28 Aug 2024 16:56:35 +0000 (11:56 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 28 Aug 2024 16:56:35 +0000 (11:56 -0500)
src/modules/rlm_cipher/rlm_cipher.c

index 24fda7f2b4c129a7972d2c54a18bfad00e0745ba..a52342ae064d5cb11584f142829f22f6d1471149 100644 (file)
@@ -318,6 +318,7 @@ static int cipher_type_parse(UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *par
        case RLM_CIPHER_TYPE_RSA:
                break;
 
+       case RLM_CIPHER_TYPE_SYMMETRIC:
        case RLM_CIPHER_TYPE_INVALID:
                cf_log_err(ci, "Invalid cipher type \"%s\"", type_str);
                return -1;
@@ -1258,6 +1259,7 @@ static int mod_thread_instantiate(module_thread_inst_ctx_t const *mctx)
                talloc_set_type(mctx->thread, rlm_cipher_rsa_thread_inst_t);
                return cipher_rsa_thread_instantiate(mctx);
 
+       case RLM_CIPHER_TYPE_SYMMETRIC:
        case RLM_CIPHER_TYPE_INVALID:
                fr_assert(0);
        }