!145 I3QPM4: modify code comments
From: @kuenking111 Reviewed-by: @jvmboy Signed-off-by: @jvmboy
This commit is contained in:
commit
63a45d6141
@ -31,7 +31,7 @@ index d8d1ec11b..645b690da 100644
|
|||||||
- else
|
- else
|
||||||
- size += 176;
|
- size += 176;
|
||||||
+ } else {
|
+ } else {
|
||||||
+ // itable code size limit, see issue#983
|
+ // itable code size limit.
|
||||||
+ size += 192;
|
+ size += 192;
|
||||||
+ }
|
+ }
|
||||||
return size;
|
return size;
|
||||||
|
|||||||
@ -3372,7 +3372,7 @@ new file mode 100644
|
|||||||
index 00000000..ed645698
|
index 00000000..ed645698
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c
|
+++ 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.
|
+ * Copyright (c) 2021, Huawei Technologies Co., Ltd. All rights reserved.
|
||||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
@ -3547,7 +3547,6 @@ index 00000000..ed645698
|
|||||||
+ jbyte* inBytes = NULL;
|
+ jbyte* inBytes = NULL;
|
||||||
+ // outLen type should be size_t
|
+ // outLen type should be size_t
|
||||||
+ // EVP_PKEY_encrypt takes the outLen address as a parameter, and the parameter type is 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;
|
+ size_t outLen = 0;
|
||||||
+
|
+
|
||||||
+ EVP_PKEY* pkey = (EVP_PKEY*) keyAddress;
|
+ EVP_PKEY* pkey = (EVP_PKEY*) keyAddress;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user