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
Check for EDEADLK in MUTEX_UNLOCK. It can be ignored since EDEADLK in
2009-03-08
B
en
K
i
b
bey
C
heck for EDEADL
K
in MUTEX
_
UNL
O
C
K
.
It
can b
e
ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
W
ait for thread TID events whi
c
h
are trigger
e
d
w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Catch
SIGA
B
RT, but n
o
t SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
B
en K
i
b
bey
Check the
re
t
urn value fro
m
p
t
h_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
B
en K
i
bbey
Minor
clean
u
p
s
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Use thre
a
d-
s
afe libgcrypt a
n
d lib
g
pg
-
error
func
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Don
t
w
r
ite a log
message in
MUTEX_TRY
L
OCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Use M
U
TE
X
_
T
RYLO
C
K everywhere STATU
S
_L
O
C
K
ED
i
s sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Fixe
d
unl
o
ck
_
file_mutex() rel
e
asing the un
l
oc
k
e
d
mute
x
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbe
y
check the return of pth_mutex_acquire and
pth_mut
e
x_rele
a
se
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Ki
b
b
ey
squash before commiting to master
.
this
i
s th
e
initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
K
ibbey
Use
"
g
i
t log" not "git-log" in the Make
f
ile '
c
ha
n
g
el
o
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbe
y
Added OPTION LC_CTYPE an
d
OPTION LC_MESSAGES
.
B
oth
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed a typo
i
n the previous commit
.
De
s
t
roy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
i
xed kee
p
alive_thread()
to use a
l
ocal condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed aborti
n
g the connecti
o
n w
h
en the confi
g
ured
k
eepali
v
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved clien
t
_
msg_t
h
read() an
d
client_msg
_
sender_t
h
rea
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created st
a
tus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
ibbey
Aft
e
r sending a status message to
send_status(
)
, c
r
e
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
R
e
mo
v
e the
e
xitin
g
client
f
r
o
m
t
he client list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
K
ibbey
Minor c
l
eanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Lock
the
rcfile_mutex a
t
each keyfile
h
a
c
c
ess
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't lock the cn_mut
e
x
b
ef
o
re ca
n
c
e
lli
n
g the
client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
F
ix fo
r
th
e
p
r
evious co
m
m
it that
w
ouldn't term
i
n
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a loca
l
mutex in
c
lient_ms
g
_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goff
s
et rather than
gsize for
cr
y
pto->ins
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
Kibbey
Fi
x
ed
s
t
a
tus messages to
u
s
e the new i
t
eration
t
y
pe
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data file p
o
rtability between vario
u
s system
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
A few more pthread_tes
t
c
a
ncel()'s
.
Sho
u
ld be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
Kibbey
Thread cancellation
t
ests in
do_compress() and do_decomp
r
ess()
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Kibb
e
y
Don
'
t send
s
t
atus m
e
ssages to clients
t
hat are e
x
iting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault with the S
A
VE com
m
and when used
w
i
th
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
M
o
re thread cancelation
t
es
t
s and handl
e
rs
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
C
r
e
a
te a mutex for th
e
cu
s
tom m
e
mory
f
u
n
ctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
Create a
n
ew threa
d
when reloading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibb
e
y
More thread cancellation
t
ests (more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A
couple more thr
e
ad cancellation tests and
c
leanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If
t
he client thread t
e
rminates wh
i
l
e
a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
Setup a cleanup handler in iterate_
c
ryp
t
o_onc
e
(
)
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
When encryp
t
ing/
d
ecrypt
i
ng
,
don't do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
I
n clea
n
up_cb
(
),
don't fr
e
e
cn->na
m
e unt
i
l
e
ver
y
thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Better mutex
lo
c
k
ing and unlocki
n
g macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bbey
Upda
t
e the mtime in do_
x
ml_encry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto
-
>inbuf is set to the d
a
t
a
t
o encrypt w
h
en
p
assed
t
o
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
U
se gcry_
.
.
.
mem
o
r
y
f
u
nctions in
d
o_compres
s
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG_ER
R
_E
N
OANO if the data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
A
c
o
uple minor
c
ache
.
c cl
e
a
n
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
ixed p
o
te
n
tiall
y
not freei
n
g al
l
cache en
t
r
i
es in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixe
d
status message
s
s
e
nd with send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Fixe
d
tls
_
i
n
i
t
() not in
i
tializi
n
g
the SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initialize libgcr
y
pt
p
roperly by cal
l
ing g
c
r
y_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move i
n
i
t
TlsParams() and
deinitTlsPar
a
m
s
() to t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
d
ded
option "tcp_use_crl"
.
When T
R
UE, ~
/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set
the signal
mas
k
b
efore other th
r
eads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Don
'
t try an
d
link with -lrt on systems
o
ther than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Fixed a c
o
m
p
i
le time
error
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Fixed a compi
l
e tim
e
warning on
FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
11 command line opti
o
n -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Us
e
PTHREAD_MUT
E
X_RECURSI
V
E
n
ot PTHRE
A
D_M
U
T
E
X_REC
U
RSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed som
e
co
m
ple time
conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Restore cli
e
nt->has_lock
in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
U
se a structure in file
_
cache_t to hold the file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Th
e
c
l
ien
t
m
u
st explicitl
y
set OPTIO
N
P
INENTRY if
the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bb
e
y
Don't write a log mes
s
a
g
e when the
c
ache mutex
i
s l
o
cked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Really
fix commi
t
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
v
ert
"
Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kib
b
ey
Fi
x
for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tart
the
k
eepal
i
ve_th
r
ead() afte
r
receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
S
t
o
p accepti
n
g TCP connections w
h
en shutt
i
ng down
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
I
f
M
EM_
D
EBU
G
i
s defined
t
hen set
t
h
e
x
.
.
.
d
e
/all
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
U
s
e an
S
HA-1 fingerpr
i
n
t rather
tha
n
MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibb
e
y
Fixed a se
g
fault when
TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
i
bbey
Create th
e
client_msg_threa
d
and client_msg_s
e
n
d
er_t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbe
y
Only append unique status mes
s
a
g
e
s
t
o the me
s
s
age queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
i
bbe
y
If
the current thread is calling send_status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the msg m
u
tex is unlocke
d
before
t
r
y
i
ng to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbe
y
C
reate a
message qu
e
ue tha
t
w
o
n't block send
_
sta
t
us
_
a
l
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
Ported to
pth
r
ead
.
c
a
che_mu
t
ex
a
n
d
cn_mutex
a
re now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben K
i
bbey
SIGHUP will st
o
p or star
t
t
he tcp_accept_th
r
e
a
d
(
)
depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
Kibbey
Updated t
h
e
co
p
yright head
e
rs for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
ixed a pinen
t
ry
segfa
u
lt (hope
f
ully) dur
i
ng clean
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
B
en
K
ibbey
A
l
l
o
w other characters in the filena
m
e
when using
G
ET
C
O
NFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMAN
D
S t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
R
eturn GPG_ERR_NO_VALUE instead of a s
y
ntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Re-add
.
flags to the new v2 file hea
d
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibb
e
y
F
i
xed a me
m
ory leak in pinen
t
ry
_
iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbe
y
Fixed startin
g
up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn abou
t
err
o
rs
opening a k
e
y_f
i
le
while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Fixed cl
e
ar_c
a
che
(
)
c
learing all
cach
e
entrie
s
.
commit
|
commitdiff
|
tree
2009-01-08
Ben
K
ibbey
Fi
x
ed a
m
em
o
ry leak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
F
ixed askin
g
f
or a p
a
ssphrase after opening
a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibbey
Fixed closing the wrong
F
D in clean
u
p_cryp
t
o(
)
an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed S
A
VE wit
h
a passphrase
specified
in th
e
command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Cl
o
se t
h
e
c
ipher ha
n
dle in
c
r
ypto_cl
e
an
u
p
();
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Kibbey
Fixed some c
o
mpile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
T
h
e "disable_list_and_dump"
con
f
igurati
o
n paramete
r
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
B
en Kibbey
When importing, converting and pushin
g
files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Some code rearrangements
.
Ge
t
t
i
n
g
r
e
ady to fix freein
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
S
h
ow the
o
u
tput
f
il
e
name a
n
d not s
t
dout in the
impor
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fi
x
ed a mem
o
r
y leak in d
o
_ca
c
he_push()
.
Th
e
do
c
ument
.
.
.
commit
|
commitdiff
|
tree
next