X-Git-Url: https://git.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fcipher.c;h=d5cafa4197db3d2933d7868327238efe9887837f;hb=3a316823b971396a428f020f401b9fe41252d98d;hp=98033c5e692057986ba010e1ad176a4474be2f27;hpb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;p=tinc diff --git a/src/openssl/cipher.c b/src/openssl/cipher.c index 98033c5e..d5cafa41 100644 --- a/src/openssl/cipher.c +++ b/src/openssl/cipher.c @@ -33,7 +33,7 @@ struct cipher { }; static cipher_t *cipher_open(const EVP_CIPHER *evp_cipher) { - cipher_t *cipher = xzalloc(sizeof *cipher); + cipher_t *cipher = xzalloc(sizeof(*cipher)); cipher->cipher = evp_cipher; cipher->ctx = EVP_CIPHER_CTX_new(); if(!cipher->ctx)