Remove dead code from OpenSSL days
authorColin Leroy <colin@colino.net>
Thu, 24 Apr 2014 18:30:08 +0000 (20:30 +0200)
committerColin Leroy <colin@colino.net>
Thu, 24 Apr 2014 18:30:08 +0000 (20:30 +0200)
src/common/ssl_certificate.c

index 48e55c9..ea8cd8e 100644 (file)
@@ -365,11 +365,9 @@ static void ssl_certificate_save (SSLCertificate *cert)
                debug_print("Can't save certificate !\n");
                return;
        }
-#ifdef USE_GNUTLS
+
        gnutls_i2d_X509_fp(fp, cert->x509_cert);
-#else
-       i2d_X509_fp(fp, cert->x509_cert);
-#endif
+
        g_free(file);
        fclose(fp);