summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-25 10:16:40 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-03 11:57:52 +0200
commit99d5d8ae0eda8bbcfe118b1df987aea8ef142cf4 (patch)
treea7ebf84c99925e33dc3eb6c9fa238e9ef6769f2d /lib/crypto-backend.h
parent67fac0f4ccb43c983c110060639de95168ca04a1 (diff)
downloadgnutls-99d5d8ae0eda8bbcfe118b1df987aea8ef142cf4.tar.gz
gnutls_pk_params_st: renamed sign field to spki
The name "sign" was ambiguous with regard to its intented use, as it could refer to digital signature parameters which was not exactly the case. That field contains parameters present in the subject public key info (SPKI), which could be used in a digital signature, but not necessarily. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 9a7c527a0f..347d6a7806 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -194,7 +194,8 @@ typedef struct {
unsigned int seed_size;
uint8_t seed[MAX_PVP_SEED_SIZE];
gnutls_digest_algorithm_t palgo;
- gnutls_x509_spki_st sign;
+ /* public key information */
+ gnutls_x509_spki_st spki;
gnutls_pk_algorithm_t algo;
} gnutls_pk_params_st;