summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/ssl/ssl_locl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/src/ssl/ssl_locl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h
index 11250ba468..d80bf958fd 100644
--- a/src/lib/libssl/src/ssl/ssl_locl.h
+++ b/src/lib/libssl/src/ssl/ssl_locl.h
@@ -479,15 +479,11 @@ typedef struct cert_st {
479 unsigned long export_mask_a; 479 unsigned long export_mask_a;
480 RSA *rsa_tmp; 480 RSA *rsa_tmp;
481 RSA *(*rsa_tmp_cb)(SSL *ssl, int is_export, int keysize); 481 RSA *(*rsa_tmp_cb)(SSL *ssl, int is_export, int keysize);
482#ifndef OPENSSL_NO_DH
483 DH *dh_tmp; 482 DH *dh_tmp;
484 DH *(*dh_tmp_cb)(SSL *ssl, int is_export, int keysize); 483 DH *(*dh_tmp_cb)(SSL *ssl, int is_export, int keysize);
485#endif
486#ifndef OPENSSL_NO_ECDH
487 EC_KEY *ecdh_tmp; 484 EC_KEY *ecdh_tmp;
488 /* Callback for generating ephemeral ECDH keys */ 485 /* Callback for generating ephemeral ECDH keys */
489 EC_KEY *(*ecdh_tmp_cb)(SSL *ssl, int is_export, int keysize); 486 EC_KEY *(*ecdh_tmp_cb)(SSL *ssl, int is_export, int keysize);
490#endif
491 487
492 CERT_PKEY pkeys[SSL_PKEY_NUM]; 488 CERT_PKEY pkeys[SSL_PKEY_NUM];
493 489
@@ -507,12 +503,8 @@ typedef struct sess_cert_st {
507 * so maybe we shouldn't even use the CERT_PKEY type here. */ 503 * so maybe we shouldn't even use the CERT_PKEY type here. */
508 504
509 RSA *peer_rsa_tmp; /* not used for SSL 2 */ 505 RSA *peer_rsa_tmp; /* not used for SSL 2 */
510#ifndef OPENSSL_NO_DH
511 DH *peer_dh_tmp; /* not used for SSL 2 */ 506 DH *peer_dh_tmp; /* not used for SSL 2 */
512#endif
513#ifndef OPENSSL_NO_ECDH
514 EC_KEY *peer_ecdh_tmp; 507 EC_KEY *peer_ecdh_tmp;
515#endif
516 508
517 int references; /* actually always 1 at the moment */ 509 int references; /* actually always 1 at the moment */
518} SESS_CERT; 510} SESS_CERT;
@@ -836,9 +828,7 @@ int tls1_alert_code(int code);
836int ssl3_alert_code(int code); 828int ssl3_alert_code(int code);
837int ssl_ok(SSL *s); 829int ssl_ok(SSL *s);
838 830
839#ifndef OPENSSL_NO_ECDH
840int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s); 831int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s);
841#endif
842 832
843SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); 833SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n);
844 834