summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 0f8b93eab4..75f4326da4 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -189,7 +189,9 @@ typedef struct gnutls_x509_spki_st {
typedef struct {
bigint_t params[GNUTLS_MAX_PK_PARAMS];
unsigned int params_nr; /* the number of parameters */
- unsigned int flags; /* curve */
+ unsigned int pkflags; /* gnutls_pk_flag_t */
+ unsigned int qbits; /* GNUTLS_PK_DH */
+ gnutls_ecc_curve_t curve; /* GNUTLS_PK_EC, GNUTLS_PK_ED25519 */
gnutls_datum_t raw_pub; /* used by x25519 */
gnutls_datum_t raw_priv;