diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-09-26 21:03:50 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2020-09-29 15:16:10 +0200 |
commit | ff25b305caec2fad515beb2ad6d5766101845ccf (patch) | |
tree | 7e2104b7019703b0702270c7ee1fff6b7c2a3abc /onlineupdate | |
parent | ab291c94fb5338a1cf0ab8fe7cbf57dd5c5f81cb (diff) |
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@collabora.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/libmar/verify/cryptox.c | 2 | ||||
-rw-r--r-- | onlineupdate/source/libmar/verify/cryptox.h | 4 |
2 files changed, 3 insertions, 3 deletions
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) \ |