diff mbox series

[CATERPILLAR,v1,1/1] odp_crypto (dpdk): RAND_pseudo_bytes is deprecated

Message ID 1516975207-22132-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [CATERPILLAR,v1,1/1] odp_crypto (dpdk): RAND_pseudo_bytes is deprecated | expand

Commit Message

Github ODP bot Jan. 26, 2018, 2 p.m. UTC
From: Josep Puigdemont <josep.puigdemont@linaro.org>


Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>

---
/** Email created from pull request 432 (joseppc:fix-dpdk-deprecated)
 ** https://github.com/Linaro/odp/pull/432
 ** Patch: https://github.com/Linaro/odp/pull/432.patch
 ** Base sha: 993e0cf7d033d25eac5113462b66c66a5bb6b737
 ** Merge commit sha: 45105f163f2e7ca3c039d756fb3942d98216390c
 **/
 platform/linux-dpdk/odp_crypto.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-dpdk/odp_crypto.c b/platform/linux-dpdk/odp_crypto.c
index 6bffa1124..354c715cb 100644
--- a/platform/linux-dpdk/odp_crypto.c
+++ b/platform/linux-dpdk/odp_crypto.c
@@ -1134,9 +1134,6 @@  int32_t odp_random_data(uint8_t *buf, uint32_t len, odp_random_kind_t kind)
 
 	switch (kind) {
 	case ODP_RANDOM_BASIC:
-		RAND_pseudo_bytes(buf, len);
-		return len;
-
 	case ODP_RANDOM_CRYPTO:
 		rc = RAND_bytes(buf, len);
 		return (1 == rc) ? (int)len /*success*/: -1 /*failure*/;