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
l
ink w
i
t
h
-l
r
t or -lpthread
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Re
m
oved
acincl
u
de
.
m4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
C
h
eck
for EDEADLK in MUTEX_
U
NLOCK
.
It can be ignored
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Wait for th
r
ead TID events whi
c
h ar
e
tr
i
ggere
d
wh
e
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Cat
c
h
S
IGABRT,
but not
S
I
G
USR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Check the return value fro
m
pth_spawn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Min
o
r cleanu
p
s
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Use thre
a
d-s
a
fe libgcr
y
pt an
d
libgpg-error
f
uncti
o
ns
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
D
o
n
t
w
rit
e
a log
m
essage in
M
UTEX_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Use MUTEX_TRYLOCK e
v
eryw
h
ere STATUS_LOCKE
D
is
s
en
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
F
i
xed
u
nlock_fi
l
e_mut
e
x() releasing the unlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
c
h
eck the re
t
urn of
p
th
_
mutex_ac
q
uire and pth_
m
utex_
r
elease
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
K
ibbey
sq
u
a
sh before c
o
mmi
t
ing to master
.
this is the ini
t
ial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Be
n
Kibbey
Use "git l
o
g" not "g
i
t-log" in the Makefile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Added OPTION LC_CTYPE and
OPTION
LC_MES
S
AGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed
a
typ
o
in the pr
e
v
ious commit
.
Destr
o
y th
e
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en
Kib
b
e
y
Fixed ke
e
pal
i
ve_thread()
to use a loc
a
l condition and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Fixed
aborting the connection when the configur
e
d ke
e
p
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibb
e
y
Moved
client_msg_
t
hr
e
ad
(
)
a
nd
c
l
i
ent_msg_
s
e
nder_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created s
t
atus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kib
b
e
y
After sending a status message to send_status(), c
r
e
ate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Re
m
ove the exiting
c
lient from the clien
t
list as soon
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Min
o
r
c
l
e
anups i
n
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
K
ib
b
ey
L
o
c
k the r
c
file_
m
u
tex at each ke
y
fileh access
.
commit
|
commitdiff
|
tree
2009-02-06
B
en K
i
bbey
D
on't lock
t
he cn
_
mutex b
e
fore cance
l
ling
the cli
e
nt
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben
Kib
b
ey
Fix for t
h
e p
r
evious commit tha
t
wouldn't ter
m
inate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a local mutex in cl
i
ent_msg_thread(
)
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
Kibbey
U
s
e a goffset rat
h
er th
a
n
gsize for
crypto->ins
i
ze
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Fixed status messages
to
use t
h
e ne
w
iterati
o
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed data
file portabil
i
ty between various systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
bbey
A few mo
r
e pthread_testcance
l
(
)
's
.
Should
b
e
the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
Thread cancellation tests in do_c
o
mpr
e
ss() and do_decompress(
)
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Ki
b
bey
Don't s
e
nd s
t
atus
messages to clients that are exitin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixed a segfault with the SAVE command when used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibb
e
y
M
o
re th
r
ead can
c
e
l
ation tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cr
e
ate a mutex for the custom memory
f
unctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibb
e
y
Create
a
new thread
when reloading
t
h
e rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibbey
More thread ca
n
cellation
t
ests (more to come) and thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbey
A couple more
threa
d
cancellat
i
on tests and
c
leanups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
K
i
bb
e
y
I
f
the client thread terminates
w
hile
a pine
n
try is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Setup a cleanup handler in iterate_crypto_once() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben K
i
b
b
e
y
When
e
ncry
p
ti
n
g/decrypting, d
o
n't do the
w
hole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
I
n
cleanup_cb(), don't f
r
ee c
n
->name until e
v
eryt
h
in
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Better mutex lock
i
ng and unlocking macr
o
s
.
U
seful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Update the
mtime in do_xml_encry
p
t()
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
crypt
o
->inbuf is s
e
t to the data to encryp
t
w
h
en passe
d
to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbe
y
Use gcry
_
.
.
.
m
emory
functions in d
o
_compress(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
R
e
turn GPG
_
ERR_ENOANO if the d
a
ta file i
s
not
a
regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
bbe
y
A
c
o
uple minor cache
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
potentially
n
ot freeing all cach
e
entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
F
i
xed status messages send w
i
th send_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed tls_init() not initializing the SH
A
-1 hash siz
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Init
i
alize
libgcrypt prop
e
rly by calling g
c
ry_c
h
eck_versi
o
n
()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Move init
T
lsParams() and de
i
nitTlsPa
r
a
ms()
to t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Added option "tcp_use_c
r
l"
.
When TRUE, ~/
.
p
wmd/
c
rl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bb
e
y
S
e
t
t
he
signal mas
k
befor
e
oth
e
r threads are
c
re
a
ted
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Don't try and
l
i
nk with -
l
rt on sy
s
tem
s
other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
bey
Fixed a compile time error on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
F
ixed a co
m
pile
t
im
e
wa
r
ning on
Fr
e
eBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
R
e
move old < v1
.
1
1
command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Use PTHR
E
AD_M
U
TE
X
_RECU
R
SIVE not PTHR
E
AD_MUTEX_RECURS
I
VE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbey
Fixed some c
o
mple
t
i
m
e co
n
di
t
i
o
nal
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
Restore client->has
_
lock in cle
a
n
up_
c
lient()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
U
s
e a struc
t
u
r
e in file_cache
_
t to ho
l
d th
e
fil
e
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The
c
li
e
nt must ex
p
lic
i
tly se
t
O
P
TION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
Don't wri
t
e a log messag
e
when
the cache
m
ute
x
is lock
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Really fix c
o
m
m
i
t
a7e
1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
i
bbey
R
e
vert "
F
ix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
be
y
Fix for commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
R
e
st
a
r
t
t
he
keepa
l
ive_thread(
)
after
r
e
c
e
iving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accepting TCP conne
c
t
i
ons when shu
t
ti
n
g
down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
en Kibbey
If MEM_DEBUG is defined the
n
set
the x
.
.
.
d
e
/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
Use an SHA-1 fingerprint rath
e
r
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbey
Fixe
d
a segfaul
t
when
T
L
S
faile
d
negotia
t
ion
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
e
y
C
r
eate the cl
i
ent_msg_thread and c
l
ient_m
s
g_sender_
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
Only appe
n
d
u
nique
s
tatus
messa
g
es to
the me
s
sage queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
I
f
the cur
r
ent
thr
e
a
d
is c
a
lling
s
end_status_all(
)
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
K
ibbey
Make s
u
re the msg m
u
tex is u
n
locked before trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Creat
e
a message
q
ueue that won't
block send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Kibbey
Port
e
d to pthread
.
cache_mutex an
d
cn_mut
e
x are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will
stop or star
t
t
he tcp_acc
e
pt_thread() depend
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kib
b
ey
U
p
d
ated th
e
copyr
i
ght headers for 2
0
0
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Fixed a p
i
nentr
y
segfault (hopefully) during clean
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbe
y
Allow
o
ther c
h
ar
a
cters in th
e
filename when using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
M
oved COMMANDS t
o
doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Ki
b
b
ey
Return GPG_ERR_
N
O_VA
L
UE in
s
tead of
a
syntax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re
-
add
.
fla
g
s to
t
he new v2 file
h
eade
r
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Ki
b
be
y
Fixed a memory leak in pinentry
_
iter
a
te()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
i
xed startin
g
up w
i
thout an r
c
f
i
le
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Warn
ab
o
ut error
s
opening a key_file while parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
i
xed clea
r
_cache() clearing
all cache ent
r
i
e
s
.
commit
|
commitdiff
|
tree
2009-01-08
Be
n
Kibbey
Fixed a memory
leak create
_
dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed asking for a passphra
s
e after opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bbey
F
i
xed clo
s
ing the
w
r
o
ng FD in cle
a
nup_cr
y
p
to()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d SAVE with
a passp
h
rase spe
c
ified in the command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Cl
o
se the ci
p
her handle in crypto_cleanup()
;
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compile-time
w
arnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
T
h
e "disab
l
e_li
s
t_and_dum
p
" con
f
igura
t
ion par
a
me
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
W
he
n
import
i
ng, convert
i
ng and pu
s
hing f
i
les
i
nto the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
Som
e
code rearrangements
.
Getting
r
e
ady t
o
fi
x
free
i
ng
.
.
.
commit
|
commitdiff
|
tree
next