diff options
Diffstat (limited to 'src/lib/libcrypto/engine/eng_padlock.c')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_padlock.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libcrypto/engine/eng_padlock.c b/src/lib/libcrypto/engine/eng_padlock.c index d5d9a16bf2..c27181ba75 100644 --- a/src/lib/libcrypto/engine/eng_padlock.c +++ b/src/lib/libcrypto/engine/eng_padlock.c | |||
| @@ -1086,12 +1086,9 @@ padlock_rand_status(void) | |||
| 1086 | 1086 | ||
| 1087 | /* Prepare structure for registration */ | 1087 | /* Prepare structure for registration */ |
| 1088 | static RAND_METHOD padlock_rand = { | 1088 | static RAND_METHOD padlock_rand = { |
| 1089 | NULL, /* seed */ | 1089 | .bytes = padlock_rand_bytes, |
| 1090 | padlock_rand_bytes, /* bytes */ | 1090 | .pseudorand = padlock_rand_bytes, |
| 1091 | NULL, /* cleanup */ | 1091 | .status = padlock_rand_status |
| 1092 | NULL, /* add */ | ||
| 1093 | padlock_rand_bytes, /* pseudorand */ | ||
| 1094 | padlock_rand_status, /* rand status */ | ||
| 1095 | }; | 1092 | }; |
| 1096 | 1093 | ||
| 1097 | #else /* !COMPILE_HW_PADLOCK */ | 1094 | #else /* !COMPILE_HW_PADLOCK */ |
