projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
constify *_dup() and *i2d_*() and related functions as far as possible, introducing...
[openssl.git]
/
crypto
/
sm2
/
sm2_pmeth.c
diff --git
a/crypto/sm2/sm2_pmeth.c
b/crypto/sm2/sm2_pmeth.c
index 5ca430f5159c60a6b211d365fcf65b80ad45be27..fecdc28fe9bbf48191907ff11d0be1e21023963c 100644
(file)
--- a/
crypto/sm2/sm2_pmeth.c
+++ b/
crypto/sm2/sm2_pmeth.c
@@
-54,7
+54,7
@@
static void pkey_sm2_cleanup(EVP_PKEY_CTX *ctx)
}
}
-static int pkey_sm2_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
+static int pkey_sm2_copy(EVP_PKEY_CTX *dst,
const
EVP_PKEY_CTX *src)
{
SM2_PKEY_CTX *dctx, *sctx;