Skip to content

Commit e541b72

Browse files
committed
Fix more merge errors :/
1 parent 567cd52 commit e541b72

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

rpm/openli.spec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,19 @@ if [ $1 -eq 1 ]; then
127127
/usr/sbin/openli-prov-authsetup.sh ${DBPHRASE} /var/lib/openli/provauth.db
128128
echo ${DBPHRASE} > /etc/openli/provauthdb.phrase
129129
chmod 0640 /etc/openli/provauthdb.phrase
130+
fi
130131

132+
if [ ! -f /etc/openli/.intercept-encrypt ]; then
131133
# Set up password for encrypting the intercept config file
132134
s=""
133135
until s+=$(dd bs=64 count=1 if=/dev/urandom 2>/dev/null | LC_ALL=C tr -cd 'a-zA-Z0-9')
134136
((${#s} >= 32)); do :; done
135137
ENCPHRASE=${s:0:32}
136-
if [ ! -f /etc/openli/.intercept-encrypt ]; then
137-
echo ${ENCPHRASE} > /etc/openli/.intercept-encrypt
138-
chmod 0640 /etc/openli/.intercept-encrypt
139-
fi
138+
echo ${ENCPHRASE} > /etc/openli/.intercept-encrypt
139+
chmod 0640 /etc/openli/.intercept-encrypt
140+
fi
140141

141142

142-
fi
143143

144144
if [ ! -f /etc/openli/.intercept-encrypt ]; then
145145
# Set up password for encrypting the intercept config file

src/intercept.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ typedef struct ipintercept {
177177
uint32_t options;
178178
UT_hash_handle hh_liid;
179179
UT_hash_handle hh_user;
180-
UT_hash_handle hh_xid;
181180
} ipintercept_t;
182181

183182
typedef struct email_target {

0 commit comments

Comments
 (0)