diff options
author | djm <> | 2012-01-05 23:01:39 +0000 |
---|---|---|
committer | djm <> | 2012-01-05 23:01:39 +0000 |
commit | 1323613b1aa20bc25bc1ca71f1926d7e11788b87 (patch) | |
tree | 866512933d8f0c1ea5465d0169915b36c1ca3cae /src/lib/libssl/d1_srvr.c | |
parent | 01b1f5ed381fe1d6d9a28e1b11285d194d167080 (diff) | |
download | openbsd-1323613b1aa20bc25bc1ca71f1926d7e11788b87.tar.gz openbsd-1323613b1aa20bc25bc1ca71f1926d7e11788b87.tar.bz2 openbsd-1323613b1aa20bc25bc1ca71f1926d7e11788b87.zip |
OpenSSL 1.0.0f: merge
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-rw-r--r-- | src/lib/libssl/d1_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index a6a4c87ea6..149983be30 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
@@ -1271,7 +1271,7 @@ int dtls1_send_server_key_exchange(SSL *s) | |||
1271 | EVP_SignInit_ex(&md_ctx,EVP_ecdsa(), NULL); | 1271 | EVP_SignInit_ex(&md_ctx,EVP_ecdsa(), NULL); |
1272 | EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); | 1272 | EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); |
1273 | EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); | 1273 | EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); |
1274 | EVP_SignUpdate(&md_ctx,&(d[4]),n); | 1274 | EVP_SignUpdate(&md_ctx,&(d[DTLS1_HM_HEADER_LENGTH]),n); |
1275 | if (!EVP_SignFinal(&md_ctx,&(p[2]), | 1275 | if (!EVP_SignFinal(&md_ctx,&(p[2]), |
1276 | (unsigned int *)&i,pkey)) | 1276 | (unsigned int *)&i,pkey)) |
1277 | { | 1277 | { |