summaryrefslogtreecommitdiffstats
path: root/providers/common
diff options
context:
space:
mode:
authorPaul Yang <kaishen.yy@antfin.com>2020-09-13 20:31:13 +0800
committerMatt Caswell <matt@openssl.org>2020-09-22 08:18:09 +0100
commitb3d267caac21dd0a7d7a8cfcc304b253df5e82f4 (patch)
tree564617e6678615586334c8fdaecc794f06282364 /providers/common
parentd0b79f8631c0f522c514175be4e4fbe984cf8f6c (diff)
Address review comments
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12536)
Diffstat (limited to 'providers/common')
-rw-r--r--providers/common/der/der_sm2_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/common/der/der_sm2_key.c b/providers/common/der/der_sm2_key.c
index daf2072c9e..7167088099 100644
--- a/providers/common/der/der_sm2_key.c
+++ b/providers/common/der/der_sm2_key.c
@@ -16,7 +16,7 @@ int DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec)
{
return DER_w_begin_sequence(pkt, cont)
/* No parameters (yet?) */
- /* It seems SM2 identifier is the same to id_ecPublidKey */
+ /* It seems SM2 identifier is the same as id_ecPublidKey */
&& DER_w_precompiled(pkt, -1, der_oid_id_ecPublicKey,
sizeof(der_oid_id_ecPublicKey))
&& DER_w_end_sequence(pkt, cont);