Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2024 14:41:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278072] undeclared function 'fbsd_ossl_provider_load' in krb5
Message-ID:  <bug-278072-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278072
           Summary: undeclared function 'fbsd_ossl_provider_load' in krb5
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: brnrd@freebsd.org

Created attachment 249596
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249596&action=
=3Dedit
git diff for kerberos5

Building FreeBSD with non-default libcrypto/libssl fails on
fbsd_ossl_provider_load due to misplaced #ifdef.

Both the header kerberos5/include/crypto-headers.h as well as
crypto/heimdal/lib/krb5/context.c have ifdefs for OpenSSL 3 and later.
fbsd_ossl_provider_load should return 0 when no providers are available. Du=
e to
misplaced ifdef in the crypto-headers.h the build fails.

> /usr/src/crypto/heimdal/lib/krb5/context.c:395:11: error: call to undecla=
red
> function 'fbsd_ossl_provider_load'; ISO C99 and later do not support impl=
icit
> function declarations [-Werror,-Wimplicit-function-declaration]
>    ret =3D fbsd_ossl_provider_load();

Not blotting out the fbsd_ossl_provider.h makes the build fail, can't see a=
ny
issues in consumers of fbsd_ossl_provider_load.

--=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-278072-227>