diff options
Diffstat (limited to 'lib/libcrypto/x509/by_dir.c')
-rw-r--r-- | lib/libcrypto/x509/by_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/by_dir.c b/lib/libcrypto/x509/by_dir.c index 554f6600dc9..40b0a1296a8 100644 --- a/lib/libcrypto/x509/by_dir.c +++ b/lib/libcrypto/x509/by_dir.c @@ -153,7 +153,7 @@ new_dir(X509_LOOKUP *lu) { BY_DIR *a; - if ((a = (BY_DIR *)malloc(sizeof(BY_DIR))) == NULL) + if ((a = malloc(sizeof(BY_DIR))) == NULL) return (0); if ((a->buffer = BUF_MEM_new()) == NULL) { free(a); |