X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=ssl%2Fssl_locl.h;h=cd397f45d2526818627ce24014bd8b3db614046e;hb=09599b52d4e295c380512ba39958a11994d63401;hp=1a2aef70e482ee51b9fb36d55b2b67c9eebf03a7;hpb=2514fa79acba998c2a8d4e5a8288a5b3ae990377;p=openssl.git diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 1a2aef70e4..cd397f45d2 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -557,6 +557,7 @@ typedef struct cert_st #ifndef OPENSSL_NO_DH DH *dh_tmp; DH *(*dh_tmp_cb)(SSL *ssl,int is_export,int keysize); + int dh_tmp_auto; #endif #ifndef OPENSSL_NO_ECDH EC_KEY *ecdh_tmp; @@ -1310,6 +1311,9 @@ int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain, int idx); void tls1_set_cert_validity(SSL *s); +#endif +#ifndef OPENSSL_NO_DH +DH *ssl_get_auto_dh(SSL *s); #endif EVP_MD_CTX* ssl_replace_hash(EVP_MD_CTX **hash,const EVP_MD *md) ; void ssl_clear_hash_ctx(EVP_MD_CTX **hash);