From 1e2bde0e0890dc7ddf5376bb122eb001f7d032cb Mon Sep 17 00:00:00 2001 From: kuenking111 Date: Mon, 10 May 2021 20:43:15 +0800 Subject: [PATCH] I3QPM4: modify code comments --- AARCH64-fix-itable-stub-code-size-limit.patch | 2 +- kae-phase1.patch | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AARCH64-fix-itable-stub-code-size-limit.patch b/AARCH64-fix-itable-stub-code-size-limit.patch index 2e4452f..3d62197 100644 --- a/AARCH64-fix-itable-stub-code-size-limit.patch +++ b/AARCH64-fix-itable-stub-code-size-limit.patch @@ -31,7 +31,7 @@ index d8d1ec11b..645b690da 100644 - else - size += 176; + } else { -+ // itable code size limit, see issue#983 ++ // itable code size limit. + size += 192; + } return size; diff --git a/kae-phase1.patch b/kae-phase1.patch index cf57560..89f3353 100644 --- a/kae-phase1.patch +++ b/kae-phase1.patch @@ -3372,7 +3372,7 @@ new file mode 100644 index 00000000..ed645698 --- /dev/null +++ b/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c -@@ -0,0 +1,463 @@ +@@ -0,0 +1,462 @@ +/* + * Copyright (c) 2021, Huawei Technologies Co., Ltd. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -3547,7 +3547,6 @@ index 00000000..ed645698 + jbyte* inBytes = NULL; + // outLen type should be size_t + // EVP_PKEY_encrypt takes the outLen address as a parameter, and the parameter type is size_t* -+ // You can refer to the issue #2774 to see more content + size_t outLen = 0; + + EVP_PKEY* pkey = (EVP_PKEY*) keyAddress; -- Gitee