diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-18 10:21:44 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-18 10:21:44 +0100 |
commit | 2e43ce3295c61d3773fb10f83b431c10bb17aca5 (patch) | |
tree | 994bc6a1989e559fc87bafb32a6403efac918eee /tests/dn2.c | |
parent | 79f9ccf8a9196a809595bd039722a4ea0a0e26f3 (diff) | |
download | gnutls-2e43ce3295c61d3773fb10f83b431c10bb17aca5.tar.gz |
corrected var names
Diffstat (limited to 'tests/dn2.c')
-rw-r--r-- | tests/dn2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dn2.c b/tests/dn2.c index 290e910ef2..26a66de308 100644 --- a/tests/dn2.c +++ b/tests/dn2.c @@ -69,7 +69,7 @@ static const char *info = void doit (void) { - gnutls_datum_t der = { (void*)pem, sizeof (pem) }; + gnutls_datum_t pem_cert = { (void*)pem, sizeof (pem) }; gnutls_x509_crt_t cert; gnutls_datum_t out; int ret; @@ -82,7 +82,7 @@ doit (void) if (ret < 0) fail ("crt_init %d\n", ret); - ret = gnutls_x509_crt_import (cert, &der, 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); |