summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api/crypto.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/api/crypto.rb')
-rw-r--r--lib/chef/win32/api/crypto.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/win32/api/crypto.rb b/lib/chef/win32/api/crypto.rb
index a2c44dcb42..0abb908622 100644
--- a/lib/chef/win32/api/crypto.rb
+++ b/lib/chef/win32/api/crypto.rb
@@ -35,9 +35,9 @@ class Chef
CRYPTPROTECT_AUDIT = 0x10
class CRYPT_INTEGER_BLOB < FFI::Struct
- layout :cbData, :DWORD, # Count, in bytes, of data
+ layout :cbData, :DWORD, # Count, in bytes, of data
:pbData, :pointer # Pointer to data buffer
- def initialize(str=nil)
+ def initialize(str = nil)
super(nil)
if str
self[:pbData] = FFI::MemoryPointer.from_string(str)
@@ -48,7 +48,7 @@ class Chef
end
safe_attach_function :CryptProtectData, [
- :PDATA_BLOB,
+ :PDATA_BLOB,
:LPCWSTR,
:PDATA_BLOB,
:pointer,