diff options
author | deraadt <> | 2015-09-11 09:38:30 +0000 |
---|---|---|
committer | deraadt <> | 2015-09-11 09:38:30 +0000 |
commit | b5be708ea57ace47e086066d85f9c39df816d834 (patch) | |
tree | fc1d0e7fa672882cfcb87ce4c9f7b8fde5371c79 /src | |
parent | 4a7d1a83580ba9a10df254d6df03a0bc3d8fa726 (diff) | |
download | openbsd-b5be708ea57ace47e086066d85f9c39df816d834.tar.gz openbsd-b5be708ea57ace47e086066d85f9c39df816d834.tar.bz2 openbsd-b5be708ea57ace47e086066d85f9c39df816d834.zip |
remove stupid casts
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/speed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/speed.c b/src/usr.bin/openssl/speed.c index 4248c09d8e..935d9556e7 100644 --- a/src/usr.bin/openssl/speed.c +++ b/src/usr.bin/openssl/speed.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: speed.c,v 1.9 2015/08/22 16:36:05 jsing Exp $ */ | 1 | /* $OpenBSD: speed.c,v 1.10 2015/09/11 09:38:30 deraadt Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -153,7 +153,7 @@ | |||
153 | #include "./testdsa.h" | 153 | #include "./testdsa.h" |
154 | #include "./testrsa.h" | 154 | #include "./testrsa.h" |
155 | 155 | ||
156 | #define BUFSIZE ((long)1024*8+1) | 156 | #define BUFSIZE (1024*8+1) |
157 | int run = 0; | 157 | int run = 0; |
158 | 158 | ||
159 | static int mr = 0; | 159 | static int mr = 0; |
@@ -485,11 +485,11 @@ speed_main(int argc, char **argv) | |||
485 | for (i = 0; i < RSA_NUM; i++) | 485 | for (i = 0; i < RSA_NUM; i++) |
486 | rsa_key[i] = NULL; | 486 | rsa_key[i] = NULL; |
487 | 487 | ||
488 | if ((buf = malloc((int) BUFSIZE)) == NULL) { | 488 | if ((buf = malloc(BUFSIZE)) == NULL) { |
489 | BIO_printf(bio_err, "out of memory\n"); | 489 | BIO_printf(bio_err, "out of memory\n"); |
490 | goto end; | 490 | goto end; |
491 | } | 491 | } |
492 | if ((buf2 = malloc((int) BUFSIZE)) == NULL) { | 492 | if ((buf2 = malloc(BUFSIZE)) == NULL) { |
493 | BIO_printf(bio_err, "out of memory\n"); | 493 | BIO_printf(bio_err, "out of memory\n"); |
494 | goto end; | 494 | goto end; |
495 | } | 495 | } |