diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-07 14:41:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-06-07 14:41:58 +0000 |
commit | 266f7f14bb884216f7d07623deb97d8d3487e964 (patch) | |
tree | 8b13bd4c0ad356be648d746cb75b920d0e35f921 /lib/libcrypto/ts | |
parent | 09eb0761c8d7243f1ecd9af78bb13ddab0d30b0e (diff) |
malloc() result does not need a cast.
ok miod
Diffstat (limited to 'lib/libcrypto/ts')
-rw-r--r-- | lib/libcrypto/ts/ts_rsp_sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/ts/ts_rsp_sign.c b/lib/libcrypto/ts/ts_rsp_sign.c index 39d2efd3db7..e65a535a45d 100644 --- a/lib/libcrypto/ts/ts_rsp_sign.c +++ b/lib/libcrypto/ts/ts_rsp_sign.c @@ -928,7 +928,7 @@ ESS_add_signing_cert(PKCS7_SIGNER_INFO *si, ESS_SIGNING_CERT *sc) int len; len = i2d_ESS_SIGNING_CERT(sc, NULL); - if (!(pp = (unsigned char *) malloc(len))) { + if (!(pp = malloc(len))) { TSerr(TS_F_ESS_ADD_SIGNING_CERT, ERR_R_MALLOC_FAILURE); goto err; } |