Fixed #7152: Android OnVerifyCertificateEx call (#7160)

This commit is contained in:
akallabeth 2021-07-07 10:14:00 +02:00 committed by GitHub
parent 74c6ad9906
commit ea79ab5ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -398,10 +398,10 @@ static DWORD android_verify_certificate_ex(freerdp* instance, const char* host,
jstring jstr3 = (*env)->NewStringUTF(env, issuer);
jstring jstr4 = (*env)->NewStringUTF(env, fingerprint);
jint res = freerdp_callback_int_result("OnVerifyCertificateEx",
"(JLjava/lang/String;ILjava/lang/String;Ljava/lang/"
"(JLjava/lang/String;JLjava/lang/String;Ljava/lang/"
"String;Ljava/lang/String;Ljava/lang/String;J)I",
(jlong)instance, jstr0, (jlong)port, jstr1, jstr2, jstr3,
(jlong)flags);
jstr4, (jlong)flags);
if (attached == JNI_TRUE)
jni_detach_thread();