Fixed variable declarations in pkcs7_create_deg

py2, crl_stack and cert_stack were missing.