pkey_get_dsa
static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
return pkey_get_dsa(pktmp, dsa); /* will free pktmp */