diff options
Diffstat (limited to 'main/src/main')
-rw-r--r-- | main/src/main/cpp/ovpnutil/sslspeed.c | 6 | ||||
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/src/main/cpp/ovpnutil/sslspeed.c b/main/src/main/cpp/ovpnutil/sslspeed.c index be253c6f..7468e23b 100644 --- a/main/src/main/cpp/ovpnutil/sslspeed.c +++ b/main/src/main/cpp/ovpnutil/sslspeed.c @@ -80,9 +80,9 @@ typedef struct loopargs_st { #define MAX_BLOCK_SIZE 128 static unsigned char iv[2 * MAX_BLOCK_SIZE / 8]; -#define SIZE_NUM 6 +#define SIZE_NUM 7 static const int lengths[SIZE_NUM] = { - 16, 64, 256, 1024, 8 * 1024, 16 * 1024 + 16, 64, 256, 1024, 1500, 8 * 1024, 16 * 1024 }; static int testnum; @@ -247,7 +247,7 @@ jdoubleArray Java_de_blinkt_openvpn_core_NativeUtils_getOpenSSLSpeed(JNIEnv* env loopargs_t *loopargs = NULL; int loopargs_len = 1; - int async_jobs=0; + int async_jobs = 0; loopargs = malloc(loopargs_len * sizeof(loopargs_t)); memset(loopargs, 0, loopargs_len * sizeof(loopargs_t)); diff --git a/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java b/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java index d8315c9f..ecfa86ff 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java +++ b/main/src/main/java/de/blinkt/openvpn/core/NativeUtils.java @@ -32,7 +32,7 @@ public class NativeUtils { public static native String getOpenVPN3GitVersion(); public final static int[] openSSLlengths = { - 16, 64, 256, 1024, 8 * 1024, 16 * 1024 + 16, 64, 256, 1024, 1500, 8 * 1024, 16 * 1024 }; public static native double[] getOpenSSLSpeed(String algorithm, int testnum); |