Ticket #22648: wps_dh5_init.patch

File wps_dh5_init.patch, 328 bytes (added by qgj1230@…, 20 months ago)

sorry for possible wrong git diff format.

  • src/crypto/dh_group5.c

    diff --git a/src/crypto/dh_group5.c b/src/crypto/dh_group5.c
    index 425c848..ccdbfc8
    a b  
    1515 
    1616void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) 
    1717{ 
    18         wpabuf_free(*publ); 
    1918        *publ = dh_init(dh_groups_get(5), priv); 
    2019        if (*publ == NULL) 
    2120                return NULL;