Lines Matching refs:ret
1787 + int ret;
1858 - int ret;
1987 - ret = xmlSecNssKeyDataX509AdoptKeyCert(x509Data, cert);
1988 - if (ret < 0) {
2018 - ret = xmlSecNssKeyDataX509AdoptCert(x509Data, cert);
2019 + ret = xmlSecKeyInfoCtxInitialize(&keyInfoCtx, NULL);
2020 if (ret < 0) {
2036 - ret = xmlSecKeySetValue(key, data);
2037 - if (ret < 0) {
2052 - ret = xmlSecKeyAdoptData(key, x509Data);
2054 + ret = xmlSecKeyInfoNodeWrite(cur, key, &keyInfoCtx);
2055 if (ret < 0) {
2097 + ret = xmlSaveFormatFile(filename, doc, 1);
2098 + if (ret < 0) {
2241 + int ret;
2679 + int ret;
2720 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2724 + if(ret < 0) {
2737 + s = ret + XMLSEC_NSS_DES3_IV_LENGTH;
2740 + ret = xmlSecNssKWDes3BufferReverse(out, s);
2741 + if(ret < 0) {
2751 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2755 + if(ret < 0) {
2763 + s = ret;
2775 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2779 + if((ret < 0) || (ret < XMLSEC_NSS_DES3_IV_LENGTH)) {
2787 + s = ret;
2790 + ret = xmlSecNssKWDes3BufferReverse(out, s);
2791 + if(ret < 0) {
2801 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2805 + if((ret < 0) || (ret < XMLSEC_NSS_DES3_BLOCK_LENGTH)) {
2813 + s = ret - XMLSEC_NSS_DES3_IV_LENGTH;
3363 ret = -1;
3370 - if (ret != 0) {
3380 return(ret);
3398 + ret = -1;
3408 + ret = -1;
3424 + ret = -1;
3434 ret = 0;
3441 - if (ret == 0) {
3451 + return(ret);
3491 ret = -1;
3821 + int ret;
3905 + ret = xmlSecNssSymKeyDataAdoptKey(data, symKey);
3906 + if(ret < 0) {
3931 + ret = xmlSecKeySetValue(key, data);
3932 + if(ret < 0) {
4028 + int ret;
4081 + ret = xmlSecNssSymKeyDataAdoptKey(data, symKey);
4082 + if(ret < 0) {
4109 + ret = xmlSecKeySetValue(key, data);
4110 + if(ret < 0) {
4189 + int ret;
4622 + int ret ;
4979 - int ret;
5011 - ret = xmlSecNssX509CertificateNodeWrite(cert, node, keyInfoCtx);
5012 - if(ret < 0) {
5028 - ret = xmlSecNssX509SubjectNameNodeWrite(cert, node, keyInfoCtx);
5029 - if(ret < 0) {
5052 - ret = xmlSecNssX509IssuerSerialNodeWrite(cert, node, keyInfoCtx);
5053 - if(ret < 0) {
5075 - ret = xmlSecNssX509SKINodeWrite(cert, node, keyInfoCtx);
5076 - if(ret < 0) {
5110 - ret = xmlSecNssX509CRLNodeWrite(crl, node, keyInfoCtx);
5111 - if(ret < 0) {
5483 int ret;