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
Dont link with -lrt or -lpthread
2009-03-08
Ben Kibbey
Dont link wit
h
-lrt or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
b
b
ey
R
e
moved acin
c
lude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check for EDEAD
L
K
in MUTEX
_
UNLOCK
.
I
t ca
n
be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Wai
t
for thread TID events wh
i
ch a
r
e tri
g
g
ered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Catch SIGABRT, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Che
c
k the retu
r
n value from pth_sp
a
wn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Min
o
r cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use thread
-
sa
f
e libgcry
p
t a
n
d libgpg-error
functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Dont write a log message in
M
UTE
X
_
T
RYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
K
ibbey
Use M
U
TEX_TRYLO
C
K everywhere STATUS_LO
C
K
E
D
i
s
se
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixed
u
nlock_file_mut
e
x(
)
releasi
n
g
t
h
e
unlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
check the return of pth_mutex_acquire and pth_mutex_rel
e
ase
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
B
e
n Kibbey
squ
a
sh
b
efore
c
ommiti
n
g to
master
.
this is
th
e
initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Use "git log" not "git-log"
in the Makefile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
e
n Kibbey
A
dded O
P
TION LC_
C
TYPE and OPTION LC_
M
ESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Fixed a typo i
n
t
he previous c
o
mmit
.
Destroy the
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kib
b
ey
Fixed
keepalive
_
thread()
to us
e
a local cond
i
tion and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Fixed ab
o
rting the con
n
ection when
t
he configured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Moved
c
lie
n
t
_
ms
g
_thread(
)
and client
_
msg_se
n
de
r
_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
K
i
bbe
y
C
r
eat
e
d status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
i
b
be
y
A
f
ter
sending
a stat
u
s message to send_status(), cr
e
ate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibb
e
y
Remov
e
the
e
xi
t
ing c
l
ient
f
rom the c
l
ient
l
ist as so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bbey
Min
o
r cleanup
s
in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
Kibbey
L
ock
the
r
cfile_mutex at each keyfileh access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
K
i
bbey
Don
'
t lock the cn_
m
utex before
cancel
l
ing t
h
e
c
lient
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
Fix f
o
r
t
he previous commit th
a
t
w
ouldn
'
t
t
ermin
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a local mutex
i
n cl
i
ent_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
Use a goffset rather than gsi
z
e for crypto->in
s
i
z
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n Ki
b
b
e
y
Fixe
d
status m
e
ssa
g
es to u
s
e
t
he
n
e
w
iteratio
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fix
e
d
d
at
a
file p
o
rtability be
t
ween various
s
ystems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
b
bey
A few mo
r
e pth
r
ead_t
e
stcancel()'s
.
Should be t
h
e last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbe
y
Thread cancell
a
tion te
s
t
s in
do_c
o
mpre
s
s
(
)
and do
_
deco
m
p
r
ess
(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Ki
b
bey
Don't s
e
nd status
m
e
s
sages t
o
clients t
h
at are exit
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Be
n
Kib
b
ey
Fixed a segfa
u
lt with the SA
V
E co
m
man
d
when us
e
d with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Ki
b
bey
More thread cancelation tests and hand
l
e
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbe
y
Create a mutex for the c
u
stom memory fun
c
tion
s
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
Create a n
e
w thre
a
d when r
e
lo
a
ding
t
he r
c
file
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread
cancellat
i
on tests (more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibb
e
y
A
co
u
ple more threa
d
can
c
ellation tests and
c
leanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
b
b
ey
If
t
he c
l
ient t
h
read termina
t
es while a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en
K
ibbey
Setup a clea
n
up handler
i
n iterate
_
cr
y
pto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
When e
n
crypting/
d
e
crypting, don'
t
do
t
h
e
wh
o
le thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
In cl
e
anup_cb(), don't free cn->name until everyt
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better mutex l
o
cking and unlo
c
k
ing macros
.
Use
f
ul
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Update the mtime in do_xml_en
c
r
y
pt(
)
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
crypto->inb
u
f is
s
e
t to the data to encrypt when pa
s
sed to
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Use gcry_
.
.
.
memory functions in d
o
_
c
ompres
s
() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG_E
R
R_E
N
OANO if th
e
data fi
l
e
i
s no
t
a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple m
i
nor ca
c
he
.
c clea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed potentially not f
r
eeing all cach
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Fixed stat
u
s m
e
s
s
a
g
e
s send with
send_s
t
atus_a
l
l() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed tls_init()
not
i
nitializing
the SH
A
-1
h
as
h
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
I
nitialize
l
ibgcrypt properl
y
by calling gcry
_
check_
v
er
s
i
on
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move
initTlsPar
a
m
s
(
)
and deinitTlsParams
(
) to
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Add
e
d
option "
t
c
p_use_cr
l
"
.
W
hen
T
R
UE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Set
t
h
e signal mask before oth
e
r thr
e
ads are create
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
D
o
n
'
t try and
link with
-lrt on systems other
t
han
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a c
o
m
p
ile
t
ime e
r
ror
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
F
i
xe
d
a c
o
m
p
ile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibb
e
y
Remove o
l
d <
v
1
.
11
com
m
a
nd line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Use PTHREAD
_
MUT
E
X_R
E
CURSIVE not PTHREA
D
_
MUT
E
X_RECURSIV
E
_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Fi
x
ed some co
m
ple time conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore cl
i
ent->has_lock i
n
cleanup
_
client(
)
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
b
ey
Use a
st
r
uc
t
ur
e
in file_cache_t to hol
d
the fi
l
e
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The client must explicitly set OPTION PINENTRY if t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Kibbey
Don't
wr
i
te a log messa
g
e whe
n
the cache
m
ute
x
is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibbey
R
e
ally fix com
m
it
a7e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbe
y
R
e
ve
r
t "
F
ix for commit
a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix
f
o
r
c
ommit a7
e
15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Ki
b
b
e
y
Resta
r
t the keepal
i
ve_t
h
read()
after
r
ece
i
ving SI
G
HUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
b
b
e
y
S
t
o
p ac
c
e
p
t
i
ng TCP connect
i
o
n
s
when shutt
i
ng down an
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben K
i
bbey
If MEM_D
E
BUG is
d
efined then
se
t
the x
.
.
.
de/
a
lloc
a
tors
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Use an
S
HA-1
f
ingerpr
i
n
t rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a seg
f
ault
w
h
e
n TLS fa
i
led negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Create the cli
e
nt_msg_thread and cl
i
ent_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Onl
y
append un
i
que status messages to the m
e
ssage
queu
e
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbey
If th
e
cu
r
rent t
h
read i
s
c
a
lling
s
e
nd_st
a
tus
_
all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make s
u
r
e
the msg mutex i
s
unlocked
b
e
f
o
r
e
trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibb
e
y
Creat
e
a messa
g
e
q
u
e
u
e t
h
at
w
on't b
l
ock send_status
_
all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported to pthrea
d
.
cache_mutex
a
n
d cn_mutex a
r
e now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
B
e
n Ki
b
b
e
y
SIGH
U
P wil
l
sto
p
o
r s
t
art the tcp_
a
ccept_t
h
read()
d
e
pen
d
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Updated
the copyrigh
t
h
e
ad
e
rs for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Fixed a pinentry segfa
u
lt (hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibbey
Allow o
t
her characters in th
e
filen
a
m
e
whe
n
u
sing GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Moved COMMANDS to doc
/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
R
eturn
GP
G
_ERR_NO_VALUE instead of a synta
x
er
r
or from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-add
.
fl
a
gs to the new v2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
e
y
Fixed
a memory leak in pinentry
_
iterate
(
)
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
starti
n
g up wi
t
hout an r
c
file
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn about
errors o
p
ening a
k
e
y_
f
ile whil
e
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
clear_cache()
cl
e
a
r
ing a
l
l
ca
c
he entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n Kibbey
F
ixed a m
e
m
ory leak create_dtd(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed asking for a passphrase af
t
er opening
a new
f
ile
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Ki
b
b
ey
Fixed closing the wr
o
ng
F
D
in cleanup
_
cry
p
to() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibb
e
y
Fixed SAVE with
a passphrase spec
i
fied in t
h
e
c
omma
n
d
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Kibbey
Clo
s
e the ci
p
h
e
r handle
i
n crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed
s
ome compile-time
wa
r
ning
s
.
commit
|
commitdiff
|
tree
2009-01-04
B
en K
i
bbe
y
The
"
d
isable_list
_
a
nd_
d
ump" configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When imp
o
rting, c
o
nv
e
r
tin
g
and push
i
n
g
f
i
l
es into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kib
b
e
y
Some co
d
e rearrangements
.
Ge
t
ting ready
t
o fix
f
r
e
eing
.
.
.
commit
|
commitdiff
|
tree
next