diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/symmetric_key_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/symmetric_key_win.cc b/crypto/symmetric_key_win.cc index ec9cfa0..e2dc9b4 100644 --- a/crypto/symmetric_key_win.cc +++ b/crypto/symmetric_key_win.cc @@ -38,7 +38,7 @@ ALG_ID GetAESAlgIDForKeySize(size_t key_size_in_bits) { NOTREACHED(); return 0; } -}; +} // Imports a raw/plaintext key of |key_size| stored in |*key_data| into a new // key created for the specified |provider|. |alg| contains the algorithm of @@ -83,7 +83,7 @@ bool ImportRawKey(HCRYPTPROV provider, CryptImportKey(provider, actual_key, actual_size, 0, flags, &unsafe_key); // Clean up the temporary copy of key, regardless of whether it was imported - // sucessfully or not. + // successfully or not. SecureZeroMemory(actual_key, actual_size); if (!ok) |