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.
This commit is contained in:
Sei Lisa 2023-07-15 11:08:41 +02:00
parent 152ede8cd0
commit ea2518b37d

View file

@ -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