"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/scramplus.c" between
gsasl-2.0.1.tar.gz and gsasl-2.2.0.tar.gz

About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).

scramplus.c  (gsasl-2.0.1):scramplus.c  (gsasl-2.2.0)
skipping to change at line 103 skipping to change at line 103
size_t pos = (i & ~0x04 & ~0x08) >> 1; size_t pos = (i & ~0x04 & ~0x08) >> 1;
rc = gsasl_property_set (sctx, prop, str[pos]); rc = gsasl_property_set (sctx, prop, str[pos]);
} }
break; break;
case GSASL_SCRAM_SERVERKEY: case GSASL_SCRAM_SERVERKEY:
case GSASL_SCRAM_STOREDKEY: case GSASL_SCRAM_STOREDKEY:
break; break;
case GSASL_CB_TLS_UNIQUE: case GSASL_CB_TLS_UNIQUE:
rc = gsasl_property_set (sctx, prop, "Zm5vcmQ="); if (i & 0x01)
rc = gsasl_property_set (sctx, prop, "Zm5vcmQ=");
break;
case GSASL_CB_TLS_EXPORTER:
if (!(i & 0x01))
rc = gsasl_property_set (sctx, prop, "Zm5vcmQ=");
break; break;
default: default:
fail ("Unknown callback property %u\n", prop); fail ("Unknown callback property %u\n", prop);
break; break;
} }
return rc; return rc;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)