diff options
Diffstat (limited to 'src/lib/libcrypto/modes/ofb128.c')
-rw-r--r-- | src/lib/libcrypto/modes/ofb128.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/modes/ofb128.c b/src/lib/libcrypto/modes/ofb128.c index 031110a274..1b8a6fd500 100644 --- a/src/lib/libcrypto/modes/ofb128.c +++ b/src/lib/libcrypto/modes/ofb128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb128.c,v 1.3 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: ofb128.c,v 1.4 2015/02/10 09:46:30 miod Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,6 @@ | |||
58 | # define NDEBUG | 58 | # define NDEBUG |
59 | # endif | 59 | # endif |
60 | #endif | 60 | #endif |
61 | #include <assert.h> | ||
62 | 61 | ||
63 | /* The input and output encrypted as though 128bit ofb mode is being | 62 | /* The input and output encrypted as though 128bit ofb mode is being |
64 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
@@ -72,8 +71,6 @@ void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, | |||
72 | unsigned int n; | 71 | unsigned int n; |
73 | size_t l=0; | 72 | size_t l=0; |
74 | 73 | ||
75 | assert(in && out && key && ivec && num); | ||
76 | |||
77 | n = *num; | 74 | n = *num; |
78 | 75 | ||
79 | #if !defined(OPENSSL_SMALL_FOOTPRINT) | 76 | #if !defined(OPENSSL_SMALL_FOOTPRINT) |