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 |
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*/;