diff options
author | tedu <> | 2014-04-17 21:37:37 +0000 |
---|---|---|
committer | tedu <> | 2014-04-17 21:37:37 +0000 |
commit | 153e0cd77b7a56682f71acec88a0c318e197fcb3 (patch) | |
tree | 08e9b3a8cf6f35c7585646ca19c69f2ba87cc08c /src/lib/libssl/ssl.h | |
parent | 5f4d080a0e8eb89385e3020de8bbbd5243abf8dc (diff) | |
download | openbsd-153e0cd77b7a56682f71acec88a0c318e197fcb3.tar.gz openbsd-153e0cd77b7a56682f71acec88a0c318e197fcb3.tar.bz2 openbsd-153e0cd77b7a56682f71acec88a0c318e197fcb3.zip |
always build in RSA and DSA. ok deraadt miod
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index cefee6189d..ef829797b7 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1690,9 +1690,7 @@ int (*SSL_get_verify_callback(const SSL *s))(int, X509_STORE_CTX *); | |||
1690 | void SSL_set_verify(SSL *s, int mode, | 1690 | void SSL_set_verify(SSL *s, int mode, |
1691 | int (*callback)(int ok, X509_STORE_CTX *ctx)); | 1691 | int (*callback)(int ok, X509_STORE_CTX *ctx)); |
1692 | void SSL_set_verify_depth(SSL *s, int depth); | 1692 | void SSL_set_verify_depth(SSL *s, int depth); |
1693 | #ifndef OPENSSL_NO_RSA | ||
1694 | int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); | 1693 | int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); |
1695 | #endif | ||
1696 | int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len); | 1694 | int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len); |
1697 | int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); | 1695 | int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); |
1698 | int SSL_use_PrivateKey_ASN1(int pk, SSL *ssl, const unsigned char *d, long len); | 1696 | int SSL_use_PrivateKey_ASN1(int pk, SSL *ssl, const unsigned char *d, long len); |
@@ -1765,9 +1763,7 @@ void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, | |||
1765 | int (*callback)(int, X509_STORE_CTX *)); | 1763 | int (*callback)(int, X509_STORE_CTX *)); |
1766 | void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); | 1764 | void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); |
1767 | void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *, void *), void *arg); | 1765 | void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *, void *), void *arg); |
1768 | #ifndef OPENSSL_NO_RSA | ||
1769 | int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | 1766 | int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); |
1770 | #endif | ||
1771 | int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len); | 1767 | int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len); |
1772 | int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); | 1768 | int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); |
1773 | int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, const unsigned char *d, long len); | 1769 | int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, const unsigned char *d, long len); |
@@ -1963,13 +1959,11 @@ int SSL_get_ex_data_X509_STORE_CTX_idx(void ); | |||
1963 | SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL) | 1959 | SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL) |
1964 | 1960 | ||
1965 | /* NB: the keylength is only applicable when is_export is true */ | 1961 | /* NB: the keylength is only applicable when is_export is true */ |
1966 | #ifndef OPENSSL_NO_RSA | ||
1967 | void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, | 1962 | void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, |
1968 | RSA *(*cb)(SSL *ssl, int is_export, int keylength)); | 1963 | RSA *(*cb)(SSL *ssl, int is_export, int keylength)); |
1969 | 1964 | ||
1970 | void SSL_set_tmp_rsa_callback(SSL *ssl, | 1965 | void SSL_set_tmp_rsa_callback(SSL *ssl, |
1971 | RSA *(*cb)(SSL *ssl, int is_export, int keylength)); | 1966 | RSA *(*cb)(SSL *ssl, int is_export, int keylength)); |
1972 | #endif | ||
1973 | #ifndef OPENSSL_NO_DH | 1967 | #ifndef OPENSSL_NO_DH |
1974 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | 1968 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, |
1975 | DH *(*dh)(SSL *ssl, int is_export, int keylength)); | 1969 | DH *(*dh)(SSL *ssl, int is_export, int keylength)); |