summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 21:02:47 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-09-16 21:02:47 +0200
commitcf31e43a972ac163bc1181ffdd61bb658770cda1 (patch)
tree735116886cc15e3e6cdcfa2a3d75a7f8484551f1
parent53e86c9b3491b429228940d56ffd0523ca945e98 (diff)
downloadgnutls-cf31e43a972ac163bc1181ffdd61bb658770cda1.tar.gz
corrected typo
-rw-r--r--tests/x509cert-tl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509cert-tl.c b/tests/x509cert-tl.c
index 7a359927ef..2753daa185 100644
--- a/tests/x509cert-tl.c
+++ b/tests/x509cert-tl.c
@@ -250,7 +250,7 @@ doit (void)
fail("gnutls_x509_trust_list_add_trust_mem: %d (%s)\n", __LINE__, gnutls_strerror(ret));
data.data = cert_der;
- data.size = sizeof((char*)cert_der);
+ data.size = sizeof(cert_der);
ret = gnutls_x509_trust_list_add_trust_mem(tl, &data, NULL, GNUTLS_X509_FMT_DER, 0, 0);
if (ret < 1)
fail("gnutls_x509_trust_list_add_trust_mem: %d (%s)\n", __LINE__, gnutls_strerror(ret));