diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-10 18:27:13 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-10 18:27:13 +0000 |
commit | 2eab92f8e3017a3a34f38d6fb0d76a0466e324f7 (patch) | |
tree | 8d9ef58a2b3874c0894ca3ba081397b56ef6f9a3 /ssl/ssl_locl.h | |
parent | 2bbd82cf24d87605ffc54f0ecd8a82a5840ce183 (diff) |
make no-dsa work again
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 41f0f77597..beb5a6c8d8 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -344,9 +344,12 @@ * make sure to update this constant too */ #define SSL_MAX_DIGEST 4 +#define TLS1_PRF_DGST_MASK (0xff << TLS1_PRF_DGST_SHIFT) + #define TLS1_PRF_DGST_SHIFT 8 #define TLS1_PRF_MD5 (SSL_HANDSHAKE_MAC_MD5 << TLS1_PRF_DGST_SHIFT) #define TLS1_PRF_SHA1 (SSL_HANDSHAKE_MAC_SHA << TLS1_PRF_DGST_SHIFT) +#define TLS1_PRF_SHA256 (SSL_HANDSHAKE_MAC_SHA256 << TLS1_PRF_DGST_SHIFT) #define TLS1_PRF_GOST94 (SSL_HANDSHAKE_MAC_GOST94 << TLS1_PRF_DGST_SHIFT) #define TLS1_PRF (TLS1_PRF_MD5 | TLS1_PRF_SHA1) |