- err = gcry_mpi_scan(&rsa->n, GCRY_FMT_HEX, n, 0, NULL)
- ?: gcry_mpi_scan(&rsa->e, GCRY_FMT_HEX, n, 0, NULL)
- ?: gcry_mpi_scan(&rsa->d, GCRY_FMT_HEX, n, 0, NULL);
+ err = gcry_mpi_scan(&rsa->n, GCRYMPI_FMT_HEX, n, 0, NULL)
+ ?: gcry_mpi_scan(&rsa->e, GCRYMPI_FMT_HEX, e, 0, NULL)
+ ?: gcry_mpi_scan(&rsa->d, GCRYMPI_FMT_HEX, d, 0, NULL);