diff options
Diffstat (limited to 'lib/libcrypto/modes/gcm128.c')
-rw-r--r-- | lib/libcrypto/modes/gcm128.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/modes/gcm128.c b/lib/libcrypto/modes/gcm128.c index 25754ccd991..09b1949c2a1 100644 --- a/lib/libcrypto/modes/gcm128.c +++ b/lib/libcrypto/modes/gcm128.c @@ -1527,7 +1527,7 @@ GCM128_CONTEXT *CRYPTO_gcm128_new(void *key, block128_f block) { GCM128_CONTEXT *ret; - if ((ret = (GCM128_CONTEXT *)malloc(sizeof(GCM128_CONTEXT)))) + if ((ret = malloc(sizeof(GCM128_CONTEXT)))) CRYPTO_gcm128_init(ret,key,block); return ret; |