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
Fix tls.c compile-time warning.
2009-03-08
Ben Kibbey
Fix tl
s
.
c compile-time war
n
ing
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Dont link with -lrt or -l
p
th
r
ead
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Removed acinclude
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
C
h
eck for EDE
A
DLK in MUTEX_UNLOC
K
.
It
can be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
i
bbey
W
ait for thread TID e
v
ents which are tr
i
ggered
w
hen
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Catch
S
I
GABRT, but
n
o
t SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Ch
e
c
k the return v
a
lue from
p
th_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n
K
ibbey
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use thre
a
d-safe lib
g
crypt and libgpg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Dont write a log
mess
a
ge in MUTE
X
_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
b
e
y
Use M
U
TEX_T
R
YLOCK everyw
h
ere ST
A
TUS_LOCKED is se
n
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
F
ixe
d
unlock_file_mut
e
x() releasing th
e
unloc
k
ed mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
check the return of pth_mute
x
_acquire and pth_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
B
en Kibbey
squash b
e
fo
r
e commiting to
m
aste
r
.
this i
s
the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Use "gi
t
l
o
g" not "git-log" in th
e
Make
f
ile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
A
dd
e
d OP
T
IO
N
LC_CTYPE and
OPT
I
O
N LC_MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
Fi
x
e
d
a
t
yp
o
i
n the previo
u
s
c
ommit
.
Destroy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
ixed ke
e
pali
v
e
_
th
r
ead() to use a local condi
t
ion
and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
F
i
xed abor
t
ing the
c
o
n
n
e
c
t
io
n
when
the confi
g
ured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Mo
v
ed client
_
msg_thread() and clie
n
t_msg_sen
d
er_th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created stat
u
s
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Ki
b
bey
After sending a status messag
e
to s
e
nd_status()
,
create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
R
e
move
t
h
e
ex
i
t
i
ng c
l
i
ent from the client
l
ist
as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Mino
r
cleanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Ki
b
bey
L
o
ck the rcfile_mutex at eac
h
k
e
yfileh acce
s
s
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbe
y
Don't lock the
cn_
m
u
tex b
e
fore cancelling
the cl
i
ent
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
Kib
b
ey
Fix f
o
r
t
h
e
previou
s
commit that wouldn'
t
termi
n
at
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Use a local mutex in
clie
n
t_msg_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Use a goff
s
e
t rather than gsize for crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed stat
u
s messages t
o
use the
new i
t
eratio
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Fixed data file portabilit
y
be
t
ween v
a
rious s
y
stems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
bbe
y
A few
m
ore pthre
a
d_te
s
t
c
ancel()'s
.
Should be
t
he l
a
st
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Be
n
Kibbey
Threa
d
cancellation t
e
sts
in do_compre
s
s(
)
and d
o
_decom
p
ress(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
D
o
n't send status messages to clie
n
ts that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Fixe
d
a segfa
u
l
t with the SAVE comm
a
nd
whe
n
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More t
h
r
e
ad ca
n
celat
i
on
tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
Create a
mutex for the c
u
st
o
m memory funct
i
ons
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n K
i
bbey
C
r
eate a new thread when r
e
l
o
ading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
M
ore thr
e
a
d can
c
ellatio
n
tests (more to c
o
me) an
d
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A coupl
e
mor
e
thr
e
ad
can
c
ellation tests and cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the cli
e
nt thread termi
n
ate
s
while a pinen
t
ry i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en
K
ibbey
Se
t
up a cleanup handler in iterate_c
r
ypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Ki
b
bey
When encryptin
g
/
dec
r
ypting, don't do
the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
In c
l
ea
n
u
p
_cb(), d
o
n't fre
e
cn-
>
nam
e
unt
i
l everyt
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
bbe
y
Better mute
x
locking and
un
l
ocking macros
.
U
sefu
l
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Update the mtime in
d
o_xml_
e
ncrypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
c
r
ypto
-
>inbuf is se
t
t
o th
e
data to enc
r
y
pt when p
a
ssed t
o
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
U
s
e
gcry_
.
.
.
memory functi
o
ns in do_
c
ompress() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return
GPG_ERR_ENOANO if the data file is not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A couple m
i
nor cac
h
e
.
c cle
a
nups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed pot
e
n
t
i
a
lly not freeing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed status messages
send
w
ith send_status_
a
ll() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fi
x
ed tl
s
_init() not i
n
it
i
a
liz
i
ng
t
h
e SH
A
-1 hash
size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initi
a
lize libgcrypt proper
l
y
b
y
callin
g
gc
r
y
_
c
h
eck_v
e
rsion()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
M
ove initTlsParams
(
) and deinitTlsP
a
rams()
t
o tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Ad
d
e
d
o
ption "tc
p
_use_crl"
.
When TRUE, ~/
.
pwmd/cr
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
S
et
t
he signal mask bef
o
re
o
ther threads are c
r
eated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbe
y
Don't
try
a
nd
link wi
t
h -lrt on systems o
t
her than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Fixed a
c
ompile time error o
n
F
reeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Fixed a com
p
ile time
warning
o
n
F
reeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
11
c
omm
a
nd
line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Use PTHREAD_MUTEX_R
E
C
U
RSIVE not
P
TH
R
EAD_MUTEX
_
REC
U
RSIVE
_
N
P
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
Fixed some co
m
ple ti
m
e condition
a
ls
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Restore client->has_lock in cleanup_clie
n
t()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Us
e
a
st
r
ucture
in file_
c
ache_
t
to
h
old the f
i
le
mu
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
T
he client must explicitly s
e
t O
P
TIO
N
PINENTR
Y
if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don
'
t
wr
i
te a
l
og m
e
ssage wh
e
n
the c
a
che mutex is locke
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
b
e
y
Real
l
y fix commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
ibbey
Re
v
e
r
t
"Fix for
commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Fix for commit
a
7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Ki
b
bey
R
estart th
e
kee
p
alive
_
t
h
re
a
d() af
t
er
receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kibb
e
y
Stop a
c
cepting
T
CP connections w
h
en shutt
i
ng
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_D
E
B
UG is def
i
n
e
d then
set the x
.
.
.
de/allocato
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n K
i
bbey
Use
a
n SHA-1
fi
n
gerpri
n
t rather tha
n
MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
F
ixed a segfault when TLS
f
ailed negotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create
the clien
t
_msg_thread and
c
li
e
nt_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Only ap
p
e
n
d unique st
a
tus mess
a
ges
t
o the
m
e
ssage q
u
eue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
If t
h
e c
u
rr
e
nt thread is calling send_status_all
(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
i
b
bey
Make sure the msg mutex is un
l
ocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Ki
b
bey
Creat
e
a
message queue
that won't block send_status_
a
ll
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Porte
d
to p
t
hre
a
d
.
cache_mute
x
and cn_mutex are n
o
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibb
e
y
SIGHUP will s
t
op
o
r
sta
r
t
the tcp_accept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
K
i
b
bey
Upda
t
e
d
the copyright headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
Kibbey
Fixed
a
pinentry segfau
l
t (hopefully)
d
uring
c
l
e
a
nu
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
A
l
low other cha
r
acters i
n
the filename when using GETCON
F
IG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kib
b
e
y
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kib
b
ey
Return GP
G
_ERR_NO_VALUE instead of a syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
R
e
-ad
d
.
f
lag
s
to the new v2 f
i
le header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fi
x
ed a memory leak in pinen
t
r
y_i
t
erate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
ix
e
d starting
u
p without an r
c
file
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Warn about errors opening a
k
ey_file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n K
i
b
b
ey
Fix
e
d
clear_c
a
che(
)
clearing all cache
e
ntries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed a memo
r
y leak
creat
e
_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
e
y
Fi
x
ed a
s
king for a passp
h
rase after opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibb
e
y
F
ixe
d
closing the
w
rong FD i
n
c
l
eanup_c
r
y
p
t
o()
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kib
b
ey
F
ixe
d
SAVE with a passphrase speci
f
ied in t
h
e command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the ciph
e
r handle i
n
crypto_
c
l
e
a
nup();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed s
o
me compile-t
i
me warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "disable_list
_
and
_
d
ump" con
f
iguration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bbe
y
When i
m
p
ortin
g
, converting a
n
d
p
us
h
ing
files
into the
.
.
.
commit
|
commitdiff
|
tree
next