summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes/xts128.c
diff options
context:
space:
mode:
authormiod <>2015-02-10 09:46:30 +0000
committermiod <>2015-02-10 09:46:30 +0000
commit03858c0228d8ccda7d170fe43e0be79cd0dc6e5b (patch)
tree8bb4657eb5417a2a0ea6710585ef13aa7b25433c /src/lib/libcrypto/modes/xts128.c
parentce353b3f386d415a03ecda102110c5c3f9899966 (diff)
downloadopenbsd-03858c0228d8ccda7d170fe43e0be79cd0dc6e5b.tar.gz
openbsd-03858c0228d8ccda7d170fe43e0be79cd0dc6e5b.tar.bz2
openbsd-03858c0228d8ccda7d170fe43e0be79cd0dc6e5b.zip
Remove assert() or OPENSSL_assert() of pointers being non-NULL. The policy
for libraries in OpenBSD is to deliberately let NULL pointers cause a SIGSEGV. ok doug@ jsing@
Diffstat (limited to 'src/lib/libcrypto/modes/xts128.c')
-rw-r--r--src/lib/libcrypto/modes/xts128.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/modes/xts128.c b/src/lib/libcrypto/modes/xts128.c
index e6a0fbb0fa..3e2378379e 100644
--- a/src/lib/libcrypto/modes/xts128.c
+++ b/src/lib/libcrypto/modes/xts128.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: xts128.c,v 1.5 2014/07/09 16:06:13 miod Exp $ */ 1/* $OpenBSD: xts128.c,v 1.6 2015/02/10 09:46:30 miod Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2011 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2011 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
63int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16], 62int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16],
64 const unsigned char *inp, unsigned char *out, 63 const unsigned char *inp, unsigned char *out,