You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2022/04/04 16:54:01 UTC

[openoffice] 02/02: Fix compatibility with VS 2008

This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 60e0a1c111c55ed3416146f0d2a848c993474018
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Mon Feb 14 21:45:35 2022 +0100

    Fix compatibility with VS 2008
    
    C99 is not an option
---
 main/nss/nss_sizes.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/nss/nss_sizes.patch b/main/nss/nss_sizes.patch
index ba0becd975..9806deb6f5 100644
--- a/main/nss/nss_sizes.patch
+++ b/main/nss/nss_sizes.patch
@@ -9,11 +9,11 @@ diff -ur misc/nss-3.39/nss/lib/cryptohi/secvfy.c misc/build/nss-3.39/nss/lib/cry
 +checkedSignatureLen(const SECKEYPublicKey *pubk)
 +{
 +    unsigned int sigLen = SECKEY_SignatureLen(pubk);
++    unsigned int maxSigLen;
 +    if (sigLen == 0) {
 +        /* Error set by SECKEY_SignatureLen */
 +        return sigLen;
 +    }
-+    unsigned int maxSigLen;
 +    switch (pubk->keyType) {
 +        case rsaKey:
 +        case rsaPssKey: