diff options
author | ylecollen <ylecollen@amdocs.com> | 2016-12-21 15:10:54 +0100 |
---|---|---|
committer | ylecollen <ylecollen@amdocs.com> | 2016-12-21 15:10:54 +0100 |
commit | 643165067f4140d7cb3cba88f21b3fc8dd2d244f (patch) | |
tree | 839bdb9dcc641e90195462f0d6b969cb13f1b0a1 /java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h | |
parent | bacdc3c539b91ffdfb53f4f106747eb89e555400 (diff) |
setRandomInBuffer uses java.lang.SecureRandom.
Diffstat (limited to 'java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h')
-rw-r--r-- | java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h index d70dc58..2c8430c 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h +++ b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni.h @@ -67,7 +67,7 @@ extern "C" { #endif // internal helper functions -bool setRandomInBuffer(uint8_t **aBuffer2Ptr, size_t aRandomSize); +bool setRandomInBuffer(JNIEnv *env, uint8_t **aBuffer2Ptr, size_t aRandomSize); jlong getSessionInstanceId(JNIEnv* aJniEnv, jobject aJavaObject); jlong getAccountInstanceId(JNIEnv* aJniEnv, jobject aJavaObject); jlong getInboundGroupSessionInstanceId(JNIEnv* aJniEnv, jobject aJavaObject); |