diff options
Diffstat (limited to 'third_party/srtp/crypto/rng')
-rw-r--r-- | third_party/srtp/crypto/rng/rand_source.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/srtp/crypto/rng/rand_source.c b/third_party/srtp/crypto/rng/rand_source.c index 9867c295..3d01d25a 100644 --- a/third_party/srtp/crypto/rng/rand_source.c +++ b/third_party/srtp/crypto/rng/rand_source.c @@ -98,10 +98,7 @@ rand_source_init(void) { dev_random_fdes = RAND_SOURCE_READY; #else /* no random source available; let the user know */
- if (stderr) - fprintf(stderr, "WARNING: no real random source present!\n");
- else
- printf("WARNING: no real random source present!\n"); + err_report(err_level_info, "WARNING: no real random source present!\n"); dev_random_fdes = RAND_SOURCE_READY; #endif return err_status_ok; |