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
e
n K
i
b
b
ey
C
heck
f
o
r EDEADLK in MUTEX_UNLO
C
K
.
It can be i
g
nor
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
K
ibbey
Wait for threa
d
T
I
D
events which are tr
i
ggered wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Catch SIGABR
T
, but not S
I
GUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
Check
t
he retu
r
n va
l
ue from pth_s
p
a
w
n()
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Ki
b
bey
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n K
i
bbey
Us
e
th
r
ead-safe
l
ibgcrypt and libgp
g
-error function
s
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
Dont
writ
e
a lo
g
message in M
U
TEX_TRYLOC
K
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Use MUTEX
_
TRYLO
C
K everywhere STATUS_LOCK
E
D is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixed unlock_file
_
m
u
tex() releasing the unlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kib
b
ey
che
c
k th
e
return o
f
p
th_mutex_acquire and p
t
h_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
B
en Kibbe
y
squash b
e
fore
commiting to
m
aster
.
this
is the i
n
itia
l
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kib
b
ey
Use "git log" n
o
t "git-log
"
in
t
he
M
akefile 'changel
o
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
en
Kibbey
Added OPTION L
C
_CTYPE
a
nd OPTIO
N
L
C
_
ME
S
SAGE
S
.
Bot
h
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
b
bey
Fixed a typo i
n
the previous commit
.
D
e
stroy
the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
ixe
d
keepalive_thread()
t
o use a
local condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Fixed
a
b
o
rtin
g
the connection
w
h
e
n the confi
g
ured keepa
l
ive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Moved
c
lient_
m
sg_thread
(
)
a
n
d client_
m
s
g_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Crea
t
ed s
t
atus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Aft
e
r se
n
ding a status message
to send_s
t
atus(), crea
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
R
e
move the exiting client from the client
l
ist as
soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor cleanups in m
e
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Lock the rcfile_mutex at each keyfi
l
eh a
c
cess
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't l
o
ck
the cn_
m
utex before cancelling the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
Kibbey
F
i
x f
o
r th
e
prev
i
o
us commit that wo
u
ld
n
't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a lo
c
al
mutex in client_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a
goffset rat
h
er than gsize
f
or
c
rypto->
i
nsize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Fixed status messages t
o
use the
new it
e
ration type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Fixed da
t
a
file por
t
a
bi
l
ity between v
a
rious
s
y
s
t
e
ms
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibb
e
y
A
f
e
w more pt
h
r
ead_testcancel()'
s
.
Sho
u
ld
b
e the la
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kib
b
ey
T
h
read cancel
l
ation tests
i
n do_compress(
)
and do_decom
p
ress()
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Kib
b
ey
Don't send status message
s
to clients that are
e
xit
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
i
bbey
Fixe
d
a seg
f
ault with th
e
SAV
E
com
m
and when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
e
y
More threa
d
canc
e
lation test
s
and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
Cr
e
ate a mutex for t
h
e custom memo
r
y function
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create a new thread whe
n
reloading t
h
e rcf
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbe
y
More thread cancell
a
tion tes
t
s
(mor
e
to come)
and t
h
rea
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
Ki
b
b
e
y
A
c
o
uple more thr
e
ad ca
n
cellation te
s
ts and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
en Kibb
e
y
If t
h
e client threa
d
term
i
n
ates wh
i
le a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
S
etup a c
l
eanup h
a
ndler i
n
iterate_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encryp
t
ing/decryp
t
ing,
don't do the
w
h
ole thin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
I
n cleanup_cb(), don't free cn->name until e
v
ery
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mute
x
locking
and unlo
c
kin
g
mac
r
os
.
Us
e
fu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbe
y
Upda
t
e t
h
e mtime in do_x
m
l_en
c
r
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
crypt
o
->
i
n
b
uf is set to the data
t
o encrypt
w
hen passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gc
r
y_
.
.
.
memory functions in
d
o_comp
r
ess()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG_
E
RR_ENOANO if
t
h
e dat
a
f
i
le is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
A
couple minor ca
c
he
.
c clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixe
d
p
ote
n
tia
l
ly not free
i
n
g
all
cache entries
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
bey
Fixed status message
s
send
w
i
th send
_
s
t
atu
s
_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() n
o
t
i
n
itializing th
e
SHA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
In
i
t
ialize libgcrypt p
r
operly by calling
g
cry
_
c
h
eck_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Mov
e
initTlsParams() and dein
i
tTlsParams(
)
to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
A
dded option "tcp_use_crl"
.
When T
R
UE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Set the
s
i
gnal
m
ask
b
efore other t
h
reads are c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't try
and link with
-lrt on syste
m
s other tha
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fixed a co
m
pil
e
time error
on
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fix
e
d a compil
e
time w
a
rn
i
n
g
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove
old <
v
1
.
11 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
U
s
e
PTH
R
EAD_MU
T
EX
_
REC
U
R
SIVE not
PTH
R
EAD_MUTEX_RE
C
UR
S
IVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed some
c
omp
l
e
time con
d
iti
o
nals
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
bey
Restore clien
t
->
h
a
s
_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use a structure i
n
file_ca
c
h
e_t to
h
old the file mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
The
c
li
e
nt
must exp
l
icitly se
t
OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't
w
rite a log
mes
s
a
ge when the cache
mut
e
x is lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibbey
Rev
e
r
t
"Fix for commit
a7e
1
5f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
B
en Ki
b
bey
Fix
for c
o
mmit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Rest
a
rt the k
e
epaliv
e
_thread() after rec
e
iving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben
Kibbey
Sto
p
ac
c
epting TCP connec
t
ions
when shut
t
ing do
w
n
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
If
M
EM_DEBUG
is d
e
fined then set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Us
e
an SHA-1
finge
r
print rather
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Fixed
a
s
e
g
faul
t
wh
e
n TL
S
fa
i
led
n
egotiation
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Create the
client_msg_thread and client_
m
sg_se
n
der_thr
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
bey
O
n
l
y
append unique status mes
s
ages to
the
m
essage
q
u
e
ue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the
current thr
e
a
d
is calling s
e
nd_s
t
atus_al
l
()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
Make
s
ure the msg
m
u
tex is unlo
c
ked before tr
y
ing to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
e
n Kibbey
Cre
a
te
a
message que
u
e
that wo
n
't block send
_
status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en
K
ibbey
Ported
t
o
p
t
h
re
a
d
.
c
a
che_mutex and cn_mutex are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Be
n
Kibbey
SIGHUP will stop or start the tcp_accept_thread() dependin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the copyright headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kib
b
ey
Fi
x
ed a pinentry s
e
gfault (h
o
pe
f
ully) d
u
ring clean
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Allow other chara
c
te
r
s in
the file
n
ame
w
hen using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Moved CO
M
MANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Ki
b
bey
Ret
u
rn GPG_ERR_NO_VALUE instead of a synta
x
e
r
ror fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
flags to the n
e
w v
2
file heade
r
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
Ki
b
bey
Fixed a memory
l
e
ak
i
n pinentry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
s
tarting up without
a
n rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
War
n
about e
r
ro
r
s o
p
en
i
ng
a
key_file while pa
r
sing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clear_ca
c
he
(
)
c
lea
r
in
g
all cache en
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Kibbey
Fixed a memory
l
e
a
k crea
t
e_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d asking fo
r
a passphrase a
f
te
r
opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibbey
Fixed closing the wrong FD in clea
n
up_c
r
yp
t
o(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n
K
i
bbey
Fix
e
d SAVE with
a p
a
ssphras
e
specified in the co
m
m
a
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Clos
e
the cipher handle in cr
y
pt
o
_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbe
y
Fixed
some
c
ompile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bbey
The "disable_list_and_dump" c
o
nfigu
r
ation parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Ki
b
b
ey
When importi
n
g,
converti
n
g and pushi
n
g files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
K
i
bbey
S
o
m
e
c
o
de rear
r
a
n
gements
.
Get
t
ing re
a
dy
t
o
fix fr
e
eing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
Kibbey
Show the out
p
ut fil
e
name and not st
d
out in the impor
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixe
d
a mem
o
r
y
leak in d
o
_cac
h
e
_
push
(
)
.
The
document
.
.
.
commit
|
commitdiff
|
tree
next