[Libreoffice-commits] core.git: onlineupdate/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 29 13:16:51 UTC 2020


 onlineupdate/source/libmar/verify/cryptox.c |    2 +-
 onlineupdate/source/libmar/verify/cryptox.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ff25b305caec2fad515beb2ad6d5766101845ccf
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Sep 26 21:03:50 2020 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Sep 29 15:16:10 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: Id08fb3de62c55ab24f585b1bd1b9f719c78f91b5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103464
    Tested-by: Jenkins
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/onlineupdate/source/libmar/verify/cryptox.c b/onlineupdate/source/libmar/verify/cryptox.c
index 5cda191dec7e..7cce8bf036fd 100644
--- a/onlineupdate/source/libmar/verify/cryptox.c
+++ b/onlineupdate/source/libmar/verify/cryptox.c
@@ -115,7 +115,7 @@ NSS_VerifySignature(VFYContext * const *ctx,
  * @return CryptoX_Success on success, CryptoX_Error on error.
 */
 CryptoX_Result
-CyprtoAPI_VerifySignature(HCRYPTHASH *hash,
+CryptoAPI_VerifySignature(HCRYPTHASH *hash,
                           HCRYPTKEY *pubKey,
                           const BYTE *signature,
                           DWORD signatureLen)
diff --git a/onlineupdate/source/libmar/verify/cryptox.h b/onlineupdate/source/libmar/verify/cryptox.h
index eb8548fa7a4f..b0f00725fdf0 100644
--- a/onlineupdate/source/libmar/verify/cryptox.h
+++ b/onlineupdate/source/libmar/verify/cryptox.h
@@ -117,7 +117,7 @@ CryptoX_Result CryptoAPI_LoadPublicKey(HCRYPTPROV hProv,
 CryptoX_Result CryptoAPI_VerifyBegin(HCRYPTPROV provider, HCRYPTHASH* hash);
 CryptoX_Result CryptoAPI_VerifyUpdate(HCRYPTHASH* hash,
                                       BYTE *buf, DWORD len);
-CryptoX_Result CyprtoAPI_VerifySignature(HCRYPTHASH *hash,
+CryptoX_Result CryptoAPI_VerifySignature(HCRYPTHASH *hash,
         HCRYPTKEY *pubKey,
         const BYTE *signature,
         DWORD signatureLen);
@@ -137,7 +137,7 @@ CryptoX_Result CyprtoAPI_VerifySignature(HCRYPTHASH *hash,
 #define CryptoX_LoadPublicKey(CryptoHandle, certData, dataSize, publicKey) \
   CryptoAPI_LoadPublicKey(CryptoHandle, (BYTE*)(certData), dataSize, publicKey)
 #define CryptoX_VerifySignature(hash, publicKey, signedData, len) \
-  CyprtoAPI_VerifySignature(hash, publicKey, signedData, len)
+  CryptoAPI_VerifySignature(hash, publicKey, signedData, len)
 #define CryptoX_FreePublicKey(key) \
   CryptDestroyKey(*(key))
 #define CryptoX_FreeCertificate(cert) \


More information about the Libreoffice-commits mailing list