summaryrefslogtreecommitdiff
path: root/lib/x509/key_decode.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-25 13:28:44 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-03 11:57:52 +0200
commit97e50498870b009bf7259fb05130aa17f1ade6f0 (patch)
treeb5056e4527b4190d0d55856e1d094ae3a7d800ab /lib/x509/key_decode.c
parent5d9d26fa3b977fdca74730c56fbcd5bc55839171 (diff)
downloadgnutls-97e50498870b009bf7259fb05130aa17f1ade6f0.tar.gz
gnutls_x509_privkey_int: eliminated duplicate pk_algorithm field
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/key_decode.c')
-rw-r--r--lib/x509/key_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/key_decode.c b/lib/x509/key_decode.c
index 6c90c648f9..97f240e783 100644
--- a/lib/x509/key_decode.c
+++ b/lib/x509/key_decode.c
@@ -450,7 +450,7 @@ int _gnutls_x509_check_pubkey_params(gnutls_pk_algorithm_t algo,
{
switch (algo) {
case GNUTLS_PK_RSA_PSS: {
- unsigned bits = pubkey_to_bits(algo, params);
+ unsigned bits = pubkey_to_bits(params);
const mac_entry_st *me = hash_to_entry(params->spki.rsa_pss_dig);
size_t hash_size;