summaryrefslogtreecommitdiff
path: root/ssl/ssl.h
diff options
context:
space:
mode:
authorsteve <steve>2012-03-14 13:44:56 +0000
committersteve <steve>2012-03-14 13:44:56 +0000
commitea5e913a920e2379c525162d8c4e0c7fc98c8c6f (patch)
treed84c839c37a7739874b3778d618ad3e35e625f2e /ssl/ssl.h
parentf04a4b2f1c7c554f630c072c248934a4b32383c6 (diff)
downloadopenssl-ea5e913a920e2379c525162d8c4e0c7fc98c8c6f.tar.gz
update FAQ, NEWS
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r--ssl/ssl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 3e255fcfe..4215dda89 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1619,6 +1619,8 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
#define SSL_CTRL_CHAIN_CERT 89
#define SSL_CTRL_GET_CURVELIST 90
+#define SSL_CTRL_SET_CURVELIST 91
+#define SSL_CTRL_SHARED_CURVES 92
#define DTLSv1_get_timeout(ssl, arg) \
SSL_ctrl(ssl,DTLS_CTRL_GET_TIMEOUT,0, (void *)arg)
@@ -1680,6 +1682,8 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
SSL_ctrl(ctx,SSL_CTRL_CHAIN_CERT,1,(char *)x509)
#define SSL_get1_curvelist(ctx, s) \
SSL_ctrl(ctx,SSL_CTRL_GET_CURVELIST,0,(char *)s)
+#define SSL_set1_curvelist(ctx, clist, clistlen) \
+ SSL_ctrl(ctx,SSL_CTRL_SET_CURVELIST,clistlen,(char *)clist)
#ifndef OPENSSL_NO_BIO