Library part of my OpenAS2 fork