diff options
Diffstat (limited to 'debian/patches/consolekit.patch')
-rw-r--r-- | debian/patches/consolekit.patch | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/debian/patches/consolekit.patch b/debian/patches/consolekit.patch index 0d0a3d9d6..abc6839ba 100644 --- a/debian/patches/consolekit.patch +++ b/debian/patches/consolekit.patch | |||
@@ -553,10 +553,11 @@ Index: b/monitor.c | |||
553 | 553 | ||
554 | for (;;) | 554 | for (;;) |
555 | monitor_read(pmonitor, mon_dispatch, NULL); | 555 | monitor_read(pmonitor, mon_dispatch, NULL); |
556 | @@ -2232,6 +2248,34 @@ | 556 | @@ -2472,3 +2488,31 @@ |
557 | buffer_put_int(m, major); | 557 | } |
558 | buffer_put_string(m, hash.value, hash.length); | ||
559 | 558 | ||
559 | #endif /* JPAKE */ | ||
560 | + | ||
560 | +#ifdef USE_CONSOLEKIT | 561 | +#ifdef USE_CONSOLEKIT |
561 | +int | 562 | +int |
562 | +mm_answer_consolekit_register(int sock, Buffer *m) | 563 | +mm_answer_consolekit_register(int sock, Buffer *m) |
@@ -584,10 +585,6 @@ Index: b/monitor.c | |||
584 | + return (0); | 585 | + return (0); |
585 | +} | 586 | +} |
586 | +#endif /* USE_CONSOLEKIT */ | 587 | +#endif /* USE_CONSOLEKIT */ |
587 | + | ||
588 | mm_request_send(socket, MONITOR_ANS_GSSSIGN, m); | ||
589 | |||
590 | gss_release_buffer(&minor, &hash); | ||
591 | Index: b/monitor.h | 588 | Index: b/monitor.h |
592 | =================================================================== | 589 | =================================================================== |
593 | --- a/monitor.h | 590 | --- a/monitor.h |
@@ -605,10 +602,10 @@ Index: b/monitor_wrap.c | |||
605 | =================================================================== | 602 | =================================================================== |
606 | --- a/monitor_wrap.c | 603 | --- a/monitor_wrap.c |
607 | +++ b/monitor_wrap.c | 604 | +++ b/monitor_wrap.c |
608 | @@ -1311,6 +1311,37 @@ | 605 | @@ -1514,3 +1514,34 @@ |
609 | mm_ssh_gssapi_sign(Gssctxt *ctx, gss_buffer_desc *data, gss_buffer_desc *hash) | 606 | return success; |
610 | { | 607 | } |
611 | Buffer m; | 608 | #endif /* JPAKE */ |
612 | + | 609 | + |
613 | +#ifdef USE_CONSOLEKIT | 610 | +#ifdef USE_CONSOLEKIT |
614 | +char * | 611 | +char * |
@@ -640,9 +637,6 @@ Index: b/monitor_wrap.c | |||
640 | + return (cookie); | 637 | + return (cookie); |
641 | +} | 638 | +} |
642 | +#endif /* USE_CONSOLEKIT */ | 639 | +#endif /* USE_CONSOLEKIT */ |
643 | OM_uint32 major; | ||
644 | u_int len; | ||
645 | |||
646 | Index: b/monitor_wrap.h | 640 | Index: b/monitor_wrap.h |
647 | =================================================================== | 641 | =================================================================== |
648 | --- a/monitor_wrap.h | 642 | --- a/monitor_wrap.h |