diff options
| author | jsing <> | 2017-01-23 14:35:42 +0000 | 
|---|---|---|
| committer | jsing <> | 2017-01-23 14:35:42 +0000 | 
| commit | fa9356a54359643aa5b7a6217b6f158080b19d7d (patch) | |
| tree | 27eab6f3272b4b46f77e786896eae8e697800969 /src/lib/libssl/ssl.h | |
| parent | 4ae6fa4e9b3c20e6347b1b4ad62b1051ed5d7630 (diff) | |
| download | openbsd-fa9356a54359643aa5b7a6217b6f158080b19d7d.tar.gz openbsd-fa9356a54359643aa5b7a6217b6f158080b19d7d.tar.bz2 openbsd-fa9356a54359643aa5b7a6217b6f158080b19d7d.zip | |
Move options and mode from SSL_CTX and SSL to internal, since these can be
set and cleared via existing functions.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl.h | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 037f46c400..28b7de6667 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.118 2017/01/23 13:36:13 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.119 2017/01/23 14:35:42 jsing Exp $ */ | 
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 
| 3 | * All rights reserved. | 3 | * All rights reserved. | 
| 4 | * | 4 | * | 
| @@ -672,9 +672,6 @@ struct ssl_ctx_st { | |||
| 672 | 672 | ||
| 673 | /* Default values to use in SSL structures follow (these are copied by SSL_new) */ | 673 | /* Default values to use in SSL structures follow (these are copied by SSL_new) */ | 
| 674 | 674 | ||
| 675 | unsigned long options; | ||
| 676 | unsigned long mode; | ||
| 677 | |||
| 678 | STACK_OF(X509) *extra_certs; | 675 | STACK_OF(X509) *extra_certs; | 
| 679 | 676 | ||
| 680 | int verify_mode; | 677 | int verify_mode; | 
| @@ -852,10 +849,10 @@ struct ssl_st { | |||
| 852 | long verify_result; | 849 | long verify_result; | 
| 853 | 850 | ||
| 854 | int references; | 851 | int references; | 
| 855 | unsigned long options; /* protocol behaviour */ | 852 | |
| 856 | unsigned long mode; /* API behaviour */ | ||
| 857 | int client_version; /* what was passed, used for | 853 | int client_version; /* what was passed, used for | 
| 858 | * SSLv3/TLS rollback check */ | 854 | * SSLv3/TLS rollback check */ | 
| 855 | |||
| 859 | unsigned int max_send_fragment; | 856 | unsigned int max_send_fragment; | 
| 860 | 857 | ||
| 861 | char *tlsext_hostname; | 858 | char *tlsext_hostname; | 
