summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-02-19 11:08:31 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-02-19 11:08:31 +0100
commit3c47d777dedfb76fc9c488e553337e4854f98dd6 (patch)
treea252b33b2e050d4c538022eece1fa74d834aeae0 /lib
parent98a1a6b8d519985e7fa660f50edc5d947eca5227 (diff)
downloadgnutls-3c47d777dedfb76fc9c488e553337e4854f98dd6.tar.gz
simplify names
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
index 6f4fc7b969..751c4e70cc 100644
--- a/lib/x509/verify.c
+++ b/lib/x509/verify.c
@@ -527,7 +527,7 @@ int hash;
* procedure. Issuer will hold the actual issuer from the trusted list.
*/
static int
-_gnutls_verify_certificate2(gnutls_x509_crt_t cert,
+verify_crt(gnutls_x509_crt_t cert,
const gnutls_x509_crt_t * trusted_cas,
int tcas_size, unsigned int flags,
unsigned int *output,
@@ -876,7 +876,7 @@ _gnutls_x509_verify_certificate(const gnutls_x509_crt_t * certificate_list,
*/
output = 0;
max_path = MAX_VERIFY_DEPTH;
- ret = _gnutls_verify_certificate2(certificate_list[clist_size - 1],
+ ret = verify_crt(certificate_list[clist_size - 1],
trusted_cas, tcas_size, flags,
&output, &issuer, now, &max_path,
nc, func);
@@ -905,7 +905,7 @@ _gnutls_x509_verify_certificate(const gnutls_x509_crt_t * certificate_list,
flags |= GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT;
}
if ((ret =
- _gnutls_verify_certificate2(certificate_list[i - 1],
+ verify_crt(certificate_list[i - 1],
&certificate_list[i], 1,
flags, &output, NULL, now,
&max_path, nc, func)) == 0) {