diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-09-12 15:41:44 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-09-22 23:34:36 +0200 |
commit | d23c59ecfc3d5a6b922a8d94a70c783d0fc69c05 (patch) | |
tree | 04920a5bf15ac9cac3f5d727015d9e38964aa16f /tests/certs/Server-localhost.nn-sv.pem | |
parent | 1d95a48fe9b8a8ee80c820130291d38df698ade8 (diff) |
security.c: Curl_sec_set_protection_level tweaking
- Removed sec_prot_internal as it is now inlined in the function (this removed
a redundant check).
- Changed the prototype to return an error code.
- Updated the method to use the new ftp_send_command function.
- Added a level_to_char helper method to avoid relying on the compiler's
bound checks. This default to the maximum security we have in case of a
wrong input.
Diffstat (limited to 'tests/certs/Server-localhost.nn-sv.pem')
0 files changed, 0 insertions, 0 deletions