summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-10-03 16:38:36 +0000
committerEd Maste <emaste@FreeBSD.org>2018-10-03 16:38:36 +0000
commit4b6d416b3218ec9278480ac18e457fe7b1f5db20 (patch)
treea61f9ce15c36d5f61f9221abd16df698ea5b7828
parent9e15a1058d550453092ee1f77d24fc38e01aaf5f (diff)
downloadsrc-test-4b6d416b3218ec9278480ac18e457fe7b1f5db20.tar.gz
src-test-4b6d416b3218ec9278480ac18e457fe7b1f5db20.zip
openssh: connect libressl-api-compat.c and regen config.h
Differential Revision: https://reviews.freebsd.org/D17390
Notes
Notes: svn path=/projects/openssl111/; revision=339157
-rw-r--r--crypto/openssh/config.h102
-rw-r--r--secure/lib/libssh/Makefile4
2 files changed, 102 insertions, 4 deletions
diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h
index 83a9856774b34..17d7e53666e9b 100644
--- a/crypto/openssh/config.h
+++ b/crypto/openssh/config.h
@@ -394,6 +394,21 @@
/* Define if you have /dev/ptc */
/* #undef HAVE_DEV_PTS_AND_PTC */
+/* Define if libcrypto has DH_get0_key */
+#define HAVE_DH_GET0_KEY 1
+
+/* Define if libcrypto has DH_get0_pqg */
+#define HAVE_DH_GET0_PQG 1
+
+/* Define if libcrypto has DH_set0_key */
+#define HAVE_DH_SET0_KEY 1
+
+/* Define if libcrypto has DH_set0_pqg */
+#define HAVE_DH_SET0_PQG 1
+
+/* Define if libcrypto has DH_set_length */
+#define HAVE_DH_SET_LENGTH 1
+
/* Define to 1 if you have the <dirent.h> header file. */
#define HAVE_DIRENT_H 1
@@ -406,6 +421,30 @@
/* Define to 1 if you have the `DSA_generate_parameters_ex' function. */
#define HAVE_DSA_GENERATE_PARAMETERS_EX 1
+/* Define if libcrypto has DSA_get0_key */
+#define HAVE_DSA_GET0_KEY 1
+
+/* Define if libcrypto has DSA_get0_pqg */
+#define HAVE_DSA_GET0_PQG 1
+
+/* Define if libcrypto has DSA_set0_key */
+#define HAVE_DSA_SET0_KEY 1
+
+/* Define if libcrypto has DSA_set0_pqg */
+#define HAVE_DSA_SET0_PQG 1
+
+/* Define if libcrypto has DSA_SIG_get0 */
+#define HAVE_DSA_SIG_GET0 1
+
+/* Define if libcrypto has DSA_SIG_set0 */
+#define HAVE_DSA_SIG_SET0 1
+
+/* Define if libcrypto has ECDSA_SIG_get0 */
+#define HAVE_ECDSA_SIG_GET0 1
+
+/* Define if libcrypto has ECDSA_SIG_set0 */
+#define HAVE_ECDSA_SIG_SET0 1
+
/* Define to 1 if you have the <elf.h> header file. */
#define HAVE_ELF_H 1
@@ -436,6 +475,15 @@
/* Define if libcrypto has EVP_CIPHER_CTX_ctrl */
#define HAVE_EVP_CIPHER_CTX_CTRL 1
+/* Define if libcrypto has EVP_CIPHER_CTX_set_iv */
+/* #undef HAVE_EVP_CIPHER_CTX_GET_IV */
+
+/* Define if libcrypto has EVP_CIPHER_CTX_iv */
+#define HAVE_EVP_CIPHER_CTX_IV 1
+
+/* Define if libcrypto has EVP_CIPHER_CTX_iv_noconst */
+#define HAVE_EVP_CIPHER_CTX_IV_NOCONST 1
+
/* Define to 1 if you have the `EVP_DigestFinal_ex' function. */
#define HAVE_EVP_DIGESTFINAL_EX 1
@@ -443,13 +491,22 @@
#define HAVE_EVP_DIGESTINIT_EX 1
/* Define to 1 if you have the `EVP_MD_CTX_cleanup' function. */
-#define HAVE_EVP_MD_CTX_CLEANUP 1
+/* #undef HAVE_EVP_MD_CTX_CLEANUP */
/* Define to 1 if you have the `EVP_MD_CTX_copy_ex' function. */
#define HAVE_EVP_MD_CTX_COPY_EX 1
+/* Define if libcrypto has EVP_MD_CTX_free */
+#define HAVE_EVP_MD_CTX_FREE 1
+
/* Define to 1 if you have the `EVP_MD_CTX_init' function. */
-#define HAVE_EVP_MD_CTX_INIT 1
+/* #undef HAVE_EVP_MD_CTX_INIT */
+
+/* Define if libcrypto has EVP_MD_CTX_new */
+#define HAVE_EVP_MD_CTX_NEW 1
+
+/* Define if libcrypto has EVP_PKEY_get0_RSA */
+#define HAVE_EVP_PKEY_GET0_RSA 1
/* Define to 1 if you have the `EVP_ripemd160' function. */
#define HAVE_EVP_RIPEMD160 1
@@ -647,7 +704,7 @@
#define HAVE_HEADER_AD 1
/* Define to 1 if you have the `HMAC_CTX_init' function. */
-#define HAVE_HMAC_CTX_INIT 1
+/* #undef HAVE_HMAC_CTX_INIT */
/* Define if you have ut_host in utmp.h */
/* #undef HAVE_HOST_IN_UTMP */
@@ -973,9 +1030,48 @@
/* Define to 1 if you have the `RSA_generate_key_ex' function. */
#define HAVE_RSA_GENERATE_KEY_EX 1
+/* Define if libcrypto has RSA_get0_crt_params */
+#define HAVE_RSA_GET0_CRT_PARAMS 1
+
+/* Define if libcrypto has RSA_get0_factors */
+#define HAVE_RSA_GET0_FACTORS 1
+
+/* Define if libcrypto has RSA_get0_key */
+#define HAVE_RSA_GET0_KEY 1
+
/* Define to 1 if you have the `RSA_get_default_method' function. */
#define HAVE_RSA_GET_DEFAULT_METHOD 1
+/* Define if libcrypto has RSA_meth_dup */
+#define HAVE_RSA_METH_DUP 1
+
+/* Define if libcrypto has RSA_meth_free */
+#define HAVE_RSA_METH_FREE 1
+
+/* Define if libcrypto has RSA_meth_get_finish */
+#define HAVE_RSA_METH_GET_FINISH 1
+
+/* Define if libcrypto has RSA_meth_set1_name */
+#define HAVE_RSA_METH_SET1_NAME 1
+
+/* Define if libcrypto has RSA_meth_set_finish */
+#define HAVE_RSA_METH_SET_FINISH 1
+
+/* Define if libcrypto has RSA_meth_set_priv_dec */
+#define HAVE_RSA_METH_SET_PRIV_DEC 1
+
+/* Define if libcrypto has RSA_meth_set_priv_enc */
+#define HAVE_RSA_METH_SET_PRIV_ENC 1
+
+/* Define if libcrypto has RSA_get0_srt_params */
+#define HAVE_RSA_SET0_CRT_PARAMS 1
+
+/* Define if libcrypto has RSA_set0_factors */
+#define HAVE_RSA_SET0_FACTORS 1
+
+/* Define if libcrypto has RSA_set0_key */
+#define HAVE_RSA_SET0_KEY 1
+
/* Define to 1 if you have the <sandbox.h> header file. */
/* #undef HAVE_SANDBOX_H */
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index e443228c52b52..b325fe9d32d4f 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -31,7 +31,9 @@ PACKAGE= ssh
# Portability layer
SRCS+= bcrypt_pbkdf.c blowfish.c bsd-misc.c bsd-signal.c explicit_bzero.c \
- fmt_scaled.c freezero.c glob.c openssl-compat.c port-net.c \
+ fmt_scaled.c freezero.c glob.c \
+ libressl-api-compat.c \
+ openssl-compat.c port-net.c \
realpath.c recallocarray.c strtonum.c timingsafe_bcmp.c vis.c xcrypt.c
.if ${MK_LDNS} == "no"