[ovs-git] [openvswitch/ovs] d348c4: dhparams: Fix .c file generation with OpenSSL >= 1...

GitHub noreply at github.com
Fri Sep 21 20:15:57 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: d348c406de4a918cda9091354ab4c51b54586b3d
      https://github.com/openvswitch/ovs/commit/d348c406de4a918cda9091354ab4c51b54586b3d
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M lib/automake.mk

  Log Message:
  -----------
  dhparams: Fix .c file generation with OpenSSL >= 1.1.1-pre9

Since OpenSSL upstream commit 201b305a2409
("apps/dsaparam.c generates code that is intended to be pasted or included into
an existing source file: the function is static, and the code doesn't include
dsa.h.  Match the generated C source style of dsaparam.") "openssl dhparam -C"
generates the get_dh functions as static, but the functions are used inside
stream-ssl.c and so the static keyword cannot be used.

This commit removes the static keyword from the get_dh functions during
dhparams.c file generation by restoring the current behaviour.

Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
(cherry picked from commit dc041eae5019a936618c398a2a1d106f65604ccc)
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list