Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Jan 7, 2025
1 parent 4667b2e commit a44d077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func newSHAKE(size int) *SHAKE {
C.go_openssl_EVP_MD_CTX_free(ctx)
panic(newOpenSSLError("EVP_MD_CTX_ctrl"))
}
s := &SHAKE{ctx: ctx}
s := &SHAKE{alg: alg, ctx: ctx}
runtime.SetFinalizer(s, (*SHAKE).finalize)
return s
}
Expand Down
2 changes: 1 addition & 1 deletion goopenssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ go_openssl_load_functions(void* handle, unsigned int major, unsigned int minor,
DEFINEFUNC_INTERNAL(func, #func) \
}
#define DEFINEFUNC_3_3(ret, func, args, argscall) \
if (major == 3 && minor >= 3) \
if (major == 3 && minor >= 3) \
{ \
DEFINEFUNC_INTERNAL(func, #func) \
}
Expand Down

0 comments on commit a44d077

Please sign in to comment.