Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=18751 Move prng.c to libcfs
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_krb5_mech.c
diff --git
a/lustre/ptlrpc/gss/gss_krb5_mech.c
b/lustre/ptlrpc/gss/gss_krb5_mech.c
index
9148f71
..
4b7900f
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_krb5_mech.c
+++ b/
lustre/ptlrpc/gss/gss_krb5_mech.c
@@
-57,7
+57,6
@@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/crypto.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/crypto.h>
-#include <linux/random.h>
#include <linux/mutex.h>
#else
#include <liblustre.h>
#include <linux/mutex.h>
#else
#include <liblustre.h>
@@
-1248,7
+1247,7
@@
__u32 gss_wrap_kerberos(struct gss_ctx *gctx,
fill_krb5_header(kctx, khdr, 1);
/* generate confounder */
fill_krb5_header(kctx, khdr, 1);
/* generate confounder */
-
ll
_get_random_bytes(conf, ke->ke_conf_size);
+
cfs
_get_random_bytes(conf, ke->ke_conf_size);
/* get encryption blocksize. note kc_keye might not associated with
* a tfm, currently only for arcfour-hmac */
/* get encryption blocksize. note kc_keye might not associated with
* a tfm, currently only for arcfour-hmac */
@@
-1418,7
+1417,7
@@
__u32 gss_wrap_bulk_kerberos(struct gss_ctx *gctx,
fill_krb5_header(kctx, khdr, 1);
/* generate confounder */
fill_krb5_header(kctx, khdr, 1);
/* generate confounder */
-
ll
_get_random_bytes(conf, ke->ke_conf_size);
+
cfs
_get_random_bytes(conf, ke->ke_conf_size);
/* get encryption blocksize. note kc_keye might not associated with
* a tfm, currently only for arcfour-hmac */
/* get encryption blocksize. note kc_keye might not associated with
* a tfm, currently only for arcfour-hmac */