summaryrefslogtreecommitdiff
path: root/lib/x509/sign.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/sign.h')
-rw-r--r--lib/x509/sign.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x509/sign.h b/lib/x509/sign.h
index 6c5df85d5d..dd6936f346 100644
--- a/lib/x509/sign.h
+++ b/lib/x509/sign.h
@@ -1,2 +1,4 @@
int _gnutls_x509_sign( const gnutls_datum* tbs, gnutls_mac_algorithm hash,
gnutls_x509_privkey signer, gnutls_datum* signature);
+int _gnutls_x509_sign_tbs( ASN1_TYPE cert, const char* tbs_name,
+ gnutls_mac_algorithm hash, gnutls_x509_privkey signer, gnutls_datum* signature);