diff --git a/SYS/lhs_uuid.pbi b/SYS/lhs_uuid.pbi index 50f72a6..daa0913 100644 --- a/SYS/lhs_uuid.pbi +++ b/SYS/lhs_uuid.pbi @@ -7,7 +7,7 @@ ;* ;* Lizenz LGPL V2.1 -Enumeration WCS_UUID_Version +Enumeration UUID_Version #UUID_V1 #UUID_V2 #UUID_V3 @@ -61,14 +61,14 @@ Procedure.s CreateUUID(Type.i=#UUID_V4, String.s="") Key = AllocateMemory(16) ;Key = 0 CompilerIf #PB_Compiler_OS <> #PB_OS_Web - If WCS_UUID_CryptRandom And Key + If UUID_CryptRandom And Key CryptRandomData(Key, 16) For P_Count = 0 To 15 P_Numbers(P_Count) = PeekB(Key+P_Count) Next P_Count Else CompilerElse - If WCS_UUID_CryptRandom = 0 + If UUID_CryptRandom = 0 CompilerEndIf For P_Count = 0 To 15 P_Numbers(P_Count) = Random(255)