[Bug 2921] New: fix compilation --with-ssl-engine

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Oct 20 00:20:57 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2921

            Bug ID: 2921
           Summary: fix compilation --with-ssl-engine
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cote2004-github at yahoo.com

Created attachment 3194
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3194&action=edit
fix OPENSSL_VERSION number in openssl-compat.c

openssl version number is wrong in openbsd-compat/openssl-compat.c, 
ssh_OpenSSL_add_all_algorithms(void)

The result is that compilation fails with openssl < 1.1.0:

openssl-compat.c: In function 'ssh_OpenSSL_add_all_algorithms':
openssl-compat.c:82:2: warning: implicit declaration of function
'OPENSSL_init_crypto'; did you mean 'OPENSSL_init'?
[-Wimplicit-function-declaration]
  OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
  ^~~~~~~~~~~~~~~~~~~
  OPENSSL_init
openssl-compat.c:82:22: error: 'OPENSSL_INIT_ADD_ALL_CIPHERS'
undeclared (first use in this function); did you mean
'OPENSSL_NO_WEAK_SSL_CIPHERS'?
  OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      OPENSSL_NO_WEAK_SSL_CIPHERS

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list