Commit bcb0a644 authored by Ben Laurie's avatar Ben Laurie
Browse files

Eliminate pointless variable.

parent 7575c7e3
Loading
Loading
Loading
Loading
+51 −55
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ int DESTest(EVP_CIPHER_CTX *ctx,
	    unsigned char *out, unsigned char *in, int len)
    {
    const EVP_CIPHER *cipher = NULL;
    int ret = 1;
    int kt = 0;

    if (ctx)
@@ -58,8 +57,6 @@ int DESTest(EVP_CIPHER_CTX *ctx,
	printf("Unknown mode: %s\n", amode);
	exit(1);
	}
    if (ret)
	{
    if (akeysz != 64 && akeysz != 192)
	{
	printf("Invalid key size: %d\n", akeysz);
@@ -117,8 +114,7 @@ int DESTest(EVP_CIPHER_CTX *ctx,
	    }
	EVP_Cipher(ctx, out, in, len);
	}
	}
    return ret;
    return 1;
    }

/*-----------------------------------------------*/