- applied patch from andreas, which allows certificate listing via stroke

This commit is contained in:
Martin Willi
2006-05-19 06:44:08 +00:00
parent 3e61d63a3a
commit 86a7937b45
17 changed files with 343 additions and 117 deletions
+15 -7
View File
@@ -106,10 +106,10 @@ down)
fi
exit 0
;;
listalgs|listpubkeys|listcerts|listcacerts|\
listaacerts|listocspcerts|listacerts|listgroups|\
listalgs|listpubkeys|listcacerts|listaacerts|\
listocspcerts|listacerts|listgroups|\
listcainfos|listcrls|listocsp|listcards|\
listall|purgeocsp|rereadsecrets|rereadgroups|\
purgeocsp|rereadsecrets|rereadgroups|\
rereadcacerts|rereadaacerts|rereadocspcerts|\
rereadacerts|rereadcrls|rereadall)
op="$1"
@@ -118,10 +118,18 @@ rereadacerts|rereadcrls|rereadall)
then
$IPSEC_WHACK "$@" "--$op"
fi
#if test -e $IPSEC_CHARON_PID
#then
# $IPSEC_STROKE "$op"
#fi
;;
listcerts|listall)
op="$1"
shift
if test -e $IPSEC_PLUTO_PID
then
$IPSEC_WHACK "$@" "--$op"
fi
if test -e $IPSEC_CHARON_PID
then
$IPSEC_STROKE "$op"
fi
exit 0
;;
ready)