]> www.tinc-vpn.org Git - tinc/blobdiff - src/openssl/cipher.c
Convert sizeof foo to sizeof(foo).
[tinc] / src / openssl / cipher.c
index 98033c5e692057986ba010e1ad176a4474be2f27..d5cafa4197db3d2933d7868327238efe9887837f 100644 (file)
@@ -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)