1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

r1353: Fix compile with new ASN1 peek code.

Andrew Bartlett
(This used to be commit 9039a2a1128d8af278cae76c0aa6d5362b3671e4)
This commit is contained in:
Andrew Bartlett 2004-07-06 02:18:24 +00:00 committed by Gerald (Jerry) Carter
parent b359f5d893
commit 674ad23789

@ -276,8 +276,8 @@ ssize_t spnego_read_data(DATA_BLOB data, struct spnego_data *token)
asn1_load(&asn1, data);
uint8_t context;
if (!asn1_peek_uint8(asn1, &context)) {
asn1->has_error = True;
if (!asn1_peek_uint8(&asn1, &context)) {
asn1.has_error = True;
} else {
switch (context) {
case ASN1_APPLICATION(0):