diff options
Diffstat (limited to 'src/lib/libcrypto/aes/aes_core.c')
-rw-r--r-- | src/lib/libcrypto/aes/aes_core.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/aes/aes_core.c b/src/lib/libcrypto/aes/aes_core.c index ee21057392..93c32b919b 100644 --- a/src/lib/libcrypto/aes/aes_core.c +++ b/src/lib/libcrypto/aes/aes_core.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_core.c,v 1.11 2014/07/09 09:10:07 miod Exp $ */ | 1 | /* $OpenBSD: aes_core.c,v 1.12 2015/02/10 09:46:30 miod Exp $ */ |
2 | /** | 2 | /** |
3 | * rijndael-alg-fst.c | 3 | * rijndael-alg-fst.c |
4 | * | 4 | * |
@@ -33,7 +33,6 @@ | |||
33 | # define NDEBUG | 33 | # define NDEBUG |
34 | # endif | 34 | # endif |
35 | #endif | 35 | #endif |
36 | #include <assert.h> | ||
37 | 36 | ||
38 | #include <stdlib.h> | 37 | #include <stdlib.h> |
39 | #include <openssl/aes.h> | 38 | #include <openssl/aes.h> |
@@ -795,7 +794,6 @@ AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) | |||
795 | int r; | 794 | int r; |
796 | #endif /* ?FULL_UNROLL */ | 795 | #endif /* ?FULL_UNROLL */ |
797 | 796 | ||
798 | assert(in && out && key); | ||
799 | rk = key->rd_key; | 797 | rk = key->rd_key; |
800 | 798 | ||
801 | /* | 799 | /* |
@@ -986,7 +984,6 @@ AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) | |||
986 | int r; | 984 | int r; |
987 | #endif /* ?FULL_UNROLL */ | 985 | #endif /* ?FULL_UNROLL */ |
988 | 986 | ||
989 | assert(in && out && key); | ||
990 | rk = key->rd_key; | 987 | rk = key->rd_key; |
991 | 988 | ||
992 | /* | 989 | /* |