s4-rpc-bkrp: Do not set the ca status
authorAndreas Schneider <asn@samba.org>
Wed, 9 Dec 2015 07:29:45 +0000 (08:29 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 10 Dec 2015 07:49:20 +0000 (08:49 +0100)
Windows doesn't have any CA data set on the certificate.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/rpc_server/backupkey/dcesrv_backupkey_heimdal.c

index 8636e0fd62b950896b9814dd9bc12688be8d3137..7e733b0b563dc199947201d104fde90ee31f98a2 100644 (file)
@@ -985,10 +985,6 @@ static WERROR self_sign_cert(TALLOC_CTX *ctx, hx509_context *hctx, hx509_request
        if (ret !=0) {
                goto fail;
        }
-       ret = hx509_ca_tbs_set_ca(*hctx, tbs, 1);
-       if (ret !=0) {
-               goto fail;
-       }
        ret = hx509_ca_tbs_set_notAfter_lifetime(*hctx, tbs, lifetime);
        if (ret !=0) {
                goto fail;