This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21042 )
Change subject: library/L3_Common: use f_rnd_oct() from Osmocom_Types
......................................................................
library/L3_Common: use f_rnd_oct() from Osmocom_Types
Change-Id: Iad46c3ab25244389a2a536065653c7ed231d1234
---
M library/L3_Common.ttcn
1 file changed, 0 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/42/21042/1
diff --git a/library/L3_Common.ttcn b/library/L3_Common.ttcn
index 0a80593..d52870e 100644
--- a/library/L3_Common.ttcn
+++ b/library/L3_Common.ttcn
@@ -29,15 +29,6 @@
OCT14 auts
}
-private function f_rnd_oct(integer len) return octetstring {
- var integer i;
- var octetstring res;
- for (i := 0; i < len; i := i + 1) {
- res[i] := int2oct(float2int(rnd()*256.0), 1);
- }
- return res;
-}
-
function f_gen_auth_vec_2g() return AuthVector {
var AuthVector vec;
vec.rand := f_rnd_oct(16);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21042
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iad46c3ab25244389a2a536065653c7ed231d1234
Gerrit-Change-Number: 21042
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201104/8aa8e4ca/attachment.htm>