diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-12 13:51:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-12 16:32:07 +0200 |
commit | 1faeb8bf19a551ead2046c914cd55c7bf583d58e (patch) | |
tree | 8d10c7aeca2825bfeaa5fad40b313e8710716d4e /lib/x509/common.h | |
parent | 76a00c50a4735d799dc1ad492fe5db049e3bc4e6 (diff) | |
download | gnutls-1faeb8bf19a551ead2046c914cd55c7bf583d58e.tar.gz |
added gnutls_pkcs11_copy_attached_extension()
Diffstat (limited to 'lib/x509/common.h')
-rw-r--r-- | lib/x509/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/x509/common.h b/lib/x509/common.h index 48340a12c0..582d482bae 100644 --- a/lib/x509/common.h +++ b/lib/x509/common.h @@ -215,7 +215,9 @@ int _gnutls_copy_data(gnutls_datum_t* str, uint8_t *out, size_t *out_size); int _san_othername_to_virtual(const char *oid, size_t oid_size); int _gnutls_x509_decode_ext(const gnutls_datum_t *der, gnutls_x509_ext_st *out); -int x509_crt_to_raw_pubkey(const gnutls_datum_t * cert, +int x509_raw_crt_to_raw_pubkey(const gnutls_datum_t * cert, gnutls_datum_t * rpubkey); +int x509_crt_to_raw_pubkey(gnutls_x509_crt_t crt, + gnutls_datum_t * rpubkey); #endif |