Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2018 16:27:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229017] mail/libesmtp: Configure fails with OpenSSL 1.1
Message-ID:  <bug-229017-7788-eispH7WLz1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229017-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229017-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229017

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Keywords|                            |needs-patch

--- Comment #5 from Tobias Kortkamp <tobik@freebsd.org> ---
I do not think that this is a correct or complete patch.

client-ntlm.c:126:7: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
ntlmdes.c:58:3: warning: implicit declaration of function 'des_set_odd_pari=
ty'
is invalid in C99 [-Wimplicit-function-declaration]
  des_set_odd_parity (&key);
  ^
ntlmdes.c:58:3: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
ntlmdes.c:59:3: warning: implicit declaration of function 'des_set_key' is
invalid in C99 [-Wimplicit-function-declaration]
  des_set_key (&key, ks);
  ^
ntlmdes.c:59:3: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
ntlmdes.c:60:3: warning: implicit declaration of function 'des_ecb_encrypt'=
 is
invalid in C99 [-Wimplicit-function-declaration]
  des_ecb_encrypt (iv, result, ks, DES_ENCRYPT);
  ^
ntlmdes.c:60:3: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
ntlmdes.c:59:22: warning: variable 'ks' is uninitialized when used here
[-Wuninitialized]
  des_set_key (&key, ks);
                     ^~
ntlmdes.c:36:3: note: variable 'ks' is declared here
  DES_key_schedule ks;

It also fails when using LDFLAGS+=3D-Wl,--no-undefined

 /usr/bin/ld: error: undefined symbol: des_set_odd_parity
 >>> referenced by ntlmdes.c
 >>>               .libs/ntlmdes.o:(lm_deshash)

 /usr/bin/ld: error: undefined symbol: des_set_key
 >>> referenced by ntlmdes.c
 >>>               .libs/ntlmdes.o:(lm_deshash)

 /usr/bin/ld: error: undefined symbol: des_ecb_encrypt
 >>> referenced by ntlmdes.c
 >>>               .libs/ntlmdes.o:(lm_deshash)
 cc: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

For example, OpenSSL 1.1.1 no longer has des_set_key().  It's named
DES_set_key() there AFAICT.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229017-7788-eispH7WLz1>