some fixes in pkcs7.c