Alte übnerbleibsel entfernt
This commit is contained in:
parent
d448eb2efe
commit
40b95ea03c
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue