-
- Downloads
security: tighten enum protection_level usage.
While changing Curl_sec_read_msg to accept an enum protection_level instead of an int, I went ahead and fixed the usage of the associated fields. Some code was assuming that prot_clear == 0. Fixed those to use the proper value. Added assertions prior to any code that would set the protection level.
Showing
- lib/ftp.c 2 additions, 0 deletionslib/ftp.c
- lib/krb4.c 2 additions, 1 deletionlib/krb4.c
- lib/krb4.h 1 addition, 1 deletionlib/krb4.h
- lib/pingpong.c 4 additions, 2 deletionslib/pingpong.c
- lib/security.c 14 additions, 7 deletionslib/security.c
- lib/url.c 4 additions, 0 deletionslib/url.c
- lib/urldata.h 3 additions, 1 deletionlib/urldata.h
Please register or sign in to comment