diff options
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/libmar/verify/cryptox.c | 10 | ||||
-rw-r--r-- | onlineupdate/source/update/common/updatehelper.cxx | 2 | ||||
-rw-r--r-- | onlineupdate/source/update/inc/mozilla/UniquePtr.h | 2 | ||||
-rw-r--r-- | onlineupdate/source/update/updater/updater.cxx | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/onlineupdate/source/libmar/verify/cryptox.c b/onlineupdate/source/libmar/verify/cryptox.c index b1859b72c749..1de9891d5011 100644 --- a/onlineupdate/source/libmar/verify/cryptox.c +++ b/onlineupdate/source/libmar/verify/cryptox.c @@ -143,10 +143,10 @@ CyprtoAPI_VerifySignature(HCRYPTHASH *hash, /** * Obtains the public key for the passed in cert data * - * @param provider The cyrto provider - * @param certData Data of the certificate to extract the public key from - * @param sizeOfCertData The size of the certData buffer - * @param certStore Pointer to the handle of the certificate store to use + * @param provider The cryto provider + * @param certData Data of the certificate to extract the public key from + * @param sizeOfCertData The size of the certData buffer + * @param certStore Pointer to the handle of the certificate store to use * @param CryptoX_Success on success */ CryptoX_Result @@ -250,7 +250,7 @@ CryptoAPI_VerifyBegin(HCRYPTPROV provider, HCRYPTHASH* hash) /** * Updates a signature verification hash context * - * @param hash The hash context to udpate + * @param hash The hash context to update * @param buf The buffer to update the hash context with * @param len The size of the passed in buffer * @return CryptoX_Success on success, CryptoX_Error on error. diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx index 5ffe261172d8..7ccc319d39f5 100644 --- a/onlineupdate/source/update/common/updatehelper.cxx +++ b/onlineupdate/source/update/common/updatehelper.cxx @@ -356,7 +356,7 @@ DWORD LaunchServiceSoftwareUpdateCommand(int argc, LPCWSTR* argv) { // The service command is the same as the updater.exe command line except - // it has 2 extra args: 1) The Path to udpater.exe, and 2) the command + // it has 2 extra args: 1) The Path to updater.exe, and 2) the command // being executed which is "software-update" LPCWSTR *updaterServiceArgv = new LPCWSTR[argc + 2]; updaterServiceArgv[0] = L"MozillaMaintenance"; diff --git a/onlineupdate/source/update/inc/mozilla/UniquePtr.h b/onlineupdate/source/update/inc/mozilla/UniquePtr.h index d58ffe335c53..28b5794e4469 100644 --- a/onlineupdate/source/update/inc/mozilla/UniquePtr.h +++ b/onlineupdate/source/update/inc/mozilla/UniquePtr.h @@ -626,7 +626,7 @@ struct UniqueSelector<T[N]> * * UniquePtr<char> p; * p = new char; // ERROR - * p.reset(new char); // works, but fugly + * p.reset(new char); // works, but ugly * p = MakeUnique<char>(); // preferred * * (And third, although not relevant to Mozilla: MakeUnique is exception-safe. diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx index 67773bdce36d..3066b2b716d0 100644 --- a/onlineupdate/source/update/updater/updater.cxx +++ b/onlineupdate/source/update/updater/updater.cxx @@ -3039,7 +3039,7 @@ int NS_main(int argc, NS_tchar **argv) int retries = 1; DWORD lastWriteError = 0; do { - // By opening a file handle wihout FILE_SHARE_READ to the callback + // By opening a file handle without FILE_SHARE_READ to the callback // executable, the OS will prevent launching the process while it is // being updated. callbackFile = CreateFileW(targetPath, |