func=xmlSecOpenSSLX509StoreVerify:file=..\src\openssl\x509vfy.c:line=351:obj=x50
9-store:subj=unknown:error=71:certificate verification failed:err=20;msg=unable
to get local issuer certificate
func=xmlSecKeysMngrGetKey:file=..\src\keys.c:line=1364:obj=unknown:subj=xmlSecKe
ysMngrFindKey:error=1:xmlsec library function failed: func=xmlSecXkmsServerCtxProcess:file=..\src\xkms.c:line=619:obj=unknown:subj=xml
SecXkmsServerRequestExecute:error=1:xmlsec library function failed:ctx->requestN
ode=LocateRequest
<?xml version="1.0"?>
<LocateResult xmlns="http://www.w3.org/2002/03/xkms#" Id="JIaEp738Rjm_EugPztyW6l
iBJAn9iTJN" Service="http://www.example.com/xkms" RequestId="I4593b8d4b6bd9ae726
2560b5de1016bc" ResultMajor="Sender" ResultMinor="NoMatch"/>
and when I used 1.2.6 version, the server program stopped at /* now read the body */
counter = 5;
while((int)xmlSecBufferGetSize(buffer) < length) {
nread = recv(fd, buf, sizeof(buf), 0);
if(nread < 0) {
fprintf(stderr, "Error %d [%s]: read() failed\n", errno, in_ip);
return(-1);
}
if((nread > 0) && (xmlSecBufferAppend(buffer, buf, nread) < 0)) {
fprintf(stderr, "Error %d [%s]: xmlSecBufferAppend(%d) failed\n", errno, in_ip, nread);
return(-1);
}
if(nread < sizeof(buffer)) {
counter--;
if(counter <= 0) {
break;
}
}
}
after it excute the second if sentence in the first loop, the program stopped.
Please help me, I have no idea about this error and where the problem is. Thanks.
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
