summaryrefslogtreecommitdiff
path: root/client/certutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/certutil.c')
-rw-r--r--client/certutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/certutil.c b/client/certutil.c
index 7b0c81f..b9087d7 100644
--- a/client/certutil.c
+++ b/client/certutil.c
@@ -445,6 +445,10 @@ void certutil_updateErrorString(void) {
fprintf(stderr, BINNAME ": error from OpenSSL or libP11: %s\n", error_string);
}
+void certutil_setErrorString(char *str) {
+ error_string = str;
+}
+
char *certutil_getErrorString(void) {
return error_string;
}