Inherit from GSSCommand publicly, rather than privately.
[gssweb.git] / json_gssapi / src / commands / GSSWrap.h
index 796450c..f7d9405 100644 (file)
@@ -40,7 +40,7 @@
 #include "GSSCommand.h"
 #include "datamodel/GSSBuffer.h"
 
-typedef OM_uint32 (*gss_wrap_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_wrap_type) (
     OM_uint32 *,        /* minor_status */
     gss_ctx_id_t,       /* context_handle */
     int,                /* conf_req_flag */
@@ -50,7 +50,7 @@ typedef OM_uint32 (*gss_wrap_type) (
     gss_buffer_t);      /* output_message_buffer */
 
 
-class GSSWrap :  GSSCommand
+class GSSWrap : public GSSCommand
 {
 public:
     GSSWrap( gss_wrap_type fn = &gss_wrap ) : function(fn) {};