1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00

tests: Add test for RSA PKI running on threads

Run the tests from torture_pki_rsa.c on threads.  Tests requiring files
to be removed are not tested, since they would require the access to
the files to be synchronized.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Anderson Toshiyuki Sasaki
2018-07-04 17:26:39 +02:00
committed by Andreas Schneider
parent dd3d867452
commit 708f127788
4 changed files with 746 additions and 2 deletions

View File

@@ -195,8 +195,9 @@ void libssh_destructor(void)
/* Detect if ssh_init() was called without matching ssh_finalize() */
if (_ssh_initialized > 0) {
fprintf(stderr,
"Error: ssh still initialized; probably ssh_init() was"
" called more than once\n");
"Warning: ssh still initialized; probably ssh_init() "
"was called more than once (init count: %d)\n",
_ssh_initialized);
}
}