summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-02 13:27:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-02 13:27:43 +0000
commitd45c74b75d8753747672561e760e7832154805c3 (patch)
tree5cda7efb37496c0e5def99958e44d388386293c7 /src/common.c
parent43ed1e984fe63abcc5511cf63b3cda3bf52f7504 (diff)
downloadgnutls-d45c74b75d8753747672561e760e7832154805c3.tar.gz
added gnutls_openpgp_key_export() function.
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c
index a443af047c..eb27fd3d3c 100644
--- a/src/common.c
+++ b/src/common.c
@@ -228,7 +228,7 @@ void print_openpgp_info(gnutls_session session, const char* hostname)
fprintf(stderr, "Decoding error: %s\n", str);
return;
}
-#if 0
+
if (print_cert) {
size_t size;
@@ -243,7 +243,6 @@ void print_openpgp_info(gnutls_session session, const char* hostname)
fputs( buffer, stdout);
fputs( "\n", stdout);
}
-#endif
if (hostname != NULL) { /* Check the hostname of the first certificate
* if it matches the name of the host we