no code change; CRLF line endings, trailing spaces
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
using System;
|
||||
@@ -122,12 +122,12 @@ class wolfSSL_Example_IOCallbacks
|
||||
/// <returns>size of key set</returns>
|
||||
public static uint my_psk_server_cb(IntPtr ssl, string identity, IntPtr key, uint max_key)
|
||||
{
|
||||
/* perform a check on the identity sent across
|
||||
/* perform a check on the identity sent across
|
||||
* log function must be set for print out of logging information
|
||||
*/
|
||||
wolfssl.log(wolfssl.INFO_LOG, "PSK Client Identity = " + identity);
|
||||
|
||||
/* Use desired key, note must be a key smaller than max key size parameter
|
||||
/* Use desired key, note must be a key smaller than max key size parameter
|
||||
Replace this with desired key. Is trivial one for testing */
|
||||
if (max_key < 4)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user