summaryrefslogtreecommitdiff
path: root/tests/x509cert.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: verify the output size of gnutls_x509_privkey_exportNikos Mavrogiannopoulos2017-08-211-0/+25
| | | | | | | | That is, make sure that gnutls_x509_privkey_export() and gnutls_x509_privkey_export2() agrees with the strlen() value on the data. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* several spacing fixes to keep syntax-check happyNikos Mavrogiannopoulos2016-09-111-7/+7
|
* Change ca3 and related certificate to include an intermediate CA in the chain.Stefan Sørensen2016-08-091-21/+23
| | | | | | Also update a bunch of test-cases to support chains with an intermediate CA. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
* Revert "tests: check gnutls_certificate_get_x509_crt with more than one ↵Nikos Mavrogiannopoulos2016-08-091-24/+4
| | | | | | certificates" This reverts commit f7d884720b128ef86f6b9dc9fc498be89faf1732.
* tests: check gnutls_certificate_get_x509_crt with more than one certificatesNikos Mavrogiannopoulos2016-08-081-4/+24
| | | | This would detect the issue in the "Fix invalid pointer operation in gnutls_certificate_get_x509_crt"
* tests: Use common ca3 test certificates in x509cert, x509dn and x509self tests.Stefan Sørensen2016-08-081-118/+18
| | | | Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
* tests: added small test to verify that GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED ↵Nikos Mavrogiannopoulos2015-03-061-0/+11
| | | | succeeds with a single cert
* tests: x509cert: verify that length returned from gnutls_x509_crt_get_dn ↵Nikos Mavrogiannopoulos2014-12-111-1/+6
| | | | matches strlen
* tests: added check for GNUTLS_TL_GET_COPYNikos Mavrogiannopoulos2014-10-011-0/+6
|
* use unsigned types in prototypesNikos Mavrogiannopoulos2014-09-241-2/+2
|
* Check the credentials getter functions as part of the unit testsArmin Burgmeier2014-09-241-5/+102
|
* reindented codeNikos Mavrogiannopoulos2013-11-081-139/+144
|
* When running tests disable PKCS #11 support to avoid detecting memory leaks ↵Nikos Mavrogiannopoulos2013-05-011-1/+1
| | | | from PKCS #11 libraries.
* Fixed signed/unsigned warnings.Nikos Mavrogiannopoulos2012-01-211-1/+2
| | | | Dropped opaque type (replaced with uint8_t)
* Run 'make update-copyright'.Simon Josefsson2012-01-161-1/+1
|
* be less verbose.Nikos Mavrogiannopoulos2011-12-091-1/+2
|
* more silent tests.Nikos Mavrogiannopoulos2011-09-231-1/+1
|
* Memory leak fixes in ECC ciphersuites and the trust_list.Nikos Mavrogiannopoulos2011-09-091-0/+2
|
* Added GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED flag for ↵Nikos Mavrogiannopoulos2011-07-311-10/+26
| | | | | | gnutls_x509_crt_list_import. It checks whether the list to be imported is properly sorted.
* corrected memory leak.Nikos Mavrogiannopoulos2011-05-211-0/+2
|
* Added gnutls_certificate_get_issuer() to allow getting the issuer a ↵Nikos Mavrogiannopoulos2011-05-031-0/+187
certificate from the certificate credentials structure.