Fix CVE-2017-6891 in minitasn1 code
[platform/upstream/gnutls.git] / doc / functions / gnutls_pubkey_import_x509_crq
1
2
3
4
5 @deftypefun {int} {gnutls_pubkey_import_x509_crq} (gnutls_pubkey_t @var{key}, gnutls_x509_crq_t @var{crq}, unsigned int @var{flags})
6 @var{key}: The public key
7
8 @var{crq}: The certificate to be imported
9
10 @var{flags}: should be zero
11
12 This function will import the given public key to the abstract
13 @code{gnutls_pubkey_t}  structure.
14
15 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
16 negative error value.
17
18 @strong{Since:} 3.1.5
19 @end deftypefun