summaryrefslogtreecommitdiff
path: root/tests/windows
Commit message (Collapse)AuthorAgeFilesLines
* tests: set $abs_top_builddir in more placesAlexander Sosedkin2021-11-101-0/+1
| | | | | | | | | `$abs_top_builddir` has been used all across tests' subdirectories (through tests/scripts/common.sh) but has only been defined for tests/suite/ ones. Defining it in other Makefiles where `top_builddir` is being passed. Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
* tests: don't install crypt32.dll and ncrypt.dll replacementDaiki Ueno2021-05-131-1/+1
| | | | | | | Reported by Tim Kosse in: https://gitlab.com/gnutls/gnutls/-/issues/1232 Signed-off-by: Daiki Ueno <ueno@gnu.org>
* tests/Makefile.am: use absolute top_srcdir for GNUTLS_PRIORITY_FILEDimitri John Ledkov2020-01-061-1/+1
| | | | | | | | | Some tests, e.g. in suite/tls-fuzzer execute scripts from sub-directories, making the relative path to system.prio in the environment pointing to a non-existent file. Export system.prio testsuite file as an absolute path to avoid this issue. Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
* tests: ensure test suite does not apply global configNikos Mavrogiannopoulos2019-12-201-3/+4
| | | | | | | | When running the test suite we do not apply the global gnutls configration as it may change options that are tested. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls_hash/hmac_copy: check its usability in all casesNikos Mavrogiannopoulos2019-06-261-0/+1
| | | | | | | During the test suite run we require that all supported MAC and hash algorithms implement the copy function. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* win32: Use CertOpenStore instead of CertOpenSystemStoreHugo Beauzée-Luyssen2018-12-191-0/+9
| | | | | | | | | | | | | | 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
* tests: windows: warning: function declaration isn't a prototypeAlon Bar-Lev2017-08-261-1/+1
| | | | Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* several spacing fixes to keep syntax-check happyNikos Mavrogiannopoulos2016-09-112-3/+3
|
* tests: corrected definition of CryptSignHash in mock crypt32Nikos Mavrogiannopoulos2016-05-281-2/+2
|
* build: tests/windows/cng-windows.c: fix implicit decleration of exitAlon Bar-Lev2016-05-101-0/+2
| | | | Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* tests: windows: fixed check-output callNikos Mavrogiannopoulos2016-01-251-1/+1
|
* tests: added dummy functions used by CAPI32 implementationNikos Mavrogiannopoulos2016-01-221-0/+69
|
* tests: better checking for failure in windows cng checkNikos Mavrogiannopoulos2016-01-222-2/+23
|
* tests: added basic functionality testing for system-keys in windowsNikos Mavrogiannopoulos2015-11-255-0/+590