Skip to content

mk_esnikeys.c has compile-time errors on FreeBSD #5

@niallor

Description

@niallor

When following HOWTO for building ESNI-aware OpenSSL and curl, make fails
in esnistuff directory, with following compiler messages.

mk_esnikeys.c:417:54: error: incomplete definition of type 'struct sockaddr_in'
                          &((struct sockaddr_in *)sa)->sin_addr,
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~^
mk_esnikeys.c:417:37: note: forward declaration of 'struct sockaddr_in'
                          &((struct sockaddr_in *)sa)->sin_addr,
                                    ^
mk_esnikeys.c:421:55: error: incomplete definition of type 'struct sockaddr_in6'
                          &((struct sockaddr_in6 *)sa)->sin6_addr,
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
mk_esnikeys.c:421:37: note: forward declaration of 'struct sockaddr_in6'
                          &((struct sockaddr_in6 *)sa)->sin6_addr,
                                    ^
2 errors generated.
*** Error code 1

Stop.
make: stopped in /tmp/tmp.nB2w3U9p/openssl/esnistuff
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions