fix ws_sha512_create

Sun, 01 Jun 2025 21:52:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 01 Jun 2025 21:52:14 +0200
changeset 605
07074daff678
parent 604
886658ba8f25
child 606
a6db0f83fa15

fix ws_sha512_create

src/server/util/hashing.c file | annotate | diff | comparison | revisions
--- a/src/server/util/hashing.c	Sun Jun 01 21:50:24 2025 +0200
+++ b/src/server/util/hashing.c	Sun Jun 01 21:52:14 2025 +0200
@@ -54,7 +54,7 @@
     return ctx;
 }
 
-WS_SHA1_CTX* ws_sha512_create(void) {
+WS_SHA512_CTX* ws_sha512_create(void) {
     WS_SHA512_CTX *ctx = malloc(sizeof(WS_SHA512_CTX));
     if(!ctx) {
         return NULL;

mercurial