https://bugs.openldap.org/show_bug.cgi?id=9344

          Issue ID: 9344
           Summary: test067-tls fails on solaris 10 due to unescaped
                    quotes in quoted string
           Product: OpenLDAP
           Version: 2.5
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

This statement in test067 causes it to fail in solaris 10:

        TLS_PEERKEY_HASHED_FAIL="$TLS_PEERKEY_HASHALG:`echo "a fake key to
hash" | \
                "${openssl}" dgst "-$TLS_PEERKEY_HASHALG" -binary 2>/dev/null |
\
                "${openssl}" enc -base64 2>/dev/null`"


Solaris10's shell requires the quotes here to be escaped, like:

        TLS_PEERKEY_HASHED_FAIL="$TLS_PEERKEY_HASHALG:`echo \"a fake key to
hash\" | \
                "${openssl}" dgst "-$TLS_PEERKEY_HASHALG" -binary 2>/dev/null |
\
                "${openssl}" enc -base64 2>/dev/null`"

With this change the test passes

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to