expanding compatibility layer

This commit is contained in:
Jacob Barthelmeh
2016-11-18 14:58:51 -07:00
parent 9d1cb18616
commit ff05c8a7a5
10 changed files with 500 additions and 190 deletions

View File

@@ -1046,7 +1046,7 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
err_sys("error creating server random buffer");
}
size = wolfSSL_get_client_random(ssl, rnd, size);
size = wolfSSL_get_server_random(ssl, rnd, size);
if (size == 0) {
XFREE(rnd, NULL, DYNAMIC_TYPE_TMP_BUFFER);
err_sys("error getting server random buffer");