summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2019-04-03 15:45:37 +0100
committerinsomniac <insomniacslk@users.noreply.github.com>2019-04-03 16:22:26 +0100
commit625d653f51917b167cc2e53ef8fe595e85dd5fa4 (patch)
tree4e1c9bc4e54e6fa5468947d2e8d74caa9064f83b /dhcpv4
parent68ad1959024cccdfadb67ad56a9fc86cb18854d5 (diff)
Use cancellable crypto RNG from u-root
Fixes #246 Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/dhcpv4.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/dhcpv4.go b/dhcpv4/dhcpv4.go
index 24e3ed0..5ab3561 100644
--- a/dhcpv4/dhcpv4.go
+++ b/dhcpv4/dhcpv4.go
@@ -17,7 +17,6 @@ package dhcpv4
import (
"bytes"
- "crypto/rand"
"errors"
"fmt"
"net"
@@ -26,6 +25,7 @@ import (
"github.com/insomniacslk/dhcp/iana"
"github.com/insomniacslk/dhcp/rfc1035label"
+ "github.com/u-root/u-root/pkg/rand"
"github.com/u-root/u-root/pkg/uio"
)