summaryrefslogtreecommitdiff
path: root/tests/dn.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-18 10:21:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-18 10:21:44 +0100
commit2e43ce3295c61d3773fb10f83b431c10bb17aca5 (patch)
tree994bc6a1989e559fc87bafb32a6403efac918eee /tests/dn.c
parent79f9ccf8a9196a809595bd039722a4ea0a0e26f3 (diff)
downloadgnutls-2e43ce3295c61d3773fb10f83b431c10bb17aca5.tar.gz
corrected var names
Diffstat (limited to 'tests/dn.c')
-rw-r--r--tests/dn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dn.c b/tests/dn.c
index bb455bcec7..3c40b98052 100644
--- a/tests/dn.c
+++ b/tests/dn.c
@@ -90,7 +90,7 @@ void
doit (void)
{
int ret;
- gnutls_datum_t derCert = { (unsigned char*)pem, sizeof (pem) };
+ gnutls_datum_t pem_cert = { (unsigned char*)pem, sizeof (pem) };
gnutls_x509_crt_t cert;
gnutls_x509_dn_t xdn;
@@ -102,7 +102,7 @@ doit (void)
if (ret < 0)
fail ("crt_init %d\n", ret);
- ret = gnutls_x509_crt_import (cert, &derCert, GNUTLS_X509_FMT_PEM);
+ ret = gnutls_x509_crt_import (cert, &pem_cert, GNUTLS_X509_FMT_PEM);
if (ret < 0)
fail ("crt_import %d\n", ret);