Inherit from GSSCommand publicly, rather than privately.
authorMark Donnelly <mark@painless-security.com>
Tue, 25 Nov 2014 16:11:37 +0000 (11:11 -0500)
committerMark Donnelly <mark@painless-security.com>
Tue, 25 Nov 2014 16:11:37 +0000 (11:11 -0500)
The code to process commands from the user interface relies on the inheritance from the GSSCommand interface, which doesn't work if that inheritance is private.

json_gssapi/src/commands/GSSUnwrap.h
json_gssapi/src/commands/GSSWrap.h

index 93d09d9..997f403 100644 (file)
@@ -48,7 +48,7 @@ typedef OM_uint32 (KRB5_CALLCONV *gss_unwrap_type) (
     gss_qop_t *);       /* qop_state */
 
 
     gss_qop_t *);       /* qop_state */
 
 
-class GSSUnwrap :  GSSCommand
+class GSSUnwrap : public GSSCommand
 {
 public:
     GSSUnwrap( gss_unwrap_type fn = &gss_unwrap ) : function(fn) {};
 {
 public:
     GSSUnwrap( gss_unwrap_type fn = &gss_unwrap ) : function(fn) {};
index 08894cf..f7d9405 100644 (file)
@@ -50,7 +50,7 @@ typedef OM_uint32 (KRB5_CALLCONV *gss_wrap_type) (
     gss_buffer_t);      /* output_message_buffer */
 
 
     gss_buffer_t);      /* output_message_buffer */
 
 
-class GSSWrap :  GSSCommand
+class GSSWrap : public GSSCommand
 {
 public:
     GSSWrap( gss_wrap_type fn = &gss_wrap ) : function(fn) {};
 {
 public:
     GSSWrap( gss_wrap_type fn = &gss_wrap ) : function(fn) {};