Description: Fix FTBFS with GCC 10. Author: Yavor Doganov Bug-Debian: https://bugs.debian.org/957287 Forwarded: gnomint-devel@lists.sourceforge.net Last-Update: 2020-06-23 --- --- gnomint-1.3.0.orig/src/ca_file.h +++ gnomint-1.3.0/src/ca_file.h @@ -69,6 +69,7 @@ GList * ca_file_get_revoked_certs (guint64 ca_id, gchar **error); +typedef enum {CA_FILE_CA_COLUMN_ID=0, CA_FILE_CA_COLUMN_SERIAL=1, CA_FILE_CA_COLUMN_SUBJECT=2, @@ -78,6 +79,7 @@ CA_FILE_CA_COLUMN_NUMBER=6} CaFileCAColumns; +typedef enum {CA_FILE_CERT_COLUMN_ID=0, CA_FILE_CERT_COLUMN_IS_CA=1, CA_FILE_CERT_COLUMN_SERIAL=2, @@ -93,6 +95,7 @@ CA_FILE_CERT_COLUMN_NUMBER=12} CaFileCertColumns; +typedef enum {CA_FILE_CSR_COLUMN_ID=0, CA_FILE_CSR_COLUMN_SUBJECT=1, CA_FILE_CSR_COLUMN_PRIVATE_KEY_IN_DB=2,