From: Dr. Stephen Henson Date: Wed, 16 Jan 2013 14:20:01 +0000 (+0000) Subject: Now GMAC is fixed remove workaround. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=950e2889e1133134021fc76c779919372e1ba3a9;p=thirdparty%2Fopenssl.git Now GMAC is fixed remove workaround. --- diff --git a/fips/aes/fips_gcmtest.c b/fips/aes/fips_gcmtest.c index 4000e0763f3..30e4bcc0f4f 100644 --- a/fips/aes/fips_gcmtest.c +++ b/fips/aes/fips_gcmtest.c @@ -208,8 +208,6 @@ static void gcmtest(FILE *in, FILE *out, int encrypt) ct = OPENSSL_malloc(ptlen); rv = FIPS_cipher(&ctx, ct, pt, ptlen); } - else - FIPS_cipher(&ctx, iv, iv, 0); FIPS_cipher(&ctx, NULL, NULL, 0); FIPS_cipher_ctx_ctrl(&ctx, EVP_CTRL_GCM_GET_TAG, taglen, tag); @@ -244,8 +242,6 @@ static void gcmtest(FILE *in, FILE *out, int encrypt) pt = OPENSSL_malloc(ptlen); rv = FIPS_cipher(&ctx, pt, ct, ptlen); } - else - FIPS_cipher(&ctx, iv, iv, 0); rv = FIPS_cipher(&ctx, NULL, NULL, 0); if (rv < 0) fprintf(out, "FAIL" RESP_EOL);