File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,7 @@ static void loadSm4Ctr(JNIEnv *env)
125125{
126126#ifdef UNIX
127127#if OPENSSL_VERSION_NUMBER >= 0x10101001L
128- printf ("loadSm4Ctr DEBUG1: dlsym_EVP_sm4_ctr is %d\n" , (dlsym_EVP_sm4_ctr == null ));
129128 LOAD_DYNAMIC_SYMBOL (dlsym_EVP_sm4_ctr , env , openssl , "EVP_sm4_ctr" );
130- printf ("loadSm4Ctr DEBUG2: dlsym_EVP_sm4_ctr is %d\n" , (dlsym_EVP_sm4_ctr == null ));
131129#endif
132130#endif
133131}
@@ -273,18 +271,12 @@ JNIEXPORT jlong JNICALL Java_org_apache_hadoop_crypto_OpensslCipher_initContext
273271 if (alg == SM4_CTR ) {
274272 int ret = 0 ;
275273#if OPENSSL_VERSION_NUMBER >= 0x10101001L
276- printf ("initContext DEBUG1: OPENSSL_VERSION_NUMBER=%lX\n" , OPENSSL_VERSION_NUMBER );
277274 if (dlsym_EVP_sm4_ctr == NULL ) {
278- printf ("initContext DEBUG2: dlsym_EVP_sm4_ctr is null\n" );
279275 ret = 1 ;
280- } else {
281- printf ("initContext DEBUG3: dlsym_EVP_sm4_ctr is not null\n" );
282276 }
283277#else
284- printf ("initContext DEBUG4: OPENSSL_VERSION_NUMBER=%lX\n" , OPENSSL_VERSION_NUMBER );
285278 ret = 1 ;
286279#endif
287- printf ("initContext DEBUG5: OPENSSL_VERSION_NUMBER=%lX\n" , OPENSSL_VERSION_NUMBER );
288280 if (ret ) {
289281 THROW (env , "java/security/NoSuchAlgorithmException" , \
290282 "Doesn't support SM4 CTR." );
You can’t perform that action at this time.
0 commit comments