Fix some missing inits
[openssl.git] / crypto / asn1 / a_strnid.c
index 118e0cb388e2726624b368dd632f68258e302e3e..188fa9ea260d8f520d9de64605d73144e17a4ad0 100644 (file)
@@ -213,6 +213,7 @@ static ASN1_STRING_TABLE *stable_get(int nid)
         rv->mask = tmp->mask;
         rv->flags = tmp->flags | STABLE_FLAGS_MALLOC;
     } else {
+        rv->nid = NID_undef;
         rv->minsize = -1;
         rv->maxsize = -1;
         rv->mask = 0;