diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-16 21:02:47 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-16 21:02:47 +0200 |
commit | cf31e43a972ac163bc1181ffdd61bb658770cda1 (patch) | |
tree | 735116886cc15e3e6cdcfa2a3d75a7f8484551f1 /tests | |
parent | 53e86c9b3491b429228940d56ffd0523ca945e98 (diff) | |
download | gnutls-cf31e43a972ac163bc1181ffdd61bb658770cda1.tar.gz |
corrected typo
Diffstat (limited to 'tests')
-rw-r--r-- | tests/x509cert-tl.c | 2 |
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)); |