Files
meta-openembedded/meta-networking/recipes-protocols
Changqing Li 875cc55028 net-snmp: fix compile error with --disable-des
| scapi.c: In function 'sc_encrypt':
| scapi.c:1256:5: error: 'pad_size' undeclared (first use in this function); did you mean 'dysize'?
|      pad_size = pai->pad_size;
|      ^~~~~~~~
|      dysize

pad_size is defined only without --disable-des
[snip]
    int             pad, plast, pad_size = 0;

but used when disable-des
[snip]
        QUITFUN(SNMPERR_GENERR, sc_encrypt_quit);
    }
    pad_size = pai->pad_size;

    memset(my_iv, 0, sizeof(my_iv));

    if (USM_CREATE_USER_PRIV_DES == (pai->type & USM_PRIV_MASK_ALG)) {

        /*

fix by move it into #ifndef NETSNMP_DISABLE_DES

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-26 17:37:33 -08:00
..
2018-04-04 13:32:28 -04:00
2018-09-08 13:32:12 -07:00
2017-09-08 16:38:13 -04:00
2018-04-09 12:32:07 -04:00
2018-04-13 12:43:40 -07:00
2018-10-02 08:48:28 -07:00
2017-03-24 14:10:18 -04:00
2017-09-08 16:38:48 -04:00
2017-09-08 16:38:19 -04:00