summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: check libopts version more strictlytmp-libopts-checkDaiki Ueno2019-01-041-11/+23
| | | | | | | | As the libopts API is not forward compatible, it was not sufficient to check the minimum version of the library, but also need to check the maximum version, which is embedded in the generated files we bundle. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* Merge branch 'tmp-revert-835' into 'master'Tim Rühsen2019-01-041-48/+2
|\ | | | | | | | | Revert "verify-high2: Fix cert dir iteration on Win32" See merge request gnutls/gnutls!860
| * Revert "verify-high2: Fix cert dir iteration on Win32"tmp-revert-835Nikos Mavrogiannopoulos2019-01-041-48/+2
|/ | | | | | | | | This was failing CI (x509cert-tl) but was not detected due to a bug. This reverts commit 362a0c30b79ccede7e5bc3a7747c3e7f1d30889a. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Merge branch 'tmp-fix-typos-in-doc' into 'master'Dmitry Eremin-Solenikov2019-01-039-15/+15
|\ | | | | | | | | Fix typos in doc/ See merge request gnutls/gnutls!849
| * Fix typos in doc/tmp-fix-typos-in-docTim Rühsen2019-01-039-15/+15
| | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | Merge branch 'master' into 'master'Tim Rühsen2019-01-031-1/+1
|\ \ | |/ |/| | | | | Fix typo when checking for ed25519 support See merge request gnutls/gnutls!858
| * Fix typo when checking for ed25519 supportMarga Manterola2019-01-031-1/+1
|/
* Merge branch 'tmp-update-gnulib' into 'master'Dmitry Eremin-Solenikov2019-01-027-1806/+6
|\ | | | | | | | | Update gnulib See merge request gnutls/gnutls!851
| * Fix 'make distcheck'Tim Rühsen2019-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | The following error will be fixed: ERROR: files left in build directory after distclean: ./tests/softhsm-privkey-eddsa-test.config make[1]: *** [Makefile:1833: distcleancheck] Error 1 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * Remove auto-generated gnulib files from repoTim Rühsen2019-01-023-1802/+2
| | | | | | | | | | | | | | | | Bootstrapping with latest gnulib updated both files, so they are obviously auto-generated files which do not belong into the repository. Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * Update required autoconf version to 2.63Tim Rühsen2019-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes the bootstrap error with the latest gnulib: gnulib/gnulib-tool: *** minimum supported autoconf version is 2.63. Try adding AC_PREREQ([2.63]) to your configure.ac. gnulib/gnulib-tool: *** Stop. ./bootstrap: gnulib-tool failed Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * Update gnulibTim Rühsen2019-01-021-0/+0
| | | | | | | | | | | | | | | | | | This fixes the following 'make syntax-check' failure: maint.mk: out of date copyright in ./gnulib/lib/version-etc.c; update it make: *** [maint.mk:1199: sc_copyright_check] Error 1 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * Update copyright year in doc/gnutls.texiTim Rühsen2019-01-021-2/+2
|/ | | | | | | | | This fixes the following error of 'make syntax-check': maint.mk: out of date copyright in doc/gnutls.texi; update it make: *** [maint.mk:1201: sc_copyright_check] Error 1 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Merge branch 'tmp-fix-examples' into 'master'Nikos Mavrogiannopoulos2019-01-0110-55/+90
|\ | | | | | | | | | | | | examples: use a valid DNS name Closes #663 See merge request gnutls/gnutls!848
| * examples: ignore GNUTLS_E_AGAIN or INTERRUPTED errorstmp-fix-examplesNikos Mavrogiannopoulos2018-12-3010-43/+78
| | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * examples: use a valid DNS nameNikos Mavrogiannopoulos2018-12-304-12/+12
|/ | | | | | | | | This prevents a gnutls server from sending an unexpected message alert due to invalid DNS name encoding, if the example is not modified. Resolves: #663 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Merge branch 'tmp-fix-ossfuzz' into 'master'Dmitry Eremin-Solenikov2018-12-291-1/+1
|\ | | | | | | | | Fix OSS-Fuzz build See merge request gnutls/gnutls!847
| * Fix OSS-Fuzz buildtmp-fix-ossfuzzTim Rühsen2018-12-291-1/+1
|/ | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Merge branch 'fix-libressl' into 'master'Dmitry Eremin-Solenikov2018-12-291-6/+13
|\ | | | | | | | | | | | | Fix cipher-openssl-compat failing with LibreSSL Closes #658 See merge request gnutls/gnutls!846
| * tests: cipher-openssl-compat: don't call EVP_CIPHER_CTX_init()Dmitry Eremin-Solenikov2018-12-281-1/+0
| | | | | | | | | | | | | | | | | | There is no need to call EVP_CIPHER_CTX_init() after EVP_CIPHER_CTX_new(). Fixes #658 Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * tests: cipher-openssl-compat: don't fail if OpenSSL doesn't provide cipherDmitry Eremin-Solenikov2018-12-281-5/+13
|/ | | | | | | LibreSSL does not provide ChaCha20-Poly1305 through EVP_CIPHER interface, so let's skip the test if cipher is not available. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Merge branch 'tmp-test-ecc' into 'master'Dmitry Eremin-Solenikov2018-12-243-0/+26
|\ | | | | | | | | | | | | gnutls_pubkey_import_ecc_raw: set the public key bits Closes #640 See merge request gnutls/gnutls!843
| * gnutls_pubkey_import_ecc_raw: set the public key bitstmp-test-eccNikos Mavrogiannopoulos2018-12-213-0/+26
|/ | | | | | | | This sets the number of key bits once an ECC key is imported. Resolves #640 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Merge branch 'tmp-no-well-defined' into 'master'Tim Rühsen2018-12-216-9/+12
|\ | | | | | | | | GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION: deprecated See merge request gnutls/gnutls!844
| * GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION: deprecatedtmp-no-well-definedNikos Mavrogiannopoulos2018-12-215-8/+12
| | | | | | | | | | | | | | | | | | | | | | This removes the documented use of this macro. It was non-functional. Given the nature of the definition of the non-well defined date for certificates, it may be wise not to use a special macro at all. The reason is that the no-well defined date is a real date (~year 9999), and any approximation with seconds will be unstable due to irregular leap seconds. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * gnutls-cli-debug: removed unused variableNikos Mavrogiannopoulos2018-12-211-1/+0
|/ | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Merge branch 'tmp-testrandom.sh' into 'master'Nikos Mavrogiannopoulos2018-12-211-3/+3
|\ | | | | | | | | | | | | testrandom.sh: Fix endless loop Closes #656 See merge request gnutls/gnutls!842
| * testrandom.sh: Fix endless looptmp-testrandom.shTim Rühsen2018-12-201-3/+3
| | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | Merge branch 'use_CertOpenStore' into 'master'Nikos Mavrogiannopoulos2018-12-205-6/+89
|\ \ | |/ |/| | | | | win32: Use CertOpenStore instead of CertOpenSystemStore See merge request gnutls/gnutls!839
| * win32: Check that CertOpenStore is behaving as CertOpenSystemStoreHugo Beauzée-Luyssen2018-12-202-0/+74
| | | | | | | | | | The test isn't located in tests/windows since we need the actual libcrypt32 implementations.
| * win32: Use CertOpenStore instead of CertOpenSystemStoreHugo Beauzée-Luyssen2018-12-193-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CertOpenSystemStore is not available when building for windows store. Both functions are available since windows XP, so there is no compatibility change. CertOpenSystemStore documentation states "Only current user certificates are accessible using this method, not the local machine store." hence we pass CERT_SYSTEM_STORE_CURRENT_USER. We also use the wide chars variants, in the event the ansi ones are silently rejected by windows store applications (which is not documented, but which I strongly suspect) This is equivalent to Wine's implementation of CertOpenSystemStore: https://github.com/wine-mirror/wine/blob/master/dlls/crypt32/store.c#L904
* | Merge branch 'tmp-comment-style' into 'master'Nikos Mavrogiannopoulos2018-12-191-2/+65
|\ \ | | | | | | | | | | | | CONTRIBUTING.md: added proposal on commenting style and new features See merge request gnutls/gnutls!816
| * | CONTRIBUTING.md: specify rules for static/inline functions [ci skip]tmp-comment-styleNikos Mavrogiannopoulos2018-11-281-2/+6
| | | | | | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | CONTRIBUTING.md: proposal for new features/modifications approach [ci skip]Nikos Mavrogiannopoulos2018-11-281-0/+18
| | | | | | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
| * | CONTRIBUTING.md: added proposal on commenting style [ci skip]Nikos Mavrogiannopoulos2018-11-281-0/+41
| | | | | | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* | | Merge branch 'winstore_patches' into 'master'Nikos Mavrogiannopoulos2018-12-193-4/+55
|\ \ \ | | | | | | | | | | | | | | | | Windows & Windows Store store patches See merge request gnutls/gnutls!835
| * | | keys-win: Disable private key import on windows storeHugo Beauzée-Luyssen2018-12-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows store drastically limits the available functions. In this case, at least CryptSetProvParam and the NCrypt* functions can't be used Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
| * | | verify-high2: Fix cert dir iteration on Win32Hugo Beauzée-Luyssen2018-12-191-2/+48
| | | | | | | | | | | | | | | | | | | | And especially when building for windows store, which only allows unicode version of opendir & friends functions.
| * | | lib: Don't hardcode LoadLibraryAHugo Beauzée-Luyssen2018-12-192-2/+2
| | |/ | |/| | | | | | | | | | | | | Those functions are forbidden when building for Windows Store Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
* | | Merge branch 'tmp-vasprintf' into 'master'Nikos Mavrogiannopoulos2018-12-196-122/+2
|\ \ \ | |/ / |/| | | | | | | | vasprintf: use from gnulib; don't bundle twice See merge request gnutls/gnutls!841
| * | vasprintf: use from gnulib; don't bundle twiceNikos Mavrogiannopoulos2018-12-196-122/+2
|/ / | | | | | | | | | | Relates #653 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-portable-tests' into 'master'Tim Rühsen2018-12-1913-116/+133
|\ \ | | | | | | | | | | | | Make some tests more portable See merge request gnutls/gnutls!819
| * | .gitlab-ci.yml: Remove assert in gl/tests/test-strerror.cTim Rühsen2018-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | A bug made our CI cross builds fail. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916779 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/certtool-eddsa: Increase portability (fix for busybox)Tim Rühsen2018-12-182-23/+15
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/certtool: SKIP if --disable-bash-tests was givenTim Rühsen2018-12-183-3/+19
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/pkcs12-utf8: Use /bin/sh instead of bashTim Rühsen2018-12-181-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/pkcs12-corner-cases: Increase portability (fix for busybox)Tim Rühsen2018-12-181-3/+4
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/certtool-ecdsa: Increase portability (fix for busybox)Tim Rühsen2018-12-181-3/+3
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/pem-decoding: Increase portability (fix for busybox)Tim Rühsen2018-12-181-15/+12
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
| * | tests/cert-tests/certtool-crl-decoding: Increase portability (fix for busybox)Tim Rühsen2018-12-181-6/+5
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>