Imported p11-kit from FreeBSD svn.