Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2019 15:48:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242862] mail/sendmail patch-tls.c breaks STARTTLS - sm_RSA_generate_key() returns NULL all the times
Message-ID:  <bug-242862-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 242862
           Summary: mail/sendmail patch-tls.c breaks STARTTLS -
                    sm_RSA_generate_key() returns NULL all the times
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: dan+freebsd.org@obluda.cz
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)

patch-tls.c introduces sm_RSA_generate_key() function used as replacement of
original RSA_generate_key/RSA_generate_key_ex function.

Because of forgotten/excessive "return NULL" the function returns NULL all =
the
times. As a result, server TLS initialisation fails and STARTTLS feature is=
 not
offered by server.

Lines
98      +                       rsa =3D NULL;
99      +               }
100     +               return NULL;

should be

98      +                       rsa =3D NULL;
99      +               }

--=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-242862-7788>