Adapt i2d_PrivateKey for provider only keys