The Base64 functions that used to produce garbage no longer do

This commit is contained in:
Sei Lisa 2021-03-21 19:05:37 +01:00
parent b6a5e01ed4
commit 53e8bd659a
6 changed files with 35 additions and 30 deletions

View file

@ -0,0 +1,13 @@
// Some Base64 functions used to return garbage, now they no longer do
default
{
timer()
{
llSetPrimitiveParams( // we need a function that causes side effects,
// so that it isn't optimized out
[ llXorBase64StringsCorrect("++++", "?")
, llXorBase64("++++", "?")
, llBase64ToInteger("ABC")
]);
}
}