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 Kibbey
Make client_ms
g
_thread() join
a
ble
.
commit
|
commitdiff
|
tree
2009-03-21
Ben K
i
bbey
U
se g_get
_
ho
m
e_dir() instead
.
commit
|
commitdiff
|
tree
2009-03-20
Ben
K
ibbey
Removed
a
ll tc
p
/remote/GnuTLS support
.
Remote
co
n
nections
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibb
e
y
Fix t
l
s
.
c compile-
t
ime warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont l
i
nk
w
it
h
-lrt o
r
-lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Removed acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
C
heck for
E
DEADL
K
i
n
MUTEX_UNLOC
K
.
It can
b
e ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
W
ai
t
for thread
T
I
D
events which are tr
i
gg
e
red
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
C
a
tch SIGABRT, but not
S
IG
U
S
R
2
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Check the r
e
tu
r
n v
a
l
ue from
p
th
_
spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
M
inor
cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kib
b
ey
Use
thread-sa
f
e libgcrypt and libgpg-
e
rror
f
unctions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kib
b
e
y
D
ont write a
l
og m
e
ssage
in MUTEX
_
T
RYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MUTEX_TRYL
O
CK ever
y
wh
e
r
e
STATU
S
_LOC
K
ED is
s
ent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
F
i
xed unlock_file_mutex()
releasing
the unlocked
m
u
t
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
check the r
e
t
u
rn of pth
_
mutex_
a
cquire
and p
t
h_
m
utex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
Kibbe
y
squas
h
before
co
m
miting to m
a
st
e
r
.
this
i
s
t
h
e i
n
itia
l
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibb
e
y
Use "git
l
o
g
"
not
"
git-
l
og
"
in t
h
e Makefile 'ch
a
ngelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Ki
b
be
y
Ad
d
ed OPTI
O
N LC_CTYPE and OPTION LC
_
MES
S
AGES
.
B
oth
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed a typo i
n
the
previo
u
s commit
.
Dest
r
oy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bb
e
y
F
i
xed
k
e
ep
a
live
_
th
r
e
ad()
to use a local condi
t
ion an
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Fixe
d
aborting
the conn
e
ction wh
e
n the configured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kibbey
Moved client_
m
sg_thread() and client_m
s
g_sender_
t
h
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sending a
s
t
atus m
e
s
sage to send_
s
t
atus(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remove the ex
i
ting cli
e
nt
from the cl
i
ent list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Mi
n
or cleanups i
n
me
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
en Kib
b
ey
Loc
k
th
e
rcfi
l
e_mutex a
t
each ke
y
fil
e
h access
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
D
on't lock the cn_
m
ute
x
b
e
fore
c
a
ncel
l
ing the cl
i
ent
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Fix for the previ
o
us commi
t
that wouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
K
ibbey
Use
a
local
mutex in clien
t
_msg_t
h
read()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Use a gof
f
s
e
t rather t
h
an gsi
z
e fo
r
crypt
o
->
i
n
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
b
b
ey
F
i
xed sta
t
us
mess
a
g
e
s
to us
e
the
n
ew
i
t
e
ration t
y
p
e
.
commit
|
commitdiff
|
tree
2009-02-03
B
e
n
Kibbey
Fixed
dat
a
f
i
le portability between various systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
A
f
ew more
pthre
a
d_testcancel()'s
.
S
h
o
uld be t
h
e
last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
en K
i
bbey
Threa
d
cancel
l
ation te
s
ts in do_compres
s
() and do
_
decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
bbey
Don'
t
send
s
tatus mes
s
ages to c
l
ie
n
ts that are
e
xi
t
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
Fixe
d
a
segfault with t
h
e
SA
V
E
comma
n
d when
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More
t
hre
a
d c
a
ncelation tests
a
nd
h
and
l
ers
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibb
e
y
C
r
eate
a mutex for th
e
cust
o
m
memory functio
n
s
.
Fix
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n
Kibbe
y
Create a new thr
e
ad when reloading the rc
f
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
or
e
t
hr
e
ad cancellation tests
(mo
r
e to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A coup
l
e
m
ore thread ca
n
cellation tests and cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-27
B
en Kibbey
If the
c
lient thread te
r
minates while
a pinentry
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a c
l
eanup
h
an
d
ler in ite
r
ate_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
When encrypting/decrypting,
d
on't do
t
he whole t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
In
cle
a
nup_cb
(
)
,
don't fr
e
e cn->name until
e
verythin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kib
b
e
y
Bett
e
r
m
utex locking a
n
d unlocking ma
c
r
o
s
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Up
d
ate th
e
mtime in
do_x
m
l_encr
y
pt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbey
cry
p
to->inbuf is set
t
o the da
t
a to e
n
crypt
w
hen passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Us
e
gcry_
.
.
.
m
emo
r
y f
u
nctions in
d
o_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbe
y
Retur
n
GPG_ERR_ENOAN
O
if the
dat
a
file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
e
y
A couple minor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
F
ix
e
d pot
e
nti
a
lly not fre
e
ing
a
ll c
a
che entries
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
F
ixed st
a
t
u
s
m
e
ssages send with
send_status_al
l
() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbe
y
Fix
e
d tl
s
_ini
t
()
n
ot initializ
i
n
g the S
H
A-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
I
n
itialize libgcryp
t
properly by
c
alling gcry_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Move i
n
itTlsPar
a
ms() and deinitTlsPar
a
m
s() to
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A
dded optio
n
"
tcp
_
use_c
r
l
"
.
When TRUE
,
~/
.
pwmd/c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set
t
he
signal mask
be
f
ore other thre
a
ds are creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
bey
Do
n
'
t
try
a
n
d
link with -lrt
on system
s
ot
h
er than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a com
p
ile time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
F
ixed a
c
o
m
pile time warning o
n
FreeBS
D
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
R
e
m
ove
o
l
d
< v
1
.
11 co
m
m
and li
n
e option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHREAD_MUTEX_RECURSIVE
n
o
t
P
THREAD_MU
T
EX_R
E
CURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed some comple time conditiona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Restore clie
n
t->has_
l
o
ck in cleanup_
c
li
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Use a structure in file_cache_t t
o
hold the file
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The cli
e
nt must explicitly set OPTION PI
N
EN
T
R
Y if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't write a l
o
g m
e
ss
a
ge when the cache m
u
te
x
is
l
o
cked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Re
a
l
ly fix commit
a
7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Reve
r
t "F
i
x
f
or com
m
it a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Fix f
o
r
commit a7e1
5
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tart
the keepal
i
ve_thread() after receiv
i
n
g
S
I
G
H
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
S
t
op a
c
cepting TCP
c
onnections wh
e
n shutting
dow
n
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbe
y
If MEM_DEBUG is define
d
t
hen set the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Use an
SHA-1 fingerpri
n
t
rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
Fixed a seg
f
ault
wh
e
n TLS failed
negot
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbe
y
C
reate the client_ms
g
_thread and client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only append un
i
que status messages to the me
s
s
a
ge que
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the c
u
rrent thr
e
ad is
calling send_status_
a
ll(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the msg mutex is un
l
ocked before try
i
ng t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create a
m
essage queue that w
o
n't block
s
end
_
status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
Kibbey
Port
e
d
t
o
pthread
.
c
a
che_mutex and cn_m
u
t
e
x a
r
e
n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SI
G
HUP will st
o
p
or start the tcp_a
c
ce
p
t_t
h
read() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbe
y
Updated the copyright he
a
ders for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibbey
Fixed a pinen
t
ry segfault (h
o
pe
f
ully) during c
l
eanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
K
i
b
bey
Allow
other
char
a
c
t
ers in t
h
e filename when using GE
T
CONF
I
G
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Moved COMMAND
S
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n K
i
bbey
R
eturn GP
G
_ERR_
N
O_VALUE i
n
stead of a
s
yntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
Re-add
.
flags
to the new v2 file
header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bb
e
y
F
i
xed a memory l
e
ak in p
i
nen
t
ry_ite
r
ate()
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Fixed
s
tarting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Ki
b
be
y
Warn about er
r
ors
opening a
key_f
i
le
while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Kibbey
Fi
x
ed clear_cache()
c
learing a
l
l cache entries
.
commit
|
commitdiff
|
tree
2009-01-08
B
e
n
Kibbey
Fixed a m
e
mory
l
eak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
F
i
x
ed asking
fo
r
a pa
s
s
p
hra
s
e after opening a
new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fi
x
e
d
c
lo
s
ing the wrong FD in c
l
e
anup_cry
p
t
o() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed SAV
E
with
a
passph
r
a
s
e
specified in the com
m
and
.
commit
|
commitdiff
|
tree
2009-01-05
Ben K
i
bbey
Close the
c
ipher han
d
l
e
i
n
cry
p
t
o_clea
n
up();
commit
|
commitdiff
|
tree
next