gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add DN import function


From: Nikos Mavrogiannopoulos
Subject: Re: [PATCH] add DN import function
Date: Sat, 16 Feb 2008 11:25:38 +0200
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

On Thursday 14 February 2008, Joe Orton wrote:
> The CA dnames passed to the client-cert-retrieve function are raw DER
> and hence can't be used by gnutls_x509_dn_get_rdn_ava().
>
> This patch adds gnutls_x509_dn_import() which fills that gap, and
> gnutls_x509_free_dn() which destroys the allocated structures.
>
> The naming is slightly awkward because these don't fit the usual
> init/import/deinit convention used by GnuTLS; let me know if you'd
> prefer different names.

This is a nice addition, thank you. About the nameing I think
gnutls_x509_free_dn should be better named gnutls_x509_dn_deinit to be more 
consistent with the other deinitialization functions. Would this be ok with 
you?


regards,
Nikos






reply via email to

[Prev in Thread] Current Thread [Next in Thread]