From ea2518b37d875655dab96137502b26f07944dcb2 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sat, 15 Jul 2023 11:08:41 +0200 Subject: [PATCH] Add SEF condition to other functions, fix param name llSignRSA and llVerifyRSA had an algorithm parameter. Not checked, but it's presumable that an error will be emitted if the alg is not among the supported ones. --- fndata.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fndata.txt b/fndata.txt index 5e548db..481ad79 100644 --- a/fndata.txt +++ b/fndata.txt @@ -1661,15 +1661,17 @@ void llLinkSetSoundQueueing(integer link, integer queue) void llLinkSetSoundRadius(integer link, float radius) -string llHMAC(string authkey, string message, string hashalg) +string llHMAC(string authkey, string message, string alg) - SEF if alg == "md5" || alg == "sha1" || alg == "sha224" || alg == "sha256" || alg == "sha384" || alg == "sha512" # otherwise error -string llSignRSA(string privkey, string message, string hashalg) -- SEF +string llSignRSA(string privkey, string message, string alg) +- SEF if alg == "md5" || alg == "sha1" || alg == "sha224" || alg == "sha256" || alg == "sha384" || alg == "sha512" +# otherwise error -integer llVerifyRSA(string pubkey, string message, string signature, string hashalg) -- SEF +integer llVerifyRSA(string pubkey, string message, string signature, string alg) +- SEF if alg == "md5" || alg == "sha1" || alg == "sha224" || alg == "sha256" || alg == "sha384" || alg == "sha512" +# otherwise error string llReplaceSubString(string source, string search, string replace, integer count) - SEF