diff options
Diffstat (limited to 'usr/src/cmd/lofiadm/main.c')
| -rw-r--r-- | usr/src/cmd/lofiadm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/lofiadm/main.c b/usr/src/cmd/lofiadm/main.c index 63dda817f6..deadd4c5d7 100644 --- a/usr/src/cmd/lofiadm/main.c +++ b/usr/src/cmd/lofiadm/main.c @@ -894,7 +894,7 @@ getkeyfromfile(const char *pathname, mech_alias_t *cipher, char **key, if (*key == NULL) die(gettext("failed to allocate memory for" " ephemeral key")); - if (pkcs11_random_data(*key, *ksz) < 0) { + if (pkcs11_get_urandom(*key, *ksz) < 0) { free(*key); die(gettext("failed to get enough random data")); } |
