Added support for openssl 1.1

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 8 years ago
parent 54b88a35b1
commit 656f8e4de1

@ -189,9 +189,9 @@ static TQString* _qstring_realHost = 0;
} }
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KSSL_setSession(JNIEnv* env, jobject obj, jobject session) Java_org_trinitydesktop_koala_KSSL_takeSession(JNIEnv* env, jobject obj, jobject session)
{ {
jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setSession((const KSSLSession*) QtSupport::getQt(env, session)); jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->takeSession((KSSLSession*) QtSupport::getQt(env, session));
return xret; return xret;
} }

@ -14,7 +14,7 @@ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KSSL_newKSSL__Z (JNI
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KSSL_newKSSL__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KSSL_newKSSL__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_initialize (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_initialize (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_TLSInit (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_TLSInit (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_setSession (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_takeSession (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KSSL_close (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KSSL_close (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_reInitialize (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_reInitialize (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_reconfig (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_koala_KSSL_reconfig (JNIEnv *env, jobject);

Loading…
Cancel
Save