diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-12-08 13:47:28 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-12-08 13:47:28 +0000 |
commit | 59f44e810b696b7a908ab5b1958e16711a9154c2 (patch) | |
tree | 0ba7506f53ae1febe4aac8b57ef8038f32844003 /ssl/ssl.h | |
parent | 7a014dceb61236803270f5c6022b82a2c656e0a1 (diff) |
Add ctrl and macro so we can determine if peer support secure renegotiation.
Fix SSL_CIPHER initialiser for mcsv
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r-- | ssl/ssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -582,6 +582,8 @@ typedef struct ssl_session_st #define SSL_set_mtu(ssl, mtu) \ SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL) +#define SSL_get_secure_renegotiation_support(ssl) \ + SSL_ctrl((ssl), SSL_CTRL_GET_RI_SUPPORT, 0, NULL) void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); @@ -1249,6 +1251,8 @@ size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count); #define SSL_CTRL_GET_MAX_CERT_LIST 50 #define SSL_CTRL_SET_MAX_CERT_LIST 51 +#define SSL_CTRL_GET_RI_SUPPORT 53 + /* see tls1.h for macros based on these */ #ifndef OPENSSL_NO_TLSEXT #define SSL_CTRL_SET_TLSEXT_SERVERNAME_CB 53 |