summaryrefslogtreecommitdiff
path: root/lib/x509.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-01 09:48:56 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-01 09:50:26 +0100
commit0ca04a5685d136c638d6574237144a1ee5c6830a (patch)
tree41854c0ccad775713dbd234969f3366da661a0be /lib/x509.h
parent9929402e393677b78502a67f655e1fd4b13ed3fe (diff)
downloadgnutls-0ca04a5685d136c638d6574237144a1ee5c6830a.tar.gz
Removed redundant certificate key usage checks.
There were redundant checks when a certificate was obtained, as well as prior to performing operations with certificates/pubkeys. Kept the checks prior to operations.
Diffstat (limited to 'lib/x509.h')
-rw-r--r--lib/x509.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/x509.h b/lib/x509.h
index 8048416691..4da17761cd 100644
--- a/lib/x509.h
+++ b/lib/x509.h
@@ -33,9 +33,6 @@ int _gnutls_x509_cert_verify_peers(gnutls_session_t session,
#define PEM_CRL_SEP "-----BEGIN X509 CRL"
-int _gnutls_check_key_usage(const gnutls_pcert_st * cert,
- gnutls_kx_algorithm_t alg);
-
int _gnutls_x509_raw_privkey_to_gkey(gnutls_privkey_t * privkey,
const gnutls_datum_t * raw_key,
gnutls_x509_crt_fmt_t type);