Changeset 1016


Ignore:
Timestamp:
Feb 28, 2007 2:35:50 PM (17 years ago)
Author:
bennylp
Message:

Fixed build error for recent STUN modifications on Unix

Location:
pjproject/trunk/pjlib-util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/build/Makefile

    r1002 r1016  
    3737# 
    3838export UTIL_TEST_SRCDIR = ../src/pjlib-util-test 
    39 export UTIL_TEST_OBJS += xml.o encryption.o test.o  
     39export UTIL_TEST_OBJS += xml.o encryption.o stun.o test.o  
    4040export UTIL_TEST_CFLAGS += $(_CFLAGS) 
    4141export UTIL_TEST_LDFLAGS += $(_LDFLAGS) 
  • pjproject/trunk/pjlib-util/src/pjlib-util-test/encryption.c

    r1003 r1016  
    521521        { 
    522522            "MD5  ", 
    523             &pj_md5_init, 
    524             &pj_md5_update, 
    525             &pj_md5_final 
     523            (void (*)(void*))&pj_md5_init, 
     524            (void (*)(void*, const pj_uint8_t*, unsigned))&pj_md5_update, 
     525            (void (*)(void*, void*))&pj_md5_final 
    526526        }, 
    527527        { 
    528528            "SHA1 ", 
    529             &pj_sha1_init, 
    530             &pj_sha1_update, 
    531             &pj_sha1_final 
     529            (void (*)(void*))&pj_sha1_init, 
     530            (void (*)(void*, const pj_uint8_t*, unsigned))&pj_sha1_update, 
     531            (void (*)(void*, void*))&pj_sha1_final 
    532532        }, 
    533533        { 
    534534            "CRC32", 
    535             &pj_crc32_init, 
    536             &crc32_update, 
    537             &crc32_final 
     535            (void (*)(void*))&pj_crc32_init, 
     536            (void (*)(void*, const pj_uint8_t*, unsigned))&crc32_update, 
     537            (void (*)(void*, void*))&crc32_final 
    538538        } 
    539539    }; 
Note: See TracChangeset for help on using the changeset viewer.