Make X509_set_sm2_id consistent with other setters
[openssl.git] / crypto / include / internal / x509_int.h
index 93f923e0d5305218bc308ade30761e21ac921b0e..7c40b159cca680eac177c63ba7f3f23508f1cf52 100644 (file)
@@ -184,7 +184,7 @@ struct x509_st {
     CRYPTO_RWLOCK *lock;
     volatile int ex_cached;
 # ifndef OPENSSL_NO_SM2
-    ASN1_OCTET_STRING sm2_id;
+    ASN1_OCTET_STRING *sm2_id;
 # endif
 } /* X509 */ ;