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 write a log message in MUTEX_TRYLOCK.
2009-03-08
B
e
n Kibbey
Dont write a log mess
a
ge in MUTEX_
T
RYL
O
CK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Use MU
T
EX_TRYLOCK every
w
h
e
re STATUS_LOCK
E
D is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en
K
ibbey
Fixed
u
nlock_fi
l
e_
m
utex
(
) relea
s
ing the u
n
l
o
c
k
ed mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
check the return of
p
t
h_m
u
tex_
a
cqu
i
r
e
and pth
_
mute
x
_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kib
b
e
y
squash before commiting to master
.
this is the i
n
itial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Use "git
l
og" not "git
-
log" i
n
the Makefile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibbey
Add
e
d OPTION
L
C_
C
TY
P
E and
O
PTION
L
C_MESSAGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Fixed a typo
i
n
the previous
c
omm
i
t
.
Destr
o
y
the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixe
d
kee
p
a
live_thread() t
o
use
a
l
ocal
c
ond
i
tion an
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fi
x
ed
a
b
o
rting the
c
onn
e
ction when t
h
e conf
i
gured keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Moved client_msg_threa
d
() and
client
_
msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Crea
t
ed st
a
tus
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
A
ft
e
r se
n
ding a status message t
o
s
end_stat
u
s(),
create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kib
b
ey
Rem
o
ve the
e
x
iting client from t
h
e c
l
ie
n
t l
i
st as soo
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bbey
M
i
nor cleanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbe
y
Lock t
h
e rcfile_mut
e
x at each keyfil
e
h acces
s
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibb
e
y
Don't lock the cn_mutex before cancel
l
ing the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Fix for
the
previous
co
m
mit
t
h
at wouldn't
terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kib
b
e
y
Use a local mut
e
x
in client_msg_
t
hread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
K
ib
b
ey
Use a gof
f
set r
a
t
her than gsize f
o
r cryp
t
o->in
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben K
i
b
be
y
Fixed s
t
atus messages to use t
h
e n
e
w iteratio
n
type
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kib
b
ey
F
ix
e
d
data file
portabil
i
ty
between vario
u
s
s
y
s
te
m
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibb
e
y
A few m
o
re
p
thread_testc
a
ncel(
)
's
.
Shou
l
d be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Kibbey
Thread cance
l
lation
tests
i
n do_compress(
)
a
n
d
d
o_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
B
en Kibbey
Don'
t
s
e
nd sta
t
us messag
e
s to clients that
a
re
exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kib
b
ey
Fixed a segfault with the
S
A
VE command wh
e
n used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n
Kibbey
Mor
e
thread c
a
ncelation tes
t
s and handle
r
s
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n K
i
bb
e
y
Cr
e
ate a mutex for t
h
e custom memory fu
n
ctions
.
F
i
xe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
B
e
n Kibbey
C
r
eate a
n
ew thread when r
e
l
oading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More thread can
c
ell
a
t
io
n
tes
t
s (more to come) and th
r
e
ad
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A couple mo
r
e threa
d
canc
e
l
l
ation tests an
d
c
l
eanups
.
commit
|
commitdiff
|
tree
2009-01-27
Be
n
Kibbe
y
If th
e
client th
r
ead
t
e
r
m
inates
wh
i
le a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Set
u
p a cleanup
h
a
n
dler in iterate_crypto_once() i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
When encrypting/
d
ecryptin
g
, don'
t
do the whole
t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
In cleanup
_
c
b
(
)
, don't free
cn->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n
Kibbey
Better mu
t
ex locking and unl
o
cking macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update the
m
t
i
me in do_xml_encryp
t
()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbuf
is
s
et to
t
he data t
o
encr
y
pt when pa
s
sed
t
o
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memory
f
uncti
o
ns in do_co
m
press() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Retur
n
GPG
_
ERR_ENOANO if the dat
a
file
i
s not a
regu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
A
couple minor cac
h
e
.
c cle
a
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed po
t
entia
l
ly not freeing all cache
entr
i
es i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
e
y
Fixed status mess
a
ges send with send
_
s
t
atus
_
all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Fixe
d
tls_init()
not initializing the SHA-1 hash
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
In
i
tialize l
i
bgcr
y
pt properly by ca
l
l
in
g
g
cry_check_ve
r
sion()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initTlsParams() and deinitTlsParams() to t
l
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
e
y
Added opt
i
o
n
"tcp_use_crl"
.
Wh
e
n
T
RUE, ~/
.
pwm
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kib
b
ey
Set the si
g
nal mask before o
t
her t
h
re
a
ds are
c
reated
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Don't tr
y
and
link
w
ith -lrt on systems oth
e
r than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a
comp
i
le
t
i
m
e
e
r
r
or on F
r
ee
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a compil
e
t
im
e
war
n
ing
o
n FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Remove old <
v
1
.
11 comm
a
nd li
n
e option
-b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Use PTHREAD_MUTEX_RECURSIVE not PT
H
READ
_
M
UTE
X
_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Fixed some comple
t
ime conditionals
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
b
bey
Restore cl
i
ent->has_
l
oc
k
in
c
l
eanu
p
_cl
i
e
nt(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Use a structu
r
e in file_cache_
t
to hold the
f
il
e
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
The cl
i
ent mu
s
t expl
i
citly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't write a l
o
g messa
g
e when the cache mutex is lo
c
k
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really
fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Ki
b
be
y
Revert
"Fix
for comm
i
t a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben K
i
bbey
R
estart
the keepalive_thread() afte
r
receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Stop accepting
TCP connecti
o
ns when shutt
i
ng do
w
n
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_
D
EBUG is defined then set the
x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kib
b
ey
Use an SHA-1 fingerprint
r
ather
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
F
i
x
e
d a segfault when TLS fai
l
ed negot
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
Cr
e
ate the client_msg_thread and
client_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibb
e
y
Only append
unique status
messages t
o
t
h
e
m
e
s
s
age q
u
e
u
e
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the current thread is calling send_status
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Make sur
e
t
h
e ms
g
m
u
tex i
s
u
n
locked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Kibbey
Cr
e
at
e
a me
s
sage queu
e
that
w
on't bl
o
ck
send_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
P
orted to
pthread
.
c
a
che
_
mutex and cn_mute
x
are no
w
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop or start the
t
c
p_ac
c
e
pt
_
th
r
ead() dep
e
nding
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the copyright headers for
2
009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
F
ixed a pinentry
s
egfault (hopefully)
d
uring clea
n
up
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
A
l
l
ow
o
ther char
a
cters in the filen
a
me w
h
e
n
using GET
C
ONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbey
Retur
n
GPG_
E
RR_NO_VA
L
UE instead of a syntax e
r
r
o
r from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
R
e-add
.
flag
s
t
o
the
n
ew v2 fil
e
header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
F
ixed
a memory
l
e
ak
i
n pi
n
entry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n
Kibbey
Fi
x
ed
s
tarting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
bey
Warn about errors opening a key_file while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed cl
e
a
r
_cache
(
)
c
learing all cache
e
ntr
i
es
.
commit
|
commitdiff
|
tree
2009-01-08
B
en
Kibbey
Fixe
d
a memory leak create_dtd(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed asking for a passphr
a
se after opening a
n
e
w
file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed
c
losing the w
r
ong
FD
i
n clean
u
p_c
r
ypto
(
)
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben
Kibbey
Fixed SAVE
wit
h
a
pass
p
hras
e
speci
f
ie
d
in t
h
e comm
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the cipher
h
andle
in crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbe
y
Fixed some compile-time
w
a
rnin
g
s
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibbey
T
h
e "disab
l
e_list
_
and_d
u
mp" configuration parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
When importing, c
o
n
v
e
r
tin
g
and
p
ushing
f
iles into t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben K
i
bb
e
y
Some code
rearrangements
.
Getting
rea
d
y to fix freei
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kib
b
ey
Show the
o
utput filename and not stdout in t
h
e
i
mport
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben
Kibbey
Fi
x
ed a
memory
leak in do
_
cache_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ibbey
Handle STATUS_
C
OMPRESS/
D
ECOMPRES
S
/
ENCRYPT/DE
C
RYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ib
b
e
y
Fixed the
p
inentry
d
ialog sho
w
ing the wrong
filena
m
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
F
ixed
f
reeing "tcp_wait" in tcp_accept_thread()
before
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Ad
d
ed
configu
r
ation parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Check
t
he return value of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Upda
t
ed the
d
o
cs
.
commit
|
commitdiff
|
tree
next