From owner-freebsd-ports@freebsd.org Sun Apr 25 15:27:53 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4361F626376 for ; Sun, 25 Apr 2021 15:27:53 +0000 (UTC) (envelope-from gena.gulchin@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FSsNT09Tdz3kSC for ; Sun, 25 Apr 2021 15:27:53 +0000 (UTC) (envelope-from gena.gulchin@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 03E52626375; Sun, 25 Apr 2021 15:27:53 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 038CB626051 for ; Sun, 25 Apr 2021 15:27:53 +0000 (UTC) (envelope-from gena.gulchin@gmail.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FSsNS0kcvz3kPM for ; Sun, 25 Apr 2021 15:27:51 +0000 (UTC) (envelope-from gena.gulchin@gmail.com) Received: by mail-pj1-x1032.google.com with SMTP id kb13-20020a17090ae7cdb02901503d67f0beso6528758pjb.0 for ; Sun, 25 Apr 2021 08:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:subject:cc:to:message-id; bh=BPhBCrboRXT+zjHF4bVbZL/KW0L7oiIHpA67ZST9OR4=; b=bEpGRjJIpLyz5y66X8N4KxfFEdXiJXIAoXrCt/yyPDCd+5vXwRxZb9EQpwOflduUE9 roltf5Sahpkmgz4mBvbnZ0p8Fqb7Y6AAJu9GZPbpXMT6Zh9L35Kr7k5/UYpM6HhRhT3u 42x0Rt4lnyoGfhs8JvylOLGOwNuzpzbIkQXY0IAema8Yds1lTDNaXaNYz87fV4ysHljr 48FWNUlx45LNUlq8XBK/NrccTlnRVwg6TLW6cMjeX0KkuhQMe9pdJURANR4MADNAhVhp 3y7WkkNtXO7bqWidE+gjhjWRcOVdsBUAx8Qhdti4FigfBx7Is/0U1Bojq1bCaSM1qFCD 3keQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:subject:cc:to:message-id; bh=BPhBCrboRXT+zjHF4bVbZL/KW0L7oiIHpA67ZST9OR4=; b=bYJHPF59Jj7Etc12rpCI/GbIoNR2dmVFyz/kF4y/qBABDrHNxg0UAcR5BfSQLdnBy0 pc1XfpLY3hK4Q7FBSM6sRInQPe/St8V1dbff9i6UYVPLN6NQb1PPGDvVu/IN6KCiIDO9 n9684N828o6lToVvXOqVU0CnA4+2kymzEbcBhqTNXlvJdQvSkR4nbLqwFVtAphVCGY8t vOOwgggsZ6A70Ob/uGouTqJLl5HLKcpY3kfY5aJUeXt+FFNZ2sqVr6aTJyjS1QHTDukv bNFb+QQWnJWO1Ze+pAFUjDToS0esFXSIdZNGO18pjSequnKn9LcPLlXSOvcI10THCyV/ 7fNg== X-Gm-Message-State: AOAM533WXRrMIQlOYZhZUbAhAL9Ay+mCns/fdtMSxX9SlcnTaiXJLoMj nQ96LSkA5lHDYBH/m9j2hKU= X-Google-Smtp-Source: ABdhPJyOVBgXTMh+rhsjW1lngcaOVlGU2u8MT6icynVyyDqYYbpmYqjaYm5YOhi8Sh53FrGDBkInYw== X-Received: by 2002:a17:902:c1c1:b029:ed:1e01:201d with SMTP id c1-20020a170902c1c1b02900ed1e01201dmr2304059plc.50.1619364470227; Sun, 25 Apr 2021 08:27:50 -0700 (PDT) Received: from [192.168.0.113] (135-180-66-28.fiber.dynamic.sonic.net. [135.180.66.28]) by smtp.gmail.com with ESMTPSA id w9sm9063670pfn.213.2021.04.25.08.27.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Apr 2021 08:27:49 -0700 (PDT) From: Gena Gulchin Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Date: Sun, 25 Apr 2021 08:27:49 -0700 Subject: FreeBSD Port: strongswan-5.9.2_1 Cc: "ports@freebsd.org" To: strongswan@nanoteq.com Message-Id: <8FAB0468-E35D-4601-A60B-A8276407A2C6@gmail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FSsNS0kcvz3kPM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bEpGRjJI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of genagulchin@gmail.com designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=genagulchin@gmail.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::1032:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::1032:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1032:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[ports] X-Mailman-Approved-At: Sun, 25 Apr 2021 18:41:36 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 15:27:53 -0000 Good morning!=20 I=E2=80=99m having problems building strongSwan 5.9.2 IPSec on FreeBSD = 13 and LibreSSL 3.2.5 Contents of my /etc/make.conf: OPENSSL_PORT=3D security/libressl DEFAULT_VERSIONS+=3Dssl=3Dlibressl I have searched the internet for solution and tried applying various = patches but to no avail.=20 Much appreciate your help on this matter!=20 Below is the build log (apologies for the long paste): = =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=948<---------= --------------------------------------------------------------- --- openssl_rng.lo --- openssl_rng.c:61:20: warning: passing 'char *' to parameter of type = 'unsigned char *' converts between pointers to integer types with = different sign [-Wpointer-sign] return RAND_bytes((char*)buffer, bytes) =3D=3D 1; ^~~~~~~~~~~~~ /usr/local/include/openssl/rand.h:93:32: note: passing argument to = parameter 'buf' here int RAND_bytes(unsigned char *buf, int num); ^ 1 warning generated. --- openssl_ed_private_key.lo --- openssl_ed_private_key.c:89:6: warning: implicit declaration of function = 'EVP_DigestSign' is invalid in C99 [-Wimplicit-function-declaration] if (EVP_DigestSign(ctx, NULL, &signature->len, data.ptr, = data.len) <=3D 0) ^ openssl_ed_private_key.c:135:7: warning: implicit declaration of = function 'EVP_PKEY_get_raw_public_key' is invalid in C99 = [-Wimplicit-function-declaration] if (!EVP_PKEY_get_raw_public_key(this->key, NULL, &key.len)) ^ --- openssl_xof.lo --- openssl_xof.c:82:7: warning: implicit declaration of function = 'EVP_DigestFinalXOF' is invalid in C99 [-Wimplicit-function-declaration] if (EVP_DigestFinalXOF(this->ctx, data.ptr, data.len) =3D=3D= 1) ^ --- openssl_rsa_private_key.lo --- openssl_rsa_private_key.c:318:52: warning: passing 'char *' to parameter = of type 'unsigned char *' converts between pointers to integer types = with different sign [-Wpointer-sign] len =3D RSA_private_decrypt(crypto.len, crypto.ptr, decrypted, ^~~~~~~~~ /usr/local/include/openssl/rsa.h:339:20: note: passing argument to = parameter 'to' here unsigned char *to, RSA *rsa, int padding); ^ openssl_rsa_private_key.c:326:24: warning: passing 'char *' to parameter = of type 'u_char *' (aka 'unsigned char *') converts between pointers to = integer types with different sign [-Wpointer-sign] *plain =3D chunk_create(decrypted, len); ^~~~~~~~~ ../../../../src/libstrongswan/utils/chunk.h:57:44: note: passing = argument to parameter 'ptr' here static inline chunk_t chunk_create(u_char *ptr, size_t len) ^ --- openssl_xof.lo --- openssl_xof.c:140:9: warning: implicit declaration of function = 'EVP_shake128' is invalid in C99 [-Wimplicit-function-declaration] md =3D EVP_shake128(); ^ openssl_xof.c:140:7: warning: incompatible integer to pointer conversion = assigning to 'const EVP_MD *' (aka 'const struct env_md_st *') from = 'int' [-Wint-conversion] md =3D EVP_shake128(); ^ ~~~~~~~~~~~~~~ openssl_xof.c:143:9: warning: implicit declaration of function = 'EVP_shake256' is invalid in C99 [-Wimplicit-function-declaration] md =3D EVP_shake256(); ^ openssl_xof.c:143:7: warning: incompatible integer to pointer conversion = assigning to 'const EVP_MD *' (aka 'const struct env_md_st *') from = 'int' [-Wint-conversion] --- openssl_ec_diffie_hellman.lo --- openssl_ec_diffie_hellman.c:216:3: warning: implicit declaration of = function 'EVP_PKEY_set1_tls_encodedpoint' is invalid in C99 = [-Wimplicit-function-declaration] --- openssl_xof.lo --- md =3D EVP_shake256(); ^ ~~~~~~~~~~~~~~ --- openssl_ec_diffie_hellman.lo --- EVP_PKEY_set1_tls_encodedpoint(pub, value.ptr, = value.len) <=3D 0) ^ openssl_ec_diffie_hellman.c:245:12: warning: implicit declaration of = function 'EVP_PKEY_get1_tls_encodedpoint' is invalid in C99 = [-Wimplicit-function-declaration] pub.len =3D EVP_PKEY_get1_tls_encodedpoint(this->key, &pub.ptr); ^ --- openssl_aead.lo --- openssl_aead.c:289:21: warning: implicit declaration of function = 'EVP_chacha20_poly1305' is invalid in C99 = [-Wimplicit-function-declaration] this->cipher =3D = EVP_chacha20_poly1305(); ^ openssl_aead.c:289:19: warning: incompatible integer to pointer = conversion assigning to 'const EVP_CIPHER *' (aka 'const struct = evp_cipher_st *') from 'int' [-Wint-conversion] this->cipher =3D = EVP_chacha20_poly1305(); ^ = ~~~~~~~~~~~~~~~~~~~~~~~ --- openssl_rsa_private_key.lo --- openssl_rsa_private_key.c:625:7: warning: implicit declaration of = function 'BN_secure_new' is invalid in C99 = [-Wimplicit-function-declaration] *p =3D BN_secure_new(); ^ openssl_rsa_private_key.c:625:5: warning: incompatible integer to = pointer conversion assigning to 'BIGNUM *' (aka 'struct bignum_st *') = from 'int' [-Wint-conversion] *p =3D BN_secure_new(); ^ ~~~~~~~~~~~~~~~ openssl_rsa_private_key.c:632:5: warning: incompatible integer to = pointer conversion assigning to 'BIGNUM *' (aka 'struct bignum_st *') = from 'int' [-Wint-conversion] *q =3D BN_secure_new(); ^ ~~~~~~~~~~~~~~~ openssl_rsa_private_key.c:669:8: warning: implicit declaration of = function 'BN_secure_new' is invalid in C99 = [-Wimplicit-function-declaration] res =3D BN_secure_new(); ^ openssl_rsa_private_key.c:669:6: warning: incompatible integer to = pointer conversion assigning to 'BIGNUM *' (aka 'struct bignum_st *') = from 'int' [-Wint-conversion] res =3D BN_secure_new(); ^ ~~~~~~~~~~~~~~~ --- openssl_ed_private_key.lo --- openssl_ed_private_key.c:251:8: error: use of undeclared identifier = 'EVP_PKEY_X25519' case EVP_PKEY_X25519: ^ --- openssl_rsa_private_key.lo --- openssl_rsa_private_key.c:698:8: warning: implicit declaration of = function 'BN_secure_new' is invalid in C99 = [-Wimplicit-function-declaration] res =3D BN_secure_new(); ^ openssl_rsa_private_key.c:698:6: warning: incompatible integer to = pointer conversion assigning to 'BIGNUM *' (aka 'struct bignum_st *') = from 'int' [-Wint-conversion] res =3D BN_secure_new(); ^ ~~~~~~~~~~~~~~~ --- openssl_x_diffie_hellman.lo --- openssl_x_diffie_hellman.c:67:11: error: use of undeclared identifier = 'EVP_PKEY_X25519' return EVP_PKEY_X25519; ^ --- openssl_ed_private_key.lo --- openssl_ed_private_key.c:254:8: error: use of undeclared identifier = 'EVP_PKEY_X448' case EVP_PKEY_X448: ^ openssl_ed_private_key.c:339:10: warning: implicit declaration of = function 'EVP_PKEY_new_raw_private_key' is invalid in C99 = [-Wimplicit-function-declaration] key =3D = EVP_PKEY_new_raw_private_key(openssl_ed_key_type(type), NULL, ^ openssl_ed_private_key.c:339:8: warning: incompatible integer to pointer = conversion assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st *') from = 'int' [-Wint-conversion] key =3D = EVP_PKEY_new_raw_private_key(openssl_ed_key_type(type), NULL, ^ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings and 2 errors generated. --- openssl_x_diffie_hellman.lo --- openssl_x_diffie_hellman.c:69:11: error: use of undeclared identifier = 'EVP_PKEY_X448' return EVP_PKEY_X448; ^ openssl_x_diffie_hellman.c:85:9: warning: implicit declaration of = function 'EVP_PKEY_new_raw_public_key' is invalid in C99 = [-Wimplicit-function-declaration] pub =3D EVP_PKEY_new_raw_public_key(map_key_type(this->group), = NULL, ^ openssl_x_diffie_hellman.c:85:6: warning: incompatible integer to = pointer conversion assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st = *') from 'int' [-Wint-conversion] pub =3D EVP_PKEY_new_raw_public_key(map_key_type(this->group), = NULL, ^ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl_x_diffie_hellman.c:113:7: warning: implicit declaration of = function 'EVP_PKEY_get_raw_public_key' is invalid in C99 = [-Wimplicit-function-declaration] if (!EVP_PKEY_get_raw_public_key(this->key, NULL, &len)) ^ openssl_x_diffie_hellman.c:132:14: warning: implicit declaration of = function 'EVP_PKEY_new_raw_private_key' is invalid in C99 = [-Wimplicit-function-declaration] this->key =3D = EVP_PKEY_new_raw_private_key(map_key_type(this->group), NULL, ^ --- openssl_ed_private_key.lo --- *** [openssl_ed_private_key.lo] Error code 1 make[7]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan/plu= gins/openssl --- openssl_x_diffie_hellman.lo --- openssl_x_diffie_hellman.c:132:12: warning: incompatible integer to = pointer conversion assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st = *') from 'int' [-Wint-conversion] this->key =3D = EVP_PKEY_new_raw_private_key(map_key_type(this->group), NULL, ^ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings and 2 errors generated. *** [openssl_x_diffie_hellman.lo] Error code 1 make[7]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan/plu= gins/openssl --- openssl_rsa_public_key.lo --- openssl_rsa_public_key.c:139:57: warning: passing 'char *' to parameter = of type 'unsigned char *' converts between pointers to integer types = with different sign [-Wpointer-sign] len =3D RSA_public_decrypt(signature.len, signature.ptr, buf, = this->rsa, ^~~ /usr/local/include/openssl/rsa.h:337:20: note: passing argument to = parameter 'to' here unsigned char *to, RSA *rsa, int padding); ^ openssl_rsa_public_key.c:143:49: warning: passing 'char *' to parameter = of type 'u_char *' (aka 'unsigned char *') converts between pointers to = integer types with different sign [-Wpointer-sign] valid =3D chunk_equals_const(data, chunk_create(buf, = len)); ^~~ ../../../../src/libstrongswan/utils/chunk.h:57:44: note: passing = argument to parameter 'ptr' here static inline chunk_t chunk_create(u_char *ptr, size_t len) ^ openssl_rsa_public_key.c:319:49: warning: passing 'char *' to parameter = of type 'unsigned char *' converts between pointers to integer types = with different sign [-Wpointer-sign] len =3D RSA_public_encrypt(plain.len, plain.ptr, encrypted, ^~~~~~~~~ /usr/local/include/openssl/rsa.h:333:20: note: passing argument to = parameter 'to' here unsigned char *to, RSA *rsa, int padding); ^ openssl_rsa_public_key.c:327:25: warning: passing 'char *' to parameter = of type 'u_char *' (aka 'unsigned char *') converts between pointers to = integer types with different sign [-Wpointer-sign] *crypto =3D chunk_create(encrypted, len); ^~~~~~~~~ ../../../../src/libstrongswan/utils/chunk.h:57:44: note: passing = argument to parameter 'ptr' here static inline chunk_t chunk_create(u_char *ptr, size_t len) ^ --- openssl_xof.lo --- 5 warnings generated. --- openssl_crl.lo --- openssl_crl.c:332:8: warning: implicit declaration of function = 'i2d_re_X509_CRL_tbs' is invalid in C99 = [-Wimplicit-function-declaration] tbs =3D openssl_i2chunk(re_X509_CRL_tbs, this->crl); ^ ./openssl_util.h:105:16: note: expanded from macro 'openssl_i2chunk' int len =3D i2d_##type(obj, = NULL); \ ^ :68:1: note: expanded from here i2d_re_X509_CRL_tbs ^ --- openssl_util.lo --- openssl_util.c:203:32: warning: implicit declaration of function = 'OBJ_get0_data' is invalid in C99 [-Wimplicit-function-declaration] return chunk_create((u_char*)OBJ_get0_data(asn1), = OBJ_length(asn1)); ^ openssl_util.c:203:23: warning: cast to 'u_char *' (aka 'unsigned char = *') from smaller integer type 'int' [-Wint-to-pointer-cast] return chunk_create((u_char*)OBJ_get0_data(asn1), = OBJ_length(asn1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl_util.c:203:53: warning: implicit declaration of function = 'OBJ_length' is invalid in C99 [-Wimplicit-function-declaration] return chunk_create((u_char*)OBJ_get0_data(asn1), = OBJ_length(asn1)); ^ --- openssl_ec_private_key.lo --- openssl_ec_private_key.c:138:53: warning: passing 'int *' to parameter = of type 'unsigned int *' converts between pointers to integer types with = different sign [-Wpointer-sign] built =3D ECDSA_sign(0, hash.ptr, hash.len, sig.ptr, &siglen, = this->ec) =3D=3D 1; ^~~~~~~ /usr/local/include/openssl/ecdsa.h:231:39: note: passing argument to = parameter 'siglen' here unsigned char *sig, unsigned int *siglen, EC_KEY *eckey); ^ --- openssl_aead.lo --- 2 warnings generated. --- openssl_ec_diffie_hellman.lo --- 2 warnings generated. --- openssl_ed_public_key.lo --- openssl_ed_public_key.c:62:11: error: use of undeclared identifier = 'EVP_PKEY_ED25519'; did you mean 'KEY_ED25519'? return EVP_PKEY_ED25519; ^~~~~~~~~~~~~~~~ KEY_ED25519 ../../../../src/libstrongswan/credentials/keys/public_key.h:47:2: note: = 'KEY_ED25519' declared here KEY_ED25519 =3D 4, ^ openssl_ed_public_key.c:64:11: error: use of undeclared identifier = 'EVP_PKEY_ED448' return EVP_PKEY_ED448; ^ openssl_ed_public_key.c:109:3: warning: implicit declaration of function = 'EVP_DigestVerify' is invalid in C99 [-Wimplicit-function-declaration] EVP_DigestVerify(ctx, signature.ptr, signature.len, ^ openssl_ed_public_key.c:151:9: warning: implicit declaration of function = 'EVP_PKEY_get_raw_public_key' is invalid in C99 = [-Wimplicit-function-declaration] if (!EVP_PKEY_get_raw_public_key(key, NULL, = &blob.len)) ^ openssl_ed_public_key.c:283:9: warning: implicit declaration of function = 'EVP_PKEY_new_raw_public_key' is invalid in C99 = [-Wimplicit-function-declaration] key =3D = EVP_PKEY_new_raw_public_key(openssl_ed_key_type(type), NULL, ^ openssl_ed_public_key.c:283:7: warning: incompatible integer to pointer = conversion assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st *') from = 'int' [-Wint-conversion] key =3D = EVP_PKEY_new_raw_public_key(openssl_ed_key_type(type), NULL, ^ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- openssl_plugin.lo --- openssl_plugin.c:319:10: error: use of undeclared identifier = 'EVP_PKEY_ED25519'; did you mean 'KEY_ED25519'? case EVP_PKEY_ED25519: ^~~~~~~~~~~~~~~~ KEY_ED25519 ../../../../src/libstrongswan/credentials/keys/public_key.h:47:2: note: = 'KEY_ED25519' declared here KEY_ED25519 =3D 4, ^ --- openssl_ed_public_key.lo --- 4 warnings and 2 errors generated. --- openssl_plugin.lo --- openssl_plugin.c:320:10: error: use of undeclared identifier = 'EVP_PKEY_ED448' case EVP_PKEY_ED448: ^ --- openssl_ed_public_key.lo --- *** [openssl_ed_public_key.lo] Error code 1 make[7]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan/plu= gins/openssl --- openssl_x509.lo --- openssl_x509.c:431:8: warning: implicit declaration of function = 'i2d_re_X509_tbs' is invalid in C99 [-Wimplicit-function-declaration] tbs =3D openssl_i2chunk(re_X509_tbs, this->x509); ^ ./openssl_util.h:105:16: note: expanded from macro 'openssl_i2chunk' int len =3D i2d_##type(obj, = NULL); \ ^ :71:1: note: expanded from here i2d_re_X509_tbs ^ --- openssl_util.lo --- 3 warnings generated. --- openssl_plugin.lo --- openssl_plugin.c:471:8: error: use of undeclared identifier = 'EVP_PKEY_ED25519'; did you mean 'KEY_ED25519'? case EVP_PKEY_ED25519: ^~~~~~~~~~~~~~~~ KEY_ED25519 ../../../../src/libstrongswan/credentials/keys/public_key.h:47:2: note: = 'KEY_ED25519' declared here KEY_ED25519 =3D 4, ^ openssl_plugin.c:472:8: error: use of undeclared identifier = 'EVP_PKEY_ED448' case EVP_PKEY_ED448: ^ 4 errors generated. *** [openssl_plugin.lo] Error code 1 make[7]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan/plu= gins/openssl --- openssl_crl.lo --- 1 warning generated. --- openssl_ec_private_key.lo --- 1 warning generated. --- openssl_rsa_public_key.lo --- 4 warnings generated. --- openssl_rsa_private_key.lo --- 9 warnings generated. --- openssl_x509.lo --- 1 warning generated. 4 errors make[7]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan/plu= gins/openssl make[6]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan make[5]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src/libstrongswan make[4]: stopped in = /usr/ports/security/strongswan/work/strongswan-5.9.2/src make[3]: stopped in /usr/ports/security/strongswan/work/strongswan-5.9.2 make[2]: stopped in /usr/ports/security/strongswan/work/strongswan-5.9.2 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/strongswan *** Error code 1 Stop. make: stopped in /usr/ports/security/strongswan = =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=948<---------= --------------------------------------------------------------- Thank you again for your help! =E2=80=94Gena