summaryrefslogtreecommitdiff
path: root/third_party/srtp/crypto/test/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/srtp/crypto/test/env.c')
-rw-r--r--third_party/srtp/crypto/test/env.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/srtp/crypto/test/env.c b/third_party/srtp/crypto/test/env.c
index 37a6e273..6cc0f958 100644
--- a/third_party/srtp/crypto/test/env.c
+++ b/third_party/srtp/crypto/test/env.c
@@ -49,7 +49,9 @@
int
main(void) {
int err_count = 0;
+#ifndef OPENSSL
char *str;
+#endif
#ifdef WORDS_BIGENDIAN
printf("CPU set to big-endian\t\t\t(WORDS_BIGENDIAN == 1)\n");
@@ -80,6 +82,7 @@ main(void) {
printf("using stdout for error reporting\t(ERR_REPORTING_STDOUT == 1)\n");
#endif
+#ifndef OPENSSL
#ifdef DEV_URANDOM
str = DEV_URANDOM;
#else
@@ -90,6 +93,7 @@ main(void) {
if (strcmp("", str) == 0) {
err_count++;
}
+#endif
if (err_count)
printf("warning: configuration is probably in error "