projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix no-sm2 with clang
[openssl.git]
/
crypto
/
ec
/
ec_pmeth.c
diff --git
a/crypto/ec/ec_pmeth.c
b/crypto/ec/ec_pmeth.c
index 5be292379a1043cb9f6ba2b364b0fd1378f70c07..2fde4f7a5b9a952415ee417194cde65ef9a2a4dc 100644
(file)
--- a/
crypto/ec/ec_pmeth.c
+++ b/
crypto/ec/ec_pmeth.c
@@
-124,7
+124,7
@@
static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
if (ec_nid == NID_sm2) {
#if defined(OPENSSL_NO_SM2)
- ret
=
-1;
+ ret
urn
-1;
#else
ret = SM2_sign(type, tbs, tbslen, sig, &sltmp, ec);
#endif