From 78ce507988d842d498d0d9384bdfc022522a3df6 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 23 Nov 2012 14:23:53 +0100
Subject: [PATCH] Fixed typo
---
library/ssl_srv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ssl_srv.c b/library/ssl_srv.c
index 79c3a380f..1e5002a03 100644
--- a/library/ssl_srv.c
+++ b/library/ssl_srv.c
@@ -1271,7 +1271,7 @@ static int ssl_parse_certificate_verify( ssl_context *ssl )
}
n1 = ssl->session_negotiate->peer_cert->rsa.len;
- n2 = ( ssl->in_msg[4 + n] << 8 ) | ssl->in_msg[5 + 2];
+ n2 = ( ssl->in_msg[4 + n] << 8 ) | ssl->in_msg[5 + n];
if( n + n1 + 6 != ssl->in_hslen || n1 != n2 )
{