svn commit: samba r7068 - in branches/SAMBA_4_0/source/web_server: .

tpot at samba.org tpot at samba.org
Sun May 29 04:24:10 GMT 2005


Author: tpot
Date: 2005-05-29 04:24:09 +0000 (Sun, 29 May 2005)
New Revision: 7068

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7068

Log:
Missed one!

Modified:
   branches/SAMBA_4_0/source/web_server/tlscert.c


Changeset:
Modified: branches/SAMBA_4_0/source/web_server/tlscert.c
===================================================================
--- branches/SAMBA_4_0/source/web_server/tlscert.c	2005-05-29 04:22:40 UTC (rev 7067)
+++ branches/SAMBA_4_0/source/web_server/tlscert.c	2005-05-29 04:24:09 UTC (rev 7068)
@@ -113,7 +113,9 @@
 	TLSCHECK(gnutls_x509_crt_set_activation_time(crt, activation));
 	TLSCHECK(gnutls_x509_crt_set_expiration_time(crt, expiry));
 	TLSCHECK(gnutls_x509_crt_set_ca_status(crt, 0));
+#ifdef GNUTLS_KP_TLS_WWW_SERVER
 	TLSCHECK(gnutls_x509_crt_set_key_purpose_oid(crt, GNUTLS_KP_TLS_WWW_SERVER, 0));
+#endif
 	TLSCHECK(gnutls_x509_crt_set_version(crt, 3));
 	TLSCHECK(gnutls_x509_crt_get_key_id(crt, 0, keyid, &keyidsize));
 	TLSCHECK(gnutls_x509_crt_set_subject_key_id(crt, keyid, keyidsize));



More information about the samba-cvs mailing list