diff options
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 34e6337856..3c1c444cb0 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.62 2014/07/12 22:33:39 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.63 2014/07/28 04:23:12 guenther 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 | * |
@@ -368,6 +368,12 @@ | |||
368 | #define SSL_MEDIUM 0x00000040L | 368 | #define SSL_MEDIUM 0x00000040L |
369 | #define SSL_HIGH 0x00000080L | 369 | #define SSL_HIGH 0x00000080L |
370 | 370 | ||
371 | /* | ||
372 | * The keylength (measured in RSA key bits, I guess) for temporary keys. | ||
373 | * Cipher argument is so that this can be variable in the future. | ||
374 | */ | ||
375 | #define SSL_C_PKEYLENGTH(c) 1024 | ||
376 | |||
371 | /* Check if an SSL structure is using DTLS. */ | 377 | /* Check if an SSL structure is using DTLS. */ |
372 | #define SSL_IS_DTLS(s) (s->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_DTLS) | 378 | #define SSL_IS_DTLS(s) (s->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_DTLS) |
373 | 379 | ||