Properly check MSB in openssl plugin's PKCS#7 implementation