Skip to content

Commit

Permalink
TLS cache section names are <verb> session not session <verb>
Browse files Browse the repository at this point in the history
  • Loading branch information
ndptech committed Dec 10, 2024
1 parent b381f95 commit bbc6adf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/lib/tls/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static void tls_cache_delete_request(SSL_SESSION *sess)
if (tls_session->can_pause) ASYNC_pause_job();
}

/** Process the result of `session load { ... }`
/** Process the result of `load session { ... }`
*/
static unlang_action_t tls_cache_load_result(UNUSED rlm_rcode_t *p_result, UNUSED int *priority,
request_t *request, void *uctx)
Expand Down Expand Up @@ -397,7 +397,7 @@ static unlang_action_t tls_cache_load_result(UNUSED rlm_rcode_t *p_result, UNUSE
return UNLANG_ACTION_CALCULATE_RESULT;
}

/** Push a `session load { ... }` call into the current request, using a subrequest
/** Push a `load session { ... }` call into the current request, using a subrequest
*
* @param[in] request The current request.
* @param[in] tls_session The current TLS session.
Expand Down Expand Up @@ -448,7 +448,7 @@ static unlang_action_t tls_cache_load_push(request_t *request, fr_tls_session_t
return ua;
}

/** Process the result of `session store { ... }`
/** Process the result of `store session { ... }`
*/
static unlang_action_t tls_cache_store_result(UNUSED rlm_rcode_t *p_result, UNUSED int *priority,
request_t *request, void *uctx)
Expand All @@ -470,7 +470,7 @@ static unlang_action_t tls_cache_store_result(UNUSED rlm_rcode_t *p_result, UNUS
return UNLANG_ACTION_CALCULATE_RESULT;
}

/** Push a `session store { ... }` call into the current request, using a subrequest
/** Push a `store session { ... }` call into the current request, using a subrequest
*
* @param[in] request The current request.
* @param[in] conf TLS configuration.
Expand Down Expand Up @@ -584,7 +584,7 @@ unlang_action_t tls_cache_store_push(request_t *request, fr_tls_conf_t *conf, fr
return ua;
}

/** Process the result of `session clear { ... }`
/** Process the result of `clear session { ... }`
*/
static unlang_action_t tls_cache_clear_result(UNUSED rlm_rcode_t *p_result, UNUSED int *priority,
request_t *request, void *uctx)
Expand All @@ -606,7 +606,7 @@ static unlang_action_t tls_cache_clear_result(UNUSED rlm_rcode_t *p_result, UNUS
return UNLANG_ACTION_CALCULATE_RESULT;
}

/** Push a `session clear { ... }` call into the current request, using a subrequest
/** Push a `clear session { ... }` call into the current request, using a subrequest
*
* @param[in] request The current request.
* @param[in] conf TLS configuration.
Expand Down Expand Up @@ -657,7 +657,7 @@ unlang_action_t tls_cache_clear_push(request_t *request, fr_tls_conf_t *conf, fr
return ua;
}

/** Push a `session store { ... }` or session clear { ... }` or `session load { ... }` depending on what operations are pending
/** Push a `store session { ... }` or `clear session { ... }` or `load session { ... }` depending on what operations are pending
*
* @param[in] request The current request.
* @param[in] tls_session The current TLS session.
Expand Down

0 comments on commit bbc6adf

Please sign in to comment.