summaryrefslogtreecommitdiff
path: root/src/certtool-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/certtool-common.h')
-rw-r--r--src/certtool-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/certtool-common.h b/src/certtool-common.h
index e48396029f..91a4c6d1e9 100644
--- a/src/certtool-common.h
+++ b/src/certtool-common.h
@@ -73,6 +73,8 @@ typedef struct common_info {
/* set to non zero when no compatibility structs need to be exported */
unsigned no_compat;
+
+ unsigned rsa_pss_sign;
} common_info_st;
/* this must be provided by the app */
@@ -142,4 +144,6 @@ void fix_lbuffer(unsigned long);
void decode_seed(gnutls_datum_t *seed, const char *hex, unsigned hex_size);
+#define GNUTLS_PK_IS_RSA(pk) ((pk) == GNUTLS_PK_RSA || (pk) == GNUTLS_PK_RSA_PSS)
+
#endif