summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/modes/ofb128.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/modes/ofb128.c')
-rw-r--r--lib/libssl/src/crypto/modes/ofb128.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/modes/ofb128.c b/lib/libssl/src/crypto/modes/ofb128.c
index 031110a274e..1b8a6fd500d 100644
--- a/lib/libssl/src/crypto/modes/ofb128.c
+++ b/lib/libssl/src/crypto/modes/ofb128.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofb128.c,v 1.3 2014/06/12 15:49:30 deraadt Exp $ */
+/* $OpenBSD: ofb128.c,v 1.4 2015/02/10 09:46:30 miod Exp $ */
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
@@ -58,7 +58,6 @@
# define NDEBUG
# endif
#endif
-#include <assert.h>
/* The input and output encrypted as though 128bit ofb mode is being
* 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,
unsigned int n;
size_t l=0;
- assert(in && out && key && ivec && num);
-
n = *num;
#if !defined(OPENSSL_SMALL_FOOTPRINT)