Bug 1148

Summary: configure's crippled AES test fails on Sun CC
Product: Portable OpenSSH Reporter: Alex Kiernan <alex.kiernan>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 4.3p1   
Hardware: All   
OS: All   

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.