--- secure.c.orig Tue Oct 3 13:45:16 2000 +++ secure.c Tue Oct 3 13:43:49 2000 @@ -212,6 +212,10 @@ void rpc2_ApplyD(RPC2_PacketBuffer *pb, struct CEntry *ce) { + /* XXXXXXXXXXXXXXX this was at the beginning now moved + */ + if (!(ntohl(pb->Header.Flags) & RPC2_ENCRYPTED)) + return; switch((int)ce->SecurityLevel) { case RPC2_HEADERSONLY: @@ -226,9 +230,4 @@ ce->SessionKey, ce->EncryptionType); return; } - - /* XXXXXXXXXXXXXXX this was at the beginning now moved - */ - if (!(ntohl(pb->Header.Flags) & RPC2_ENCRYPTED)) - return; }