diff options
author | jsing <> | 2016-12-21 16:44:31 +0000 |
---|---|---|
committer | jsing <> | 2016-12-21 16:44:31 +0000 |
commit | 6e8ed6997ed910925a8bd07c763df51e7d9fad26 (patch) | |
tree | f6cf578a76dfa7785435b0a23d672ccd20cb86f2 /src/lib/libssl/ssl3.h | |
parent | 8815d5c3f9c607a6753e58d4c790a789abf0d2e2 (diff) | |
download | openbsd-6e8ed6997ed910925a8bd07c763df51e7d9fad26.tar.gz openbsd-6e8ed6997ed910925a8bd07c763df51e7d9fad26.tar.bz2 openbsd-6e8ed6997ed910925a8bd07c763df51e7d9fad26.zip |
Add support for ECDHE with X25519.
Testing of an earlier revision by naddy@.
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r-- | src/lib/libssl/ssl3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h index 5ec2fe6f88..90fcae7914 100644 --- a/src/lib/libssl/ssl3.h +++ b/src/lib/libssl/ssl3.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl3.h,v 1.41 2015/07/19 06:23:51 doug Exp $ */ | 1 | /* $OpenBSD: ssl3.h,v 1.42 2016/12/21 16:44:31 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 | * |
@@ -440,6 +440,8 @@ typedef struct ssl3_state_st { | |||
440 | 440 | ||
441 | EC_KEY *ecdh; /* holds short lived ECDH key */ | 441 | EC_KEY *ecdh; /* holds short lived ECDH key */ |
442 | 442 | ||
443 | uint8_t *x25519; | ||
444 | |||
443 | /* used when SSL_ST_FLUSH_DATA is entered */ | 445 | /* used when SSL_ST_FLUSH_DATA is entered */ |
444 | int next_state; | 446 | int next_state; |
445 | 447 | ||