Fix unitialized warnings
[openssl.git] / crypto / asn1 / a_mbstr.c
index 1bcd0468938e8380f75f8a62e8297c319c3a7ce3..1538e0a4fc250d535c23a8fe9386165916645160 100644 (file)
@@ -93,7 +93,7 @@ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
        int str_type;
        int ret;
        char free_out;
-       int outform, outlen;
+       int outform, outlen = 0;
        ASN1_STRING *dest;
        unsigned char *p;
        int nchar;