Merge pull request #114 from paride/master

Typo in the ALPN callback: ta_len should be ha_len
This commit is contained in:
misi 2017-03-24 06:31:31 +01:00 committed by GitHub
commit 9550c8acb9

View File

@ -2456,7 +2456,7 @@ static int ServerALPNCallback(SSL *ssl,
}
if((current_len == ha_len) && (memcmp(ptr+1,HTTP_ALPN,ha_len)==0)) {
*out = ptr+1;
*outlen = ta_len;
*outlen = ha_len;
SSL_set_app_data(ssl,HTTP_ALPN);
found_http = 1;
}