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:
committed by
Andreas Schneider
parent
dd3d867452
commit
708f127788
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user