p11helper: clarify error message

https://fedorahosted.org/freeipa/ticket/4657

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Petr Spacek authored and Tomas Babej committed 2015-03-06 10:58:10 +01:00
1 parent 5635d1bf43
commit 459f0a8401
1 file changed
+3 -1
+3 -1
View File
@@ -237,7 +237,9 @@ int check_return_value(CK_RV rv, const char *message) {
(&errmsg, "Error at %s: 0x%x\n", message, (unsigned int) rv)
== -1) {
PyErr_SetString(ipap11helperError,
"DOUBLE ERROR: Creating the error message caused an error");
"An error occured during error message generation. "
"Please report this problem. Developers will use "
"a crystal ball to find out the root cause.");
return 0;
}
if (errmsg != NULL) {