Added rand_bytes for Windows in core:crypto
This commit is contained in:
1 parent
fd415f0b45
commit
3b4199a669
2 files changed
+24
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
package crypto
|
||||
|
||||
when ODIN_OS != .Linux && ODIN_OS != .OpenBSD {
|
||||
when ODIN_OS != .Linux && ODIN_OS != .OpenBSD && ODIN_OS != .Windows {
|
||||
_rand_bytes :: proc (dst: []byte) {
|
||||
unimplemented("crypto: rand_bytes not supported on this OS")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user