diff options
| author | deraadt <> | 2014-06-07 14:41:57 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-06-07 14:41:57 +0000 |
| commit | 800fbde652d67326eeb163d56d8f72ebb239b3c4 (patch) | |
| tree | c0956c22011ba4358ae4ab650adf0e744f93f40c /src/lib/libcrypto/asn1 | |
| parent | 99e1482c930054f5a075761b96ee19aa8e1a4596 (diff) | |
| download | openbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.tar.gz openbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.tar.bz2 openbsd-800fbde652d67326eeb163d56d8f72ebb239b3c4.zip | |
malloc() result does not need a cast.
ok miod
Diffstat (limited to 'src/lib/libcrypto/asn1')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_mac.h b/src/lib/libcrypto/asn1/asn1_mac.h index da03a8cb92..9ca6a49fd4 100644 --- a/src/lib/libcrypto/asn1/asn1_mac.h +++ b/src/lib/libcrypto/asn1/asn1_mac.h | |||
| @@ -289,7 +289,7 @@ err:\ | |||
| 289 | 289 | ||
| 290 | /* New macros */ | 290 | /* New macros */ |
| 291 | #define M_ASN1_New_Malloc(ret,type) \ | 291 | #define M_ASN1_New_Malloc(ret,type) \ |
| 292 | if ((ret=(type *)malloc(sizeof(type))) == NULL) \ | 292 | if ((ret = malloc(sizeof(type))) == NULL) \ |
| 293 | { c.line=__LINE__; goto err2; } | 293 | { c.line=__LINE__; goto err2; } |
| 294 | 294 | ||
| 295 | #define M_ASN1_New(arg,func) \ | 295 | #define M_ASN1_New(arg,func) \ |
