Attention is currently required from: pespin.
neels has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-msc/+/29695
)
Change subject: msc_a,vlr: add ciphering_required (accurately named)
......................................................................
Patch Set 1:
(1 comment)
File src/libvlr/vlr_access_req_fsm.c:
https://gerrit.osmocom.org/c/osmo-msc/+/29695/comment/c755ddfa_44b9aee2
PS1, Line 662: par->try_ciphering = try_ciphering;
did you think about adding a check for
"(!try_ciphering && ciphering_required)" ? Because if you get […]
it can never happen, see the callers in gsm_04_08.c. But i can add an assert.
in general, we don't assert / guard against everything in non-public API, otherwise we
would have e.g. assertions for non-NULL pointers absolutely everywhere.
it makes sense to not clutter the code with code paths that can never happen.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-msc/+/29695
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I52090c5f5db997030da7c2ed9beca9c51f55f4cf
Gerrit-Change-Number: 29695
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: msuraev <msuraev(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 26 Oct 2022 16:03:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment