diff options
Diffstat (limited to 'src/lib/libcrypto/modes/gcm128.c')
-rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 5b600517be..1106617763 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.10 2014/07/09 16:06:13 miod Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.11 2015/02/07 13:19:15 doug Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -898,9 +898,6 @@ int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx, | |||
898 | # endif | 898 | # endif |
899 | #endif | 899 | #endif |
900 | 900 | ||
901 | #if 0 | ||
902 | n = (unsigned int)mlen%16; /* alternative to ctx->mres */ | ||
903 | #endif | ||
904 | mlen += len; | 901 | mlen += len; |
905 | if (mlen>((U64(1)<<36)-32) || (sizeof(len)==8 && mlen<len)) | 902 | if (mlen>((U64(1)<<36)-32) || (sizeof(len)==8 && mlen<len)) |
906 | return -1; | 903 | return -1; |