mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
Openssl implementation of threading + default imp
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
#include <pthread.h>
|
||||
#include "torture.h"
|
||||
|
||||
#ifdef HAVE_LIBGCRYPT
|
||||
#define NUM_LOOPS 1000
|
||||
#else
|
||||
/* openssl is much faster */
|
||||
#define NUM_LOOPS 20000
|
||||
#endif
|
||||
#define NUM_THREADS 100
|
||||
|
||||
static void setup(){
|
||||
|
||||
Reference in New Issue
Block a user