Fix some typos
[oweals/openssl.git] / providers / implementations / ciphers / cipher_chacha20.c
index 7cc57e7043d3773e5f3a02cef41c27005640e037..d92fa08d0c291a27056158f075c3f920382c5ce7 100644 (file)
@@ -55,7 +55,7 @@ static void chacha20_freectx(void *vctx)
     PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)vctx;
 
     if (ctx != NULL) {
-        OPENSSL_clear_free(ctx, sizeof(ctx));
+        OPENSSL_clear_free(ctx, sizeof(*ctx));
     }
 }