summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/x509.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-11 11:41:14 +0200
committerGitLab <gitlab@gitlab.com>2016-07-13 12:28:11 +0000
commit2f88e2b5b4b27ad67d68d6d4ad872a2b2fb93f9e (patch)
tree0169f922c265ba6a2cafc3bb363163f89b3b53ac /lib/includes/gnutls/x509.h
parent3696fbc57b4814eed10b348401a2ec94b347cba5 (diff)
downloadgnutls-2f88e2b5b4b27ad67d68d6d4ad872a2b2fb93f9e.tar.gz
added gnutls_x509_crq_set_extension_by_oid()
This is a function to add an arbitrary extension into a certificate request.
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r--lib/includes/gnutls/x509.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h
index 35db44b796..1b5bcbbf23 100644
--- a/lib/includes/gnutls/x509.h
+++ b/lib/includes/gnutls/x509.h
@@ -1238,6 +1238,12 @@ int gnutls_x509_crq_get_version(gnutls_x509_crq_t crq);
int gnutls_x509_crq_set_key(gnutls_x509_crq_t crq,
gnutls_x509_privkey_t key);
+int
+gnutls_x509_crq_set_extension_by_oid(gnutls_x509_crq_t crq,
+ const char *oid, const void *buf,
+ size_t sizeof_buf,
+ unsigned int critical);
+
int gnutls_x509_crq_set_challenge_password(gnutls_x509_crq_t crq,
const char *pass);
int gnutls_x509_crq_get_challenge_password(gnutls_x509_crq_t crq,