summaryrefslogtreecommitdiffstats
path: root/apps/app_rand.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-07-17 11:05:13 +1000
committerPauli <paul.dale@oracle.com>2017-07-17 11:24:08 +1000
commitf1b8b0010a5cdd76d1284ea47e9b5995dcd6f089 (patch)
tree41008f7bbc1f85f7393e6eaf7311eadf3fbdeac1 /apps/app_rand.c
parent3ee1eac27a2e3120fbdc60e12db091c082b8de21 (diff)
Fix some pedantic warnings.
Introduced by #3862 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3944)
Diffstat (limited to 'apps/app_rand.c')
-rw-r--r--apps/app_rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_rand.c b/apps/app_rand.c
index 960d2fe6c6..3a05352f9f 100644
--- a/apps/app_rand.c
+++ b/apps/app_rand.c
@@ -9,6 +9,7 @@
#include "apps.h"
#include <openssl/bio.h>
+#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/conf.h>
@@ -33,7 +34,7 @@ void app_RAND_load_conf(CONF *c, const char *section)
static int loadfiles(char *name)
{
- char *p, *n;
+ char *p;
int last, ret = 1;
for ( ; ; ) {
@@ -48,7 +49,6 @@ static int loadfiles(char *name)
ERR_print_errors(bio_err);
ret = 0;
}
- n = name;
if (last)
break;
name = p + 1;