diff options
author | Simo Sorce <simo@redhat.com> | 2013-08-08 20:10:56 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-08-19 11:34:55 -0400 |
commit | 5e1b506d2988ae2a3bc8fcbaa275bc1e5bd8b630 (patch) | |
tree | a4df6ddf9b45bf13524bc3e1d326813fa4ee267e /doc | |
parent | 04230a60436a95fb48bb73f5d70c824989cf0e09 (diff) | |
download | krb5-5e1b506d2988ae2a3bc8fcbaa275bc1e5bd8b630.tar.gz krb5-5e1b506d2988ae2a3bc8fcbaa275bc1e5bd8b630.tar.xz krb5-5e1b506d2988ae2a3bc8fcbaa275bc1e5bd8b630.zip |
Simplify krb5_krcc_start_seq_get
This code can be simplified (and a potential race avoided) by using
keyctl_read_alloc() and letting it allocate the necessary memory.
This also allows to remove a helper function that is not used anymore
as well as make the code more readable. The only penalty is that we
have two allocations instad of one.
[ghudson@mit.edu: trivial simplifications]
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions