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
Make client_msg_thread() joinable.
2009-03-21
Ben
K
ibbey
Make
c
lient_msg_t
h
rea
d
() joinabl
e
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbe
y
Us
e
g
_g
e
t_home
_
dir(
)
instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben Kibbey
Removed all tcp/re
m
ote/GnuTLS support
.
Re
m
ote conne
c
tion
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
F
ix tls
.
c compil
e
-time
w
arning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
D
ont l
i
nk with -lrt or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
bb
e
y
Removed acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Che
c
k
for EDEADLK in MUTEX_UNLOCK
.
I
t
can
be i
g
nored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Wait for thr
e
ad TID events
which
a
re triggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Catch SIGABRT, but no
t
SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibb
e
y
C
h
e
c
k the return value from p
t
h
_
spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Minor clean
u
ps
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use
t
hread-safe libgcrypt an
d
l
i
bgpg-
e
rror
func
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont write a log m
e
ssage in MU
T
EX_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Use MUTEX_
T
RYLOCK everywhere STATUS_LOCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixed unlock_fi
l
e_mutex()
releasi
n
g
the u
n
locke
d
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
check th
e
return
o
f
pth_mutex_acquire
and pth_mute
x
_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
K
i
bbey
sq
u
ash before commiting
to
mas
t
er
.
this is th
e
ini
t
ial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
U
s
e "git log" not "g
i
t-log" in the M
a
ke
f
i
le 'c
h
angelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
e
n Kibbey
Added O
P
T
ION
LC_
C
TYPE and OP
T
I
ON LC_MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
Fixed a typo in the previ
o
us co
m
mit
.
Des
t
roy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibb
e
y
Fixed keepalive_thread(
)
to use
a
local
condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ib
b
e
y
Fixed aborting
t
he conne
c
t
ion when the conf
i
gured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbe
y
Moved
c
lien
t
_msg_
t
hre
a
d() a
n
d client_m
s
g_s
e
nder_thr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created
s
tatus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
A
f
ter sending a
statu
s
message to send_s
t
atus()
,
crea
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remove
t
he e
x
iting cl
i
ent
f
rom t
h
e clie
n
t list as soo
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
i
b
bey
Minor cleanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Lo
c
k the rcfile_mutex a
t
ea
c
h
k
eyfi
l
e
h access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Do
n
'
t
loc
k
the cn_mutex before cancelling the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix for the previous
c
ommit th
a
t
wouldn
'
t
terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Use
a l
o
cal mute
x
in
c
li
e
nt_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
U
s
e
a
gof
f
set r
a
the
r
t
han gsize for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
Fixed
s
tatus mes
s
ages to use the new iteration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data file
p
ortability between vario
u
s systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few more pthrea
d
_testcancel
(
)'
s
.
Should be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Ki
b
bey
Thre
a
d canc
e
l
l
a
t
i
o
n tests in
d
o_compress(
)
a
nd do_decompres
s
(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kibbey
Don't send status messa
g
es to
c
l
i
ents that a
r
e exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault w
i
th the SAVE
c
omma
n
d
when us
e
d with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Kibbey
Mo
r
e thread ca
n
celation
t
ests an
d
handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Crea
t
e
a mut
e
x
f
or
t
he custom m
e
m
o
r
y
func
t
ions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben K
i
bbey
Create
a
new threa
d
w
hen re
l
o
a
d
i
ng the
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More threa
d
cancellation tests
(
m
o
re to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple more thre
a
d cancel
l
ation
tes
t
s and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbey
If the clie
n
t thr
e
ad
terminate
s
while a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Setu
p
a
cleanup h
a
n
dler in iterate_crypto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Ki
b
bey
When enc
r
y
p
t
i
n
g
/
dec
r
ypting, don't
d
o the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
I
n
cleanup_cb(), don't fre
e
cn->name until eve
r
ything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Better m
u
t
e
x lo
c
king and
u
n
locking m
a
cros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Up
d
ate the mtime in do_x
m
l
_
encrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
cry
p
to
-
>i
n
buf i
s
set
to the
d
at
a
to
enc
r
ypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Ki
b
bey
U
se gcr
y
_
.
.
.
memory fu
n
ctions in
do_compr
e
ss(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en
Kibbey
Retur
n
GPG_ER
R
_EN
O
ANO if the data file
i
s not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
couple min
o
r
c
a
che
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed p
o
te
n
tially not
f
ree
i
ng
all
c
ache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed status messages send with send_statu
s
_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed tls_init()
n
o
t in
i
tializing the SHA-1 h
a
sh size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Initialize libgc
r
ypt properl
y
by c
a
lli
n
g
g
cry_chec
k
_ver
s
ion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Move initTlsParams() and deinitTlsPar
a
ms
(
) to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
ey
Added option
"
tcp_use
_
c
r
l"
.
Wh
e
n TR
U
E, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Set the sig
n
al mask befo
r
e oth
e
r thr
e
ads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't
try
and link with
-
lrt on systems oth
e
r tha
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixed a c
o
mpile time e
r
ror on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compile time wa
r
ning on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Remove old
< v1
.
11 comma
n
d line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
U
s
e P
T
HREAD_MUTEX_RECURSIV
E
not PTHREAD_MUTEX_RE
C
URSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Fixed
som
e
comple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Re
s
tore client->has_l
o
ck in clean
u
p_clien
t
()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Use a structure in file_cach
e
_t
t
o
h
old the file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Th
e
client
m
u
s
t explicitl
y
set OPTI
O
N PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't wr
i
te a log message when the cache mutex i
s
locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Really fix commi
t
a
7
e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Revert "Fix fo
r
com
m
it a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Fix f
o
r commit a7e
1
5f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Rest
a
rt t
h
e keepalive_thread() aft
e
r receivin
g
SIGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
K
ibbey
S
t
op ac
c
epting TCP co
n
n
ectio
n
s when shutting down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG
is defined th
e
n s
e
t
the
x
.
.
.
de/all
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
Use an
SHA-1 fingerprint rathe
r
than M
D
5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Fixed
a se
g
fault wh
e
n TLS failed
n
egotiati
o
n
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
C
r
eate
t
he client_
m
sg_thread
and clien
t
_
msg_sender
_
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Only a
p
pend un
i
que status mess
a
g
e
s to the
m
essage queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
If t
h
e curren
t
t
hread is calling s
e
n
d
_st
a
tus
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Make sure the msg mutex i
s
unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
Create a message queu
e
t
h
at won't block
s
e
n
d_status_a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Po
r
ted to
p
thread
.
cache_mutex
a
nd
c
n
_mutex are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben
Kibbey
SIGHUP wil
l
s
top or
s
tart the
tcp_accept_
t
h
r
ead(
)
depe
n
din
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Ki
b
bey
Updated the copyright head
e
rs for
2
009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
Fixed a pinentry segfault (hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow oth
e
r char
a
cters in th
e
filename when
u
s
i
ng
GETC
O
NFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved
COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
i
b
bey
Return GP
G
_ERR_NO_VA
L
U
E
in
s
tea
d
o
f
a
syntax erro
r
from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbe
y
Re-a
d
d
.
flags to the
new v2 file heade
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixed a me
m
ory leak in pi
n
entry_it
e
rate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed starting up
withou
t
an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Warn about err
o
rs opening
a
key_fi
l
e
while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
c
lear_cach
e
() c
l
earing all cache entr
i
es
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n Kibbey
Fixed a memo
r
y le
a
k create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
Fixed asking for a p
a
ss
p
hrase after opening a new
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bbe
y
F
ixed cl
o
sing the wrong FD in cleanup_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed
SAVE with
a
passp
h
r
a
s
e
specif
i
ed i
n
the command
.
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
C
l
ose the cipher h
a
ndle in c
r
ypto_cleanu
p
();
commit
|
commitdiff
|
tree
next