Hi,
got it working, here is quick'n'dirty patch to last version 0.3 from http://www.include.gr/debian/yubiserver/
/home/mak/yubi/yubiserver-0.3# diff yubiserver.c o/yubiserver.c
*********************************************************
71d70
< 241,242d239
<            gcry_control ( GCRYCTL_TERM_SECMEM );
< 249c246
<    char * aesKey = (char *)malloc((size_t)16+1);
---
        char * aesKey = (char *)malloc((size_t)16);
267d263
<                 gcry_control ( GCRYCTL_TERM_SECMEM );
286d281
<                 gcry_control ( GCRYCTL_TERM_SECMEM );
322,323d316
<                 gcry_control ( GCRYCTL_TERM_SECMEM );
< 334,335d326
<         gcry_control ( GCRYCTL_TERM_SECMEM );
< 956c947
<                    private_id = (char *)malloc((size_t)PRIVATE_ID_SIZE+1);
---
                        private_id = (char *)malloc((size_t)PRIVATE_ID_SIZE);
964c955
<                            otp=(char *)malloc((size_t)OTP_TOKEN+1);
---
                                otp=(char *)malloc((size_t)OTP_TOKEN);
1097c1088
< // free(cli);
---
        free(cli);
*********************************************************

unfortunatelly, source code is very dirty, probably never should be used in production:(

[]

Best wishes,
 Maxim


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to