diff options
Diffstat (limited to 'providers/decoders.inc')
-rw-r--r-- | providers/decoders.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/decoders.inc b/providers/decoders.inc index b562a45ee9..2772aad05d 100644 --- a/providers/decoders.inc +++ b/providers/decoders.inc @@ -67,8 +67,8 @@ DECODER_w_structure("X25519", der, SubjectPublicKeyInfo, x25519, yes), DECODER_w_structure("X448", der, PrivateKeyInfo, x448, yes), DECODER_w_structure("X448", der, SubjectPublicKeyInfo, x448, yes), # ifndef OPENSSL_NO_SM2 -DECODER_w_structure("SM2", der, PrivateKeyInfo, sm2, yes), -DECODER_w_structure("SM2", der, SubjectPublicKeyInfo, sm2, yes), +DECODER_w_structure("SM2", der, PrivateKeyInfo, sm2, no), +DECODER_w_structure("SM2", der, SubjectPublicKeyInfo, sm2, no), # endif #endif DECODER_w_structure("RSA", der, PrivateKeyInfo, rsa, yes), |