repo.or.cz
/
pwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Create a mutex for the custom memory functions. Fixes list corruption.
2009-01-28
Ben Kibbey
Create a m
u
tex for the custom
memo
r
y fun
c
ti
o
ns
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a new thread
when reloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
en
K
i
b
bey
More thread
cance
l
la
t
ion tests (more t
o
come) and
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
K
ibbey
A
cou
p
le mor
e
thread
c
ancellatio
n
tests and
c
l
e
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the client thread terminates whi
l
e a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cleanup hand
l
er in ite
r
ate_crypto_onc
e
(
)
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encry
p
tin
g
/decrypting
,
d
on't do the w
h
ole
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
I
n
cleanup_cb(), don't free cn->name until
everythin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Better
mute
x
locking
and u
n
locking mac
r
os
.
Usefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
b
ey
Update the mtime in do_xml_encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
crypto->inbuf is set to the
data to e
n
crypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kib
b
ey
Use gcry_
.
.
.
memory fu
n
ctions in do_compress(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibb
e
y
Retu
r
n GPG_ERR_ENO
A
N
O
if t
h
e data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbe
y
A
c
ouple minor
c
ach
e
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed potentially not
freeing all
c
ache entries
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
status messages
s
e
n
d with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixed
t
l
s
_init() not initial
i
zing
t
h
e SHA-1 hash
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initialize libgcrypt properly
by calling gcry
_
check_
v
ersion
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTl
s
Params() and
d
e
i
nitTlsPar
a
ms() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
e
y
Added op
t
ion "tcp
_
use_c
r
l"
.
When TRUE, ~/
.
p
w
m
d/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the signal
m
ask
b
e
f
ore other th
r
eads are create
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
D
on't
t
ry a
n
d
lin
k
with -lrt on systems
o
ther t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbe
y
Fixed a compile t
i
me error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fi
x
ed a compi
l
e time warning on Fre
e
BSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Remo
v
e ol
d
< v
1
.
11 c
o
mmand line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX
_
RECURSIV
E
not
P
T
H
READ_MUTEX_RECURSIVE_N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixe
d
some com
p
le time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore cl
i
ent->has_lock in clean
u
p_client
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Use a struc
t
ure in file
_
c
ac
h
e_t to h
o
ld the fi
l
e
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
T
h
e
cl
i
ent must exp
l
icitly set OP
T
IO
N
PIN
E
NTRY if
th
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbe
y
D
o
n
'
t w
r
ite
a
log messag
e
when the cache m
u
tex is loc
k
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kib
b
ey
Re
a
lly fix c
o
mm
i
t a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Reve
r
t "Fix for c
o
mmit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Fix for c
o
mmit a7
e
15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
b
b
e
y
Restart
the keep
a
live_thread() after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
Stop a
c
ce
p
ting
TCP conn
e
ctions whe
n
shut
t
ing down
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kibbey
If MEM_
D
EB
U
G is defined then set th
e
x
.
.
.
de/
a
l
l
ocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Us
e
a
n
SHA-1 fingerp
r
int ra
t
h
e
r than M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Fixed a
seg
f
ault
w
hen
TLS failed
ne
g
otiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the
client_msg
_
thread and cl
i
e
nt_m
s
g_sen
d
er_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
On
l
y append unique status m
e
ss
a
ges to the message que
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
I
f
the cu
r
r
e
nt thread
i
s
call
i
n
g
send_status_al
l
()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
M
a
ke sure t
h
e msg mutex is u
n
locked
b
ef
o
r
e
tr
y
in
g
to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Creat
e
a message queue that won't
b
lock send_status_
a
ll
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kib
b
ey
Ported to pthread
.
cache_mutex
and cn_mutex are
n
ow
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP w
i
ll stop or
start the tc
p
_acc
e
p
t
_t
h
read
(
) depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updat
e
d the copyright he
a
ders
f
o
r 20
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Fixed a pi
n
e
ntry segfault
(hop
e
f
u
lly) dur
i
ng
cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibb
e
y
A
l
l
ow other character
s
in the
f
il
e
name when using
GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibb
e
y
Moved COM
M
ANDS
t
o doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbe
y
Ret
u
rn G
P
G_
E
RR_NO
_
VALUE instead o
f
a syntax error
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
R
e
-add
.
flags to the
n
ew v2 file he
a
der
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
K
ibbey
Fix
e
d a memory
leak in p
i
nent
r
y_iterate(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fi
x
ed sta
r
ting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kib
b
e
y
Warn abou
t
er
r
or
s
openin
g
a key_file while parsin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Fix
e
d clear_ca
c
he() clearing all ca
c
he entries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed a
m
emo
r
y leak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
xed aski
n
g for a pa
s
s
p
hra
s
e
after opening
a
ne
w
f
i
le
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibbey
Fixe
d
closing the wr
o
ng FD in cle
a
nup_cryp
t
o()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
K
ibb
e
y
Fixed SA
V
E with a passphrase specified i
n
the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Ki
b
bey
C
l
ose the c
i
p
h
e
r
handle in crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some
compi
l
e
-
time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The
"
dis
a
bl
e
_list
_
and_dump" configuration
p
arame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
When im
p
o
r
ting, converting and pushing files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
e
n Kibb
e
y
Some code rearrangements
.
Gettin
g
ready to fix
freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show th
e
output
f
ilena
m
e and not stdout in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbe
y
Fi
x
ed a memory leak
i
n do_c
a
c
he_pu
s
h()
.
The doc
u
ment
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Hand
l
e
STATUS_COMPRESS/DE
C
OMPRESS/ENCRYP
T
/DE
C
RYPT
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Fixed th
e
p
i
nentry dial
o
g showing the
wr
o
ng fil
e
name
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibb
e
y
Fixed
f
reei
n
g
"tcp_wait" in
tcp
_
accep
t
_thread() before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Added
configuration
parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check the return va
l
ue o
f
p
t
h_spawn(
)
.
commit
|
commitdiff
|
tree
2008-12-19
Ben
K
ibb
e
y
Up
d
ated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kib
b
ey
Use send
_
st
a
tus()
f
r
o
m CACHE_LOC
K
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the
t
hread name fo
r
other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Remove
d
the unused file header va
r
iabl
e
s
.
T
hey can
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allo
w
"
G
E
T
C
O
NFI
G
k
ey
"
and "GET
C
ONFIG key_file"
.
commit
|
commitdiff
|
tree
2008-12-13
B
e
n Kibbey
Added co
m
mand VER
S
ION to
r
eturn
the ve
r
sion strin
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
K
ibbey
Set the client F
D
to n
o
n-
b
l
o
cking in the BYE not
i
fi
e
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
en Kibbe
y
When "
k
ey_file"
is specified i
n
the configuratio
n
and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben K
i
bbey
Re
t
urn a
gbo
o
lean from
v
alidate_a
c
cess()
.
commit
|
commitdiff
|
tree
2008-11-22
Be
n
Kibbey
Merge
branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
se
a
tem
p
o
r
ary
variable
in
r
el
o
ad_rcfile() in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibb
e
y
WITH_G
N
UTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
bey
Revert "S
e
t
the client
s
ocket file descriptor to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for commit 8f85846
.
Show the
a
c
t
ual
er
r
or d
e
scriptio
n
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use _SC_
P
AGESIZE as t
h
e size a
r
gu
m
ent to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
R
e
vert "Fix
e
d a l
e
ak in cache_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Fi
x
ed a le
a
k
in cache_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibb
e
y
Redi
d
the
f
ile cache to us
e
a GSList
(singular li
n
ked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
K
ibbey
M
oved rea
d
_hook()
a
nd w
r
ite_hook() to tls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
i
bbey
Use log_write()
i
n
stead
of w
a
rn[x]
and
fprintf(
s
td
e
rr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben
K
ibbey
Let the
"key_file" configuration parameter w
o
rk wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
R
evert "Fi
x
ed
OPEN and SAVE to use t
h
e "key_
f
ile" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
Kibbey
Revert "Added
O
PTION KEYFILE
.
Setti
n
g t
o
0 will disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
K
ib
b
ey
Added OPTION
K
E
Y
FILE
.
Sett
i
ng to 0 will disable trying
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
F
ixed OPEN and SAV
E
to
u
se
t
he "key_file" if specified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
en Kibbey
Let -
C
u
se a keyfi
l
e with -k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbey
Fixed a
couple o
f
mi
n
or memory leaks
.
commit
|
commitdiff
|
tree
2008-11-15
Be
n
Kibbey
Added configuration option
"
t
c
p_wait"
.
Sets
t
he t
i
me
.
.
.
commit
|
commitdiff
|
tree
next