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
More thread cancelation tests and handlers.
2009-01-29
Ben Kibbey
More
t
hread c
a
ncelation te
s
ts and
h
andlers
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Crea
t
e a mutex for
the custom memo
r
y
f
unctions
.
Fix
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben
Kibb
e
y
C
r
eate
a
new thread when reloa
d
i
ng the
r
c
f
il
e
.
commit
|
commitdiff
|
tree
2009-01-28
B
en Kibb
e
y
M
o
r
e thread cancellation t
e
s
ts
(m
o
r
e to come) an
d
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbey
A c
o
up
l
e
m
or
e
thread cancella
t
io
n
tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben
K
ibbe
y
If th
e
c
l
ient th
r
ea
d
ter
m
inates while a pinent
r
y is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
S
e
tup
a
clean
u
p handler in it
e
rate_cr
y
p
t
o_o
n
c
e() in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Kibbey
Whe
n
encryp
t
in
g
/decrypting,
d
on
'
t do th
e
whole th
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
I
n
cle
a
nup_cb(), don't free cn->nam
e
u
ntil everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
B
e
tter mutex locking and unl
o
cking macros
.
Useful
for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
K
ibbey
Update the mtime in do_xml_en
c
r
ypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
c
rypto->in
b
uf
i
s s
e
t
t
o the data to encrypt
w
hen
passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibb
e
y
U
s
e
gcry_
.
.
.
memory functions in do_compr
e
ss()
a
nd
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Ki
b
bey
Return GPG_ERR_ENOANO i
f
the
d
a
ta file is no
t
a reg
u
lar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
A cou
p
le minor cache
.
c clea
n
up
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed potentially not fre
e
ing all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
F
i
x
ed st
a
tus
m
essages
s
end w
i
th send_sta
t
us_
a
ll()
on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibb
e
y
Fixed tls_init() not
i
nitializing
t
he SHA-
1
hash
s
ize
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initialize l
i
bgc
r
ypt
prop
e
rly by callin
g
gcry_c
h
ec
k
_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move in
i
tTls
P
arams()
a
nd deinitTlsPara
m
s() to tl
s
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
A
d
ded option "tcp_use_crl"
.
When TRUE, ~/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Set the
s
ignal mask b
e
f
o
re other thr
e
ads are creat
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Ki
b
bey
Don't try and
l
ink with -lrt on syst
e
m
s
o
the
r
t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
F
ixed a co
m
pile ti
m
e error
on F
r
ee
B
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed
a
compile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remo
v
e old
< v1
.
11 command line optio
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Ki
b
bey
Use
P
T
HREAD_MUTEX_RE
C
U
R
SIVE not PTHREAD_MUTEX_RECURSIVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
F
i
xed some com
p
le time c
o
n
d
it
i
onal
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
R
estore client->has_lock i
n
cle
a
nu
p
_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
en
Kibbey
Use a structure
in file_ca
c
he_
t
to hold the file
mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
T
h
e client m
u
s
t
e
xplicit
l
y set OPTION
PINENTRY if
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Don't write a
l
og me
s
sage when the ca
c
he m
u
tex
i
s locked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibb
e
y
Re
a
l
l
y fi
x
commit
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Revert "Fi
x
for
commit a7e1
5
f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for commit a7e15
f
9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Restart the kee
p
alive_thread() af
t
er receiving SI
G
H
U
P
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accep
t
ing T
C
P c
o
nn
e
ctio
n
s wh
e
n
s
h
utting
d
own and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If ME
M
_DEBUG is d
e
fined then s
e
t the x
.
.
.
de/all
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Use an SHA-1 fi
n
gerprint r
a
ther than MD
5
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n
Kibbey
F
ixe
d
a segfault when TLS failed negotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the client_msg_thread a
n
d cl
i
e
n
t_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben K
i
bbey
Only append u
n
ique status m
e
ssages t
o
the message queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibb
e
y
If the current thread is
calling send_
s
tatus_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
en Kibbey
M
ake su
r
e
the m
s
g mutex is
un
l
ocke
d
before tr
y
ing to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben K
i
b
b
e
y
Create a message queue
that
w
on't b
l
ock sen
d
_status
_
al
l
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
K
ibbey
Ported
t
o
p
thread
.
cache_mutex and cn_mutex ar
e
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will
stop or
s
tart
the tcp_ac
c
ept_thre
a
d() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the copyright headers
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
B
e
n Kibbey
Fixe
d
a pine
n
try segfault (h
o
pefully)
during
cle
a
nup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Allow ot
h
er char
a
cters in the f
i
lename w
h
en using GE
T
CO
N
FI
G
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibbey
Moved COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Re
t
ur
n
GP
G
_ERR_NO_VALUE instead
of a sy
n
tax error from
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben K
i
bbey
R
e-ad
d
.
flags
to the new v2
file
header
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed a memory leak in
p
i
nen
t
ry_iterate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
F
ixed
s
tart
i
ng up without
a
n rcfi
l
e
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Warn
a
bou
t
errors opening a key_
f
ile
w
hile pars
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clear_ca
c
he() clearing all cach
e
e
ntries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fixed
a memory leak c
r
ea
t
e
_
dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
B
en Kibb
e
y
Fixed asking
fo
r
a
passphrase aft
e
r opening
a
new
f
i
l
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed
clos
i
ng the wrong FD in c
l
eanup_
c
ry
p
t
o() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fix
e
d SA
V
E
w
ith a pa
s
sphrase specified
in t
h
e co
m
mand
.
commit
|
commitdiff
|
tree
2009-01-05
Be
n
Kibbey
C
lose the ci
p
her handle in cry
p
to_clea
n
up()
;
commit
|
commitdiff
|
tree
2009-01-05
B
e
n Ki
b
bey
Fixed some compi
l
e-time
w
a
r
nings
.
commit
|
commitdiff
|
tree
2009-01-04
Be
n
Kibbey
The "di
s
able_list_and_d
u
m
p" confi
g
u
ration
p
arameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
Kibb
e
y
When importi
n
g
, converting and push
i
ng files into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
S
ome code rearrangements
.
Gett
i
ng ready to
f
ix fr
e
eing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
S
how the output file
n
am
e
and
not stdou
t
in the i
m
port
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a memory
leak in do_cache_push()
.
The docume
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
Han
d
le STATUS_COMPRESS/DECOMPR
E
S
S/ENCRYPT/DE
C
RYPT in
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
F
ixed the
pinen
t
ry di
a
log sh
o
wing the wrong filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Be
n
Ki
b
b
ey
Fixed fr
e
eing "tcp_wait"
i
n tcp_accept
_
thread() be
f
or
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Kibbey
Added configura
t
io
n
parameter "cipher_suite"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben
Kibbey
Check
th
e
ret
u
r
n
value of pth_spawn()
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Upda
t
ed the
d
ocs
.
commit
|
commitdiff
|
tree
2008-12-19
Be
n
Kibbey
U
s
e send_status() f
r
om
C
A
CHE_
L
OCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Set the thread na
m
e for other threads too
.
commit
|
commitdiff
|
tree
2008-12-18
Be
n
Kibbey
R
emov
e
d t
h
e unused f
i
le
h
eader variabl
e
s
.
They
ca
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kib
b
ey
All
o
w "GETCONFI
G
ke
y
"
and "GETCO
N
FIG key_fil
e
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added command VERSI
O
N t
o
r
eturn th
e
versi
o
n
string
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Ben
Kibb
e
y
Set
the c
l
ient FD to non-blocking in
t
he BYE
n
o
tifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
When "key_file" is specified in
t
he co
n
figurati
o
n and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kib
b
ey
Return
a gboolean from valid
a
t
e
_access()
.
commit
|
commitdiff
|
tree
2008-11-22
B
e
n Kibbey
M
erge b
r
an
c
h 'v2'
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Use a
temporar
y
variable
in
reload
_
rcfile() i
n
case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
B
en Kibbey
WITH_GNUTLS fixes
.
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Rever
t
"Set th
e
client socket file descriptor
t
o non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Ki
b
bey
Fix f
o
r commit 8f85846
.
Show
t
he actual error description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
se _SC_PAGESI
Z
E as the si
z
e
a
rgument to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
Ki
b
bey
Revert "
F
ixed a leak in cache_free()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben
K
ibbey
Fixed
a
l
eak in cache_free(
)
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Redid the fi
l
e cache to
use a
GSList (singular linke
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Be
n
Kibbey
Moved read_h
o
ok
(
) and w
r
ite_hook() to t
l
s
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
U
se log_
w
rite() in
s
tead
o
f war
n
[x] a
n
d fprintf(stde
r
r
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kibbey
Let the "key_file
"
co
n
f
i
gu
r
a
t
i
o
n
par
a
me
t
er
w
ork with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Be
n
K
i
bbey
Rev
e
rt
"Fi
x
ed OPE
N
and SAVE to use
t
he "key_file" if
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
B
e
n Kibbey
Revert "Ad
d
ed OPTION KEYFI
L
E
.
Sett
i
ng to 0
w
ill disa
b
le
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
A
d
ded OPTION KEYFILE
.
Setting to 0
will
d
i
s
able
t
ryi
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kib
b
ey
Fixed OPEN and SAVE
to
u
se the "key_file" if specifi
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben Kibbey
L
et -C us
e
a keyfile
w
ith
-k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbe
y
Fixed a couple of minor memory le
a
k
s
.
commit
|
commitdiff
|
tree
next