Remove naming conflict between variable and label.
authorAndy Polyakov <appro@openssl.org>
Thu, 30 Dec 2004 11:08:27 +0000 (11:08 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 30 Dec 2004 11:08:27 +0000 (11:08 +0000)
apps/apps.c

index 2402b368a6ec1bd56c0eca2b626c95c5e28ea597..47c1a22b5dd79102df7f3b76861dd13e09f3fa37 100644 (file)
@@ -703,7 +703,7 @@ static int load_pkcs12(BIO *err, BIO *in, const char *desc,
        if (p12 == NULL)
                {
                BIO_printf(err, "Error loading PKCS12 file for %s\n", desc);    
-               goto err;
+               goto die;
                }
        /* See if an empty password will do */
        if (PKCS12_verify_mac(p12, "", 0) || PKCS12_verify_mac(p12, NULL, 0))
@@ -717,7 +717,7 @@ static int load_pkcs12(BIO *err, BIO *in, const char *desc,
                        {
                        BIO_printf(err, "Passpharse callback error for %s\n",
                                        desc);
-                       goto err;
+                       goto die;
                        }
                if (len < PEM_BUFSIZE)
                        tpass[len] = 0;
@@ -725,12 +725,12 @@ static int load_pkcs12(BIO *err, BIO *in, const char *desc,
                        {
                        BIO_printf(err,
        "Mac verify error (wrong password?) in PKCS12 file for %s\n", desc);    
-                       goto err;
+                       goto die;
                        }
                pass = tpass;
                }
        ret = PKCS12_parse(p12, pass, pkey, cert, ca);
-       err:
+       die:
        if (p12)
                PKCS12_free(p12);
        return ret;