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
All commands that send data use do_assuan_command() or xfer_data(). This
2009-04-19
Ben Kibbey
A
l
l comm
a
nds
that sen
d
d
a
ta u
s
e do_assuan_command(
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben
K
ibbey
The XFER s
t
atus message is
se
n
t with the LIST, D
U
MP
.
.
.
commit
|
commitdiff
|
tree
2009-04-19
Ben Kibbey
Log what
socket this invo
k
ation is li
s
teni
n
g
on
.
commit
|
commitdiff
|
tree
2009-04-19
Be
n
Kibbe
y
Initi
a
lize the pin mut
e
x w
h
en converting (-C
)
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Ki
b
bey
Require automake
2
.
60
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
Rem
o
ved EPWMD_FILE_ACCESS
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
Kibb
e
y
Set the cl
i
ent name in the pi
n
entr
y
di
a
lo
g
(OPTION
.
.
.
commit
|
commitdiff
|
tree
2009-04-18
Ben Kibbey
M
i
n
o
r
cleanup
.
R
e
moved cleanup_crypto_hand
l
er()
.
commit
|
commitdiff
|
tree
2009-04-18
Be
n
K
i
bb
e
y
No need
to c
r
eate a
n
ex
t
ra thread in client_msg_thread
.
.
.
commit
|
commitdiff
|
tree
2009-04-11
Ben K
i
b
b
ey
Added a new sta
t
us message XFER
for use with the
GET
.
.
.
commit
|
commitdiff
|
tree
2009-04-04
Ben Kib
b
ey
When an op
t
ion
v
alue string is NULL, reset it to
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-04-03
Ben Ki
b
bey
L
e
t I
S
CACHE
D
c
heck
f
or fil
e
existe
n
ce with access
(
2
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Wait for th
e
write_status_thread() to return (
o
r timeout) i
n
commit
|
commitdiff
|
tree
2009-03-21
Ben
K
ibbey
Compare only "<?xml version=" in
the decrypt
e
d documen
t
.
.
.
commit
|
commitdiff
|
tree
2009-03-21
Ben Kibbey
Make client_m
s
g
_
t
h
r
e
ad() joinable
.
commit
|
commitdiff
|
tree
2009-03-21
B
en Kibbey
Use g_get_home
_
dir() inste
a
d
.
commit
|
commitdiff
|
tree
2009-03-20
Ben
K
ibbey
Removed all tc
p
/remot
e
/GnuTLS su
p
port
.
Remote conne
c
tions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix tls
.
c compile-time warning
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
D
ont link
with
-
lrt or
-lp
t
hread
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Rem
o
ve
d
aci
n
clude
.
m
4
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
Chec
k
for EDEADLK in MUTEX_UNLOCK
.
It
can b
e
i
g
nore
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbe
y
Wait for thread TID events
which
a
re t
r
igge
r
e
d when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Catch SI
G
ABRT, but not SIGUSR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Ch
e
ck
the r
e
turn
v
a
l
ue
f
ro
m
pth_spaw
n
(
)
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibb
e
y
M
inor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kib
b
ey
U
se
t
h
read-safe libgcrypt and lib
g
pg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
D
ont write a log mes
s
age in
MUTEX_T
R
Y
L
O
CK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
U
se MUTEX_TRYLOCK every
w
h
ere STATUS_L
O
CKED i
s
sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
Fixe
d
un
l
o
c
k
_
file_m
u
tex() releasing t
h
e unlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Be
n
Kibbey
check the return of pth_
m
u
t
ex_acquire and pt
h
_mutex_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben
K
ibbey
squash before commi
t
ing
t
o
master
.
this is the
i
n
i
t
ial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben
Kibbey
Use "git log" not "git-log" in t
h
e Makefile 'changelo
g
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
B
en Kibbey
Added OPTION
LC_CTYP
E
and OPTION L
C
_
M
ESSA
G
ES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
Kibb
e
y
Fixed a
t
y
po
in the pre
v
io
u
s commit
.
Destr
o
y th
e
cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
Kibbey
Fixed
kee
p
aliv
e
_thread() to use a local
c
ondi
t
i
o
n and
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Kibbey
Fixed aborting the
c
onnectio
n
when
the configured ke
e
p
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kibbey
Moved client_msg_thread() and clie
n
t
_
msg_sender
_
t
h
r
ead
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben K
i
bb
e
y
A
fte
r
send
i
ng a status mess
a
ge to
s
e
nd_status()
,
crea
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Remo
v
e the
e
x
i
ting client
f
rom th
e
c
l
ient
l
ist as so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor c
l
ea
n
ups in m
e
m
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Ki
b
b
e
y
L
o
ck the rcfile_mutex at e
a
ch keyfileh
a
ccess
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
D
on't lock the c
n
_mutex before cancelling the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
F
ix for the previous c
o
m
mit that wo
u
ldn't
t
er
m
i
nate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a
loca
l
mutex in c
l
ie
n
t_m
s
g_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbe
y
Use a gof
f
set rat
h
er
t
h
a
n gsize for
crypt
o
->insiz
e
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
F
i
xed s
t
atus messa
g
es to us
e
th
e
new iteration t
y
p
e
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
Fixed
da
t
a file portability b
e
tween va
r
ious s
y
stems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
A few more pthread_testcancel
(
)'s
.
Should b
e
the
l
a
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
Kibbey
Thread c
a
ncellation tests
in do_compress(
)
and do_decompre
s
s
()
.
commit
|
commitdiff
|
tree
2009-01-29
B
e
n Kibb
e
y
Don't send
s
tatus messag
e
s
t
o
clients that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
Fixed
a se
g
f
a
ul
t
w
ith
the SAVE c
o
mmand
when
used with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
More threa
d
cancelation tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
Create a mutex for the custom memory function
s
.
Fixe
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
K
ibbey
C
reate a n
e
w
thread when re
l
oading the rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
M
o
re
t
hread cancellatio
n
tests
(more
to come) and
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Ki
b
b
e
y
A
couple more thr
e
ad can
c
ellation
tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If th
e
client thread terminat
e
s while a
p
inentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Ki
b
bey
Set
u
p a cleanu
p
ha
n
d
l
er in iterate_crypto_onc
e
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
i
bbey
When encrypting/decrypt
i
n
g
, do
n
't do the who
l
e thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
In
cleanu
p
_cb(),
d
o
n
't free
c
n->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Better
m
utex locking and unlocking macros
.
Use
f
ul for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
U
p
date th
e
mtime in d
o
_xml_en
c
rypt(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inbuf is
s
et to the da
t
a to encr
y
p
t
when p
a
ssed to
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibb
e
y
Use gcry_
.
.
.
memory functions
i
n do
_
compre
s
s() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kib
b
ey
Return GPG_ERR_ENOANO if th
e
data
f
ile is not a regu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
A
couple min
o
r ca
c
he
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
Fixed potenti
a
lly not freeing a
l
l
cach
e
entri
e
s
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibbey
Fixed status messages send with se
n
d
_
s
t
a
t
u
s
_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init()
not initializing the
S
H
A
-
1 ha
s
h size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Initia
l
ize
libg
c
r
y
pt
p
roperly by
c
alling gcry_check_version(
)
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
i
b
bey
Move initTlsParams() and deinitTlsPar
a
ms() t
o
tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
e
y
Added
o
ption "tcp_use_crl"
.
When TRUE, ~/
.
pwmd
/
c
r
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
S
et the
s
ignal ma
s
k
b
efore other threa
d
s are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
D
o
n't try and
l
in
k
w
i
th -lrt on syst
e
ms other than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Fixed a c
o
m
p
ile time error on F
r
eeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
xed a compile ti
m
e warnin
g
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
Rem
o
ve old <
v1
.
1
1 command line
o
ption -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Use
P
THREAD_MUTEX_RECURS
I
V
E
not
P
T
HREAD_MUTEX_RECURSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
F
ixe
d
some c
o
mple time cond
i
t
i
onal
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
i
b
b
ey
Res
t
ore client
-
>has_lock in cleanup_cli
e
nt()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
U
s
e a str
u
cture in fil
e
_
c
ache_t to hold the file
m
ut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
T
he client must ex
p
licitly set
OPTI
O
N PIN
E
NTR
Y
i
f
th
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Don't wr
i
t
e
a lo
g
messa
g
e
when t
h
e cache
m
utex is locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Really fix commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Ki
b
bey
Revert "
F
ix
f
or commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Be
n
K
i
bbey
Fi
x
for commit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
Re
s
tart the
keepalive
_
t
hread()
a
fter receiving
SIGHU
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Sto
p
acc
e
pting TCP co
n
nect
i
ons when shutting down and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
B
e
n Kibbey
If MEM
_
DEBUG is defined then se
t
the x
.
.
.
de
/
allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-1 fingerprin
t
rath
e
r
t
han MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Fixed a segfault w
h
en T
L
S failed negot
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben
Kibbey
Cre
a
te the clien
t
_msg_thread and client_ms
g
_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
O
n
ly append unique s
t
atus
messages to the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
If the current thr
e
ad is calling send_status_
a
ll()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make s
u
re the msg mutex i
s
unlocked
b
e
f
ore trying
t
o
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Create
a
m
e
ssage
queue that wo
n
't b
l
ock sen
d
_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kibbey
Ported
t
o pthread
.
cache_mutex and c
n
_mutex
a
re now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
S
I
GH
U
P will
sto
p
or st
a
r
t
the
t
c
p_
a
ccept_thread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated th
e
co
p
yr
i
ght headers
f
or 2009
.
commit
|
commitdiff
|
tree
next