1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Description: Remove calls to *CipherSuite*
These methods have been removed from the according class in dcmtk and it is not
clear whether there are alternative code path or whether this is simply no longer
supported or needed.
Author: Gert Wollny <gewo@debian.org>
Debian-Bug: https://bugs.debian.org/919739
diff -ru dicomscope-3.6.0/interface/libsrc/DVInterface.cpp dicomscope-3.6.0.fix/interface/libsrc/DVInterface.cpp
--- dicomscope-3.6.0/interface/libsrc/DVInterface.cpp 2019-01-23 10:29:55.000000000 +0100
+++ dicomscope-3.6.0.fix/interface/libsrc/DVInterface.cpp 2019-01-23 10:28:34.947879315 +0100
@@ -3210,11 +3210,7 @@
JNIEXPORT jint JNICALL Java_J2Ci_jDVInterface_getTargetNumberOfCipherSuites
(JNIEnv *env, jobject obj, jstring targetID)
{
- DVInterface *dvi = getAddressOfDVInterface (env, obj);
- char *tid = (char*) env->GetStringUTFChars (targetID, 0);
- jint res = (jint) dvi->getTargetNumberOfCipherSuites(tid);
- env->ReleaseStringUTFChars (targetID, tid);
- return res;
+ return 0;
}
@@ -3226,13 +3222,7 @@
JNIEXPORT jstring JNICALL Java_J2Ci_jDVInterface_getTargetCipherSuite
(JNIEnv *env, jobject obj, jstring targetID, jint idx)
{
- DVInterface *dvi = getAddressOfDVInterface (env, obj);
- char *tid = (char*) env->GetStringUTFChars (targetID, 0);
- OFString param;
- const char* res = dvi->getTargetCipherSuite (tid, idx, param);
- env->ReleaseStringUTFChars (targetID, tid);
- if (res == NULL) return NULL;
- return env->NewStringUTF (res);
+ return NULL;
}
Nur in dicomscope-3.6.0.fix/interface/libsrc: DVInterface.cpp~.
|