I found bugs in your patch.
I debug the bugs, and it works!!
>+        asn1 = (ASN1Obj *)ssl_ds_table_push(mc->tPublicCert, cpVHostID);
>+        asn1->nData  = i2d_X509(pX509Cert, NULL);
>+        asn1->cpData = ap_palloc(mc->pPool, asn1->nData);
>+        ucpp = &asn1->cpData; i2d_X509(pX509Cert, ucpp); /* 2nd arg increments */
+        asn1->cpData -= asn1->nData;

>+        asn1 = (ASN1Obj *)ssl_ds_table_push(mc->tPrivateKey, cpVHostID);
>+        asn1->nData  = i2d_RSAPrivateKey(pRSAKey, NULL);
>+        asn1->cpData = ap_palloc(mc->pPool, asn1->nData);
>+        ucpp = &asn1->cpData; i2d_RSAPrivateKey(pRSAKey, ucpp); /* 2nd arg 
>increments */
+        asn1->cpData -= asn1->nData;

______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to