Fix unitialized warnings
authorDr. Stephen Henson <steve@openssl.org>
Sun, 4 Oct 2009 16:53:18 +0000 (16:53 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 4 Oct 2009 16:53:18 +0000 (16:53 +0000)
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;