Inherit from GSSCommand publicly, rather than privately.
[gssweb.git] / json_gssapi / src / commands / GSSUnwrap.h
index e9fcf60..997f403 100644 (file)
@@ -39,7 +39,7 @@
 #include "datamodel/GSSBuffer.h"
 #include <gssapi/gssapi.h>
 
-typedef OM_uint32 (*gss_unwrap_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_unwrap_type) (
     OM_uint32 *,        /* minor_status */
     gss_ctx_id_t,       /* context_handle */
     gss_buffer_t,       /* input_message_buffer */
@@ -48,7 +48,7 @@ typedef OM_uint32 (*gss_unwrap_type) (
     gss_qop_t *);       /* qop_state */
 
 
-class GSSUnwrap :  GSSCommand
+class GSSUnwrap : public GSSCommand
 {
 public:
     GSSUnwrap( gss_unwrap_type fn = &gss_unwrap ) : function(fn) {};