Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: openssl_ext
version: 0.1.1
version: 0.1.3

authors:
- Connor Imrie <3436576+CImrie@users.noreply.github.com>
Expand Down
2 changes: 1 addition & 1 deletion src/openssl_ext/pkey.cr
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module OpenSSL
len = key_size
end

buffer.copy_from(pwd.to_slice.pointer(len), len)
buffer.copy_from(pwd.to_slice.to_unsafe, len)

return len
}
Expand Down