summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:56:02 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 07:03:18 +0000
commit9f6cb675b0b6e3946c191b919cd11d977e2e4e2e (patch)
tree7f270a4ec34a97c4f5722a33576e4b2e06aa16e7 /onlineupdate
parent0e5318aa75b615b35a3d07172bdeb26eb5acfdd9 (diff)
Fix typos
Change-Id: I013414cf10e25acd5216643855aaa230258a1b5f Reviewed-on: https://gerrit.libreoffice.org/18962 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/libmar/verify/cryptox.c10
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--onlineupdate/source/update/inc/mozilla/UniquePtr.h2
-rw-r--r--onlineupdate/source/update/updater/updater.cxx2
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,