diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-03 16:16:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-04 11:08:51 +0200 |
commit | 41a7ed7097994a5d89eccbef7c0c0bb912ebd388 (patch) | |
tree | 4716020660e43dfce7924ef4cd12a04201aef42f /lib/x509/key_decode.c | |
parent | 2fa181ce2aa3c2f89c0eb95cef0e66ff8658831f (diff) | |
download | gnutls-41a7ed7097994a5d89eccbef7c0c0bb912ebd388.tar.gz |
_gnutls_x509_check_pubkey_params: removed unnecessary parameter
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/key_decode.c')
-rw-r--r-- | lib/x509/key_decode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/x509/key_decode.c b/lib/x509/key_decode.c index 63256cb8c8..4dab121fcf 100644 --- a/lib/x509/key_decode.c +++ b/lib/x509/key_decode.c @@ -453,10 +453,9 @@ int _gnutls_x509_read_pubkey_params(gnutls_pk_algorithm_t algo, /* This function must be called after _gnutls_x509_read_pubkey() */ -int _gnutls_x509_check_pubkey_params(gnutls_pk_algorithm_t algo, - gnutls_pk_params_st * params) +int _gnutls_x509_check_pubkey_params(gnutls_pk_params_st * params) { - switch (algo) { + switch (params->algo) { case GNUTLS_PK_RSA_PSS: { unsigned bits; const mac_entry_st *me; |