diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-10 16:51:18 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-10 16:51:18 +0000 |
commit | 2d62af78d73dc21cfd7c7da0a2d19fc400e51106 (patch) | |
tree | 5ba9279da6fcca4b6e293c2c9b7b0b955cd7ade7 /lib/debug.c | |
parent | fff5ae5d94e48bdc019f354a537d0fdbece4bc53 (diff) | |
download | gnutls-2d62af78d73dc21cfd7c7da0a2d19fc400e51106.tar.gz |
renamed gnutls_x509_fingerprint to gnutls_fingerprint.
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/debug.c b/lib/debug.c index 643cb1c8ac..4cf1da5296 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -121,17 +121,3 @@ static char str[512]; } #endif -#ifdef DEBUG -int gnutls_x509_extract_certificate_dn( const gnutls_datum*, gnutls_x509_dn*); - -const char* GET_CN( gnutls_datum cert) { -static gnutls_x509_dn dn; - - if (gnutls_x509_extract_certificate_dn( &cert, &dn) >= 0) - return &dn.common_name[0]; - else - return NULL; - -} - -#endif |