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
Create a mutex for the custom memory functions. Fixes list corruption.
2009-01-28
Ben
K
i
bbey
Create a
mute
x
for
the
custom memory f
u
nctions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
Create
a
new thread when rel
o
a
ding the
r
cfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Ki
b
bey
M
o
re thread cance
l
l
ati
o
n tests (more to come) and thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
bb
e
y
A co
u
p
le
m
ore thre
a
d
cance
l
lation t
e
sts and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben K
i
bbey
I
f
the
c
lient
thread t
e
rminates w
h
ile a pi
n
entry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Setup
a cleanup handler in
iterate_crypto_once
(
) in
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When encrypting/decr
y
pting, d
o
n't do t
h
e whole t
h
ing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Ki
b
b
ey
In cleanup_cb(), don't free c
n
->name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
B
etter
mutex locking and
unlocking macros
.
Usef
u
l
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
K
ibbey
Update the mti
m
e in do_xml_encry
p
t
(
)
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
c
rypto->in
b
u
f is set
to
t
he data
to
e
n
c
rypt wh
e
n
p
assed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
ey
Use
g
cry_
.
.
.
mem
o
ry func
t
ions in
d
o
_compress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
K
ibb
e
y
Re
t
u
r
n G
P
G_E
R
R
_ENOANO if the da
t
a file is not a regu
l
ar
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
K
ibbey
A cou
p
le minor c
a
c
he
.
c
c
l
ea
n
ups
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
bbe
y
Fixed potentiall
y
n
o
t
freeing all cache entries
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bb
e
y
F
ixed status
m
e
ssages send with send_stat
u
s_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() not init
i
aliz
i
ng the SHA
-
1
hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
Initializ
e
libg
c
r
ypt properly by calling gcry_check_version
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
Move
initT
l
sParams() and deinit
T
lsP
a
rams() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en K
i
bbey
Added option "
t
c
p
_
use_crl"
.
When TRUE, ~
/
.
pwmd/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbe
y
Set the
signa
l
m
ask
before other threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Do
n
't
t
r
y
and link with -
l
rt
on systems other t
h
an
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbe
y
Fixed a compile time e
r
ror on Free
B
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
b
e
y
Fixe
d
a
compile time warning on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Remove old <
v1
.
1
1 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Ki
b
bey
Use PT
H
READ_MUTEX_R
E
CURSIVE
n
o
t
PTHREAD_MU
T
EX_R
E
C
URSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibb
e
y
Fi
x
ed some com
p
l
e
t
ime condi
t
i
o
nals
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Re
s
tore
cli
e
nt->has_lock in cleanup_c
l
i
e
nt
(
)
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Us
e
a struct
u
re in
f
ile
_
cache_
t
t
o hold the f
i
le mutex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Ki
b
bey
T
h
e clie
n
t must e
x
pli
c
i
t
ly
s
e
t
O
PTION PINEN
T
RY if t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Be
n
Kibbey
Don't write
a log message wh
e
n
the cache m
u
tex is lock
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
en Ki
b
bey
Really fix
c
o
mm
i
t
a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbe
y
R
e
vert
"Fix for commit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fix for
c
ommit a7e15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
Kibbey
Restart th
e
k
e
epalive
_
thread() after receiving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibb
e
y
Stop accep
t
ing TCP
connections when shutting down
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If
M
EM_DEBUG is d
e
f
i
ned then
s
et the
x
.
.
.
de/all
o
cators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
K
ib
b
ey
Use a
n
SHA-1
f
i
n
gerprint rather than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a
segfa
u
l
t
when TLS failed
n
egotiation
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
C
r
eate the
c
lient_msg_thread a
n
d clie
n
t_msg_send
e
r_thre
a
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Ki
b
bey
Only append
unique stat
u
s messa
g
es to
t
he m
e
s
s
age queue
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
If the curren
t
thre
a
d is calling sen
d
_statu
s
_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kib
b
ey
Make sur
e
t
h
e msg mute
x
i
s
u
nloc
k
ed before
t
ry
i
ng to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
Cre
a
te a m
e
ss
a
ge
q
ueue that won't block send
_
status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Kib
b
ey
P
orted to pthread
.
c
a
che_mut
e
x and cn_mutex ar
e
now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbe
y
SI
G
HU
P
wi
l
l s
t
op or sta
r
t the t
c
p_accept_thread()
d
epe
n
di
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Updated the
c
opyr
i
g
h
t
headers for 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibb
e
y
F
i
x
e
d a p
i
nentr
y
segfault (hopef
u
lly) dur
i
ng clean
u
p
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Allow othe
r
ch
a
racters in the fi
l
en
a
me
w
hen
using GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Mo
v
ed COMMANDS to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re
t
u
rn GPG_ERR_NO_VALUE ins
t
ead of
a
s
yntax e
r
ror fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Re-ad
d
.
flags to the n
e
w
v
2 file header
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Fixed a memo
r
y leak in pinen
t
ry_ite
r
ate()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
Fixed s
t
arting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
b
ey
W
a
r
n
a
bout errors ope
n
in
g
a ke
y
_
f
i
le while
parsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbe
y
Fixed clear_c
a
che() clearing
all ca
c
he e
n
t
ries
.
commit
|
commitdiff
|
tree
2009-01-08
B
en
Kibbey
Fixed a m
e
mory
l
e
a
k create_dtd
(
)
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed ask
i
ng f
o
r
a
passp
h
rase
af
t
er opening a
n
ew file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben K
i
bb
e
y
Fixed closing t
h
e
w
rong FD in
clean
u
p_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Be
n
Kibbey
F
ixed
S
AVE with a
pa
s
s
p
h
r
ase spec
i
f
i
ed in th
e
command
.
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Close the cipher
h
a
n
dle
i
n cry
p
to_cl
e
anu
p
();
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compile-time war
n
ings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "dis
a
ble_l
i
st_and_dump" configurat
i
on parameter
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When import
i
ng, conv
e
r
t
in
g
and pushing fi
l
es into the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
ib
b
ey
Some
c
ode rearrangements
.
Gettin
g
ready to
fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben K
i
bbey
S
h
o
w the ou
t
put
f
il
e
n
a
me and no
t
st
d
out in the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbe
y
F
ixed a memory
l
eak in do_cache_push
(
)
.
The docum
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbe
y
H
a
n
d
l
e STATUS_C
O
M
PRESS/DECOMPRESS/
E
NCRY
P
T
/
DECRYPT
i
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben
K
ibbey
Fixed
the
p
i
nentry dialog
showing the wron
g
filename
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
e
n
K
i
b
bey
Fixed freeing "tcp_wait"
i
n
t
cp_accept_thread
(
) befo
r
e
.
.
.
commit
|
commitdiff
|
tree
2008-12-20
B
en Kibbey
Added co
n
fig
u
r
a
tion param
e
t
e
r "ciphe
r
_su
i
t
e"
.
commit
|
commitdiff
|
tree
2008-12-20
Ben Ki
b
bey
Check the return
valu
e
of
pth_sp
a
wn(
)
.
commit
|
commitdiff
|
tree
2008-12-19
B
e
n Kibbey
Updated the docs
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kibbey
Use send_status
(
)
f
r
o
m
C
ACH
E
_LOCK
.
commit
|
commitdiff
|
tree
2008-12-19
Ben Kib
b
ey
Set
t
he thread
n
ame for othe
r
thre
a
ds too
.
commit
|
commitdiff
|
tree
2008-12-18
Ben
K
ibb
e
y
Removed the unu
s
ed file header variables
.
They c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-12-18
Ben Kibbey
Allow
"
GETCO
N
FIG key" and
"
GET
C
ONFIG key
_
f
il
e
"
.
commit
|
commitdiff
|
tree
2008-12-13
Ben Kibbey
Added com
m
and VERSION t
o
ret
u
rn the
version
s
tr
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-13
Be
n
Kibbey
S
et
the
c
li
e
nt FD to
n
o
n-bl
o
c
king in t
h
e BYE notifier
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
B
e
n Kibbey
W
h
en "key_fi
l
e" is sp
e
cified in the configuration and
.
.
.
commit
|
commitdiff
|
tree
2008-11-23
Ben Kibbey
Retu
r
n a gboolean from valid
a
te_access()
.
commit
|
commitdiff
|
tree
2008-11-22
Ben Kibbey
Merge branch 'v2'
commit
|
commitdiff
|
tree
2008-11-21
B
e
n Kibbey
Use
a t
e
mporary variabl
e
in reload_
r
c
f
il
e
(
) in case
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben
Kibbey
WIT
H
_GNUTL
S
fixes
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Revert "
S
e
t
the
c
lient soc
k
e
t
fi
l
e
descrip
t
or to non
.
.
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
Fix for
c
ommit
8
f85846
.
Show
t
he a
c
t
u
al error description
.
commit
|
commitdiff
|
tree
2008-11-21
Ben Kibbey
U
se _SC_PAGESIZE as the size argument to mlock()
.
commit
|
commitdiff
|
tree
2008-11-20
B
e
n
K
ibbey
Revert "F
i
xed a lea
k
i
n
c
ache_f
r
ee()
.
"
commit
|
commitdiff
|
tree
2008-11-20
Ben
Kibbey
F
i
xe
d
a leak
i
n
c
a
ch
e
_free()
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Ki
b
bey
Redid
t
he file cac
h
e to use
a
GSList (singular linked
.
.
.
commit
|
commitdiff
|
tree
2008-11-20
Ben Kibbey
Mov
e
d
re
a
d_hook() an
d
writ
e
_ho
o
k()
to
t
ls
.
c
.
commit
|
commitdiff
|
tree
2008-11-20
Ben K
i
bbey
Use
l
og_write()
i
nstead
o
f warn[x] and
f
printf(stderr
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben K
i
bb
e
y
Let
t
h
e
"key_f
i
l
e
"
configuration para
m
eter work
with
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben K
i
bbey
Reve
r
t "Fixed
OP
E
N and SAVE
to use the "key_file" i
f
.
.
.
commit
|
commitdiff
|
tree
2008-11-19
Ben Kib
b
ey
Reve
r
t "Add
e
d OPTIO
N
KEYFILE
.
Setting to 0 will disable
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
K
ibbey
Added OPT
I
ON KEYFILE
.
Setting to
0
will disable tryi
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
B
e
n Kib
b
ey
Fi
x
ed
OPEN a
n
d S
A
VE to
u
se the "key_file" if specified
.
.
.
commit
|
commitdiff
|
tree
2008-11-18
Ben
Kibbey
L
e
t -
C
use
a
keyfile
w
ith -
k
.
commit
|
commitdiff
|
tree
2008-11-15
Ben Kibbe
y
Fi
x
ed a couple of m
i
nor
m
emory l
e
aks
.
commit
|
commitdiff
|
tree
2008-11-15
Ben
K
ibbey
Ad
d
ed
configuration
o
ption
"
tcp_wait"
.
Sets
the time
.
.
.
commit
|
commitdiff
|
tree
next