diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-08-20 12:35:20 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-08-20 12:35:20 +0000 |
commit | 956006b741f9e5dbeaf98356317e51ef7110746b (patch) | |
tree | cd6e28704ceeccedcd0768ea7a3d5677ff88d7e4 /ssl/s3_srvr.c | |
parent | 167066fed4700d68b2776cbece464658fb30ac92 (diff) |
Use SHA256 for ticket HMAC if possible.
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 1246cd227f..17ee4da35e 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -2792,7 +2792,7 @@ int ssl3_send_newsession_ticket(SSL *s) HMAC_CTX_init(&hctx); HMAC_Init_ex(&hctx, s->ctx->tlsext_tick_hmac_key, 16, - EVP_sha1(), NULL); + tlsext_tick_md(), NULL); HMAC_Update(&hctx, macstart, p - macstart); HMAC_Final(&hctx, p, &hlen); HMAC_CTX_cleanup(&hctx); |