Bug 1148 - configure's crippled AES test fails on Sun CC
Summary: configure's crippled AES test fails on Sun CC
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 4.3p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 16:50 AEDT by Alex Kiernan
Modified: 2006-10-07 11:44 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kiernan 2006-02-02 16:50:38 AEDT
Using Sun CC rather than gcc the crippled AES test fails because of a missing semicolon (regardless of whether it should fail or not). The fix is trivial:

--- configure.ac.orig   2006-02-02 05:46:02.000000000 +0000
+++ configure.ac        2006-02-02 05:46:13.000000000 +0000
@@ -1827,7 +1827,7 @@
        [AC_LANG_SOURCE([[
 #include <string.h>
 #include <openssl/evp.h>
-int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL)}
+int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
        ]])],
        [
                AC_MSG_RESULT(no)
Comment 1 Darren Tucker 2006-02-02 18:55:51 AEDT
Patch applied, thanks.
Comment 2 Darren Tucker 2006-10-07 11:44:13 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.