diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/ntdomain.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/rpc_parse/parse_prs.c | 18 |
3 files changed, 0 insertions, 21 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 668691fb47..213cb9ff75 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -44,7 +44,6 @@ typedef struct _prs_struct { uint32 grow_size; /* size requested via prs_grow() calls */ char *data_p; /* The buffer itself. */ TALLOC_CTX *mem_ctx; /* When unmarshalling, use this.... */ - const char *sess_key; /* If we have to do encrypt/decrypt on the fly. */ } prs_struct; /* diff --git a/source3/include/proto.h b/source3/include/proto.h index 31a1d45a27..07a6757936 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5100,8 +5100,6 @@ bool prs_align_custom(prs_struct *ps, uint8 boundary); bool prs_align_needed(prs_struct *ps, uint32 needed); char *prs_mem_get(prs_struct *ps, uint32 extra_size); void prs_switch_type(prs_struct *ps, bool io); -void prs_force_dynamic(prs_struct *ps); -void prs_set_session_key(prs_struct *ps, const char sess_key[16]); bool prs_uint8(const char *name, prs_struct *ps, int depth, uint8 *data8); bool prs_uint16(const char *name, prs_struct *ps, int depth, uint16 *data16); bool prs_uint32(const char *name, prs_struct *ps, int depth, uint32 *data32); diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c index 41bfd8ae0f..42e6ce1b7b 100644 --- a/source3/rpc_parse/parse_prs.c +++ b/source3/rpc_parse/parse_prs.c @@ -584,24 +584,6 @@ void prs_switch_type(prs_struct *ps, bool io) } /******************************************************************* - Force a prs_struct to be dynamic even when it's size is 0. - ********************************************************************/ - -void prs_force_dynamic(prs_struct *ps) -{ - ps->is_dynamic=True; -} - -/******************************************************************* - Associate a session key with a parse struct. - ********************************************************************/ - -void prs_set_session_key(prs_struct *ps, const char sess_key[16]) -{ - ps->sess_key = sess_key; -} - -/******************************************************************* Stream a uint8. ********************************************************************/ |