projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove malloc casts
[openssl.git]
/
engines
/
e_cswift.c
diff --git
a/engines/e_cswift.c
b/engines/e_cswift.c
index db94bf2a64ab9af32e2292d3085f5a0c503ea93e..adab4d41886224702eefafe29e4aebf8874b1c44 100644
(file)
--- a/
engines/e_cswift.c
+++ b/
engines/e_cswift.c
@@
-586,7
+586,7
@@
int cswift_bn_32copy(SW_LARGENUMBER *out, const BIGNUM *in)
while (((out->nbytes = (numbytes + mod)) % 32)) {
mod++;
}
- out->value =
(unsigned char *)
OPENSSL_malloc(out->nbytes);
+ out->value = OPENSSL_malloc(out->nbytes);
if (!out->value) {
return 0;
}