summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-10 16:51:18 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-10 16:51:18 +0000
commit2d62af78d73dc21cfd7c7da0a2d19fc400e51106 (patch)
tree5ba9279da6fcca4b6e293c2c9b7b0b955cd7ade7 /lib/debug.c
parentfff5ae5d94e48bdc019f354a537d0fdbece4bc53 (diff)
downloadgnutls-2d62af78d73dc21cfd7c7da0a2d19fc400e51106.tar.gz
renamed gnutls_x509_fingerprint to gnutls_fingerprint.
Diffstat (limited to 'lib/debug.c')
-rw-r--r--lib/debug.c14
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