diff options
| author | miod <> | 2015-02-10 09:46:30 +0000 |
|---|---|---|
| committer | miod <> | 2015-02-10 09:46:30 +0000 |
| commit | c54f1e6efb3beda80d415ba75614cbc695f799be (patch) | |
| tree | 8bb4657eb5417a2a0ea6710585ef13aa7b25433c /src/lib/libcrypto/modes/gcm128.c | |
| parent | bedef42af36243e74221aa77e809718c15fae035 (diff) | |
| download | openbsd-c54f1e6efb3beda80d415ba75614cbc695f799be.tar.gz openbsd-c54f1e6efb3beda80d415ba75614cbc695f799be.tar.bz2 openbsd-c54f1e6efb3beda80d415ba75614cbc695f799be.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 '')
| -rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 1106617763..4a72901a33 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.11 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.12 2015/02/10 09:46:30 miod 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 | * |
| @@ -59,7 +59,6 @@ | |||
| 59 | # define NDEBUG | 59 | # define NDEBUG |
| 60 | # endif | 60 | # endif |
| 61 | #endif | 61 | #endif |
| 62 | #include <assert.h> | ||
| 63 | 62 | ||
| 64 | #if defined(BSWAP4) && defined(__STRICT_ALIGNMENT) | 63 | #if defined(BSWAP4) && defined(__STRICT_ALIGNMENT) |
| 65 | /* redefine, because alignment is ensured */ | 64 | /* redefine, because alignment is ensured */ |
