summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcryptoutil/common/cryptoutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libcryptoutil/common/cryptoutil.h')
-rw-r--r--usr/src/lib/libcryptoutil/common/cryptoutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/libcryptoutil/common/cryptoutil.h b/usr/src/lib/libcryptoutil/common/cryptoutil.h
index 63a3df665f..d5c67c48a4 100644
--- a/usr/src/lib/libcryptoutil/common/cryptoutil.h
+++ b/usr/src/lib/libcryptoutil/common/cryptoutil.h
@@ -23,6 +23,7 @@
/*
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
* Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
+ * Copyright 2018, Joyent, Inc.
*/
#ifndef _CRYPTOUTIL_H
@@ -227,6 +228,8 @@ extern int update_conf(char *conf_file, char *entry);
extern int pkcs11_parse_uri(const char *str, pkcs11_uri_t *uri);
extern void pkcs11_free_uri(pkcs11_uri_t *uri);
+extern CK_RV crypto2pkcs11_error_number(uint_t);
+
#ifdef __cplusplus
}
#endif