tls: fix pkcs11-pin test to handle non-nul-terminated strings
authorDan Winship <danw@gnome.org>
Mon, 30 Jan 2012 14:06:54 +0000 (09:06 -0500)
committerDan Winship <danw@gnome.org>
Mon, 30 Jan 2012 14:09:42 +0000 (09:09 -0500)
commit510979d2eef4df032ff39e480891f44b947133a8
treeffdd2d905ae3e9ca45ed6d30b24c587b63aa2715
parent8c8d4ea5f0345c69cdf80013adf1706a3d5be38f
tls: fix pkcs11-pin test to handle non-nul-terminated strings

g_tls_password_get_value() and p11_kit_pin_get_value() return
non-nul-terminated strings, so don't use strcmp() on them.

https://bugzilla.gnome.org/show_bug.cgi?id=668945
tls/tests/pkcs11-pin.c