summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-07-22 01:09:52 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-07-22 12:07:13 +0100
commit3770b877ea7b7fa08e88395e8c472c102f9e707e (patch)
tree1513f29f2c5b7d370f43bc58a2ae3bf576aa8558 /apps
parentee8f785873232583114981b5b44c64826b52116e (diff)
Add mask for newly created symlink.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/rehash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/rehash.c b/apps/rehash.c
index 443c15e13c..aacb169198 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -366,6 +366,7 @@ static int do_dir(const char *dirname, enum Hash h)
strerror(errno));
errs++;
}
+ bit_set(idmask, nextid);
} else if (remove_links) {
/* Link to be deleted */
snprintf(buf, buflen, "%s%s%n%08x.%s%d",