• Chuck Lever's avatar
    SUNRPC: Add "@len" parameter to gss_unwrap() · 31c9590a
    Chuck Lever authored
    Refactor: This is a pre-requisite to fixing the client-side ralign
    computation in gss_unwrap_resp_priv().
    
    The length value is passed in explicitly rather that as the value
    of buf->len. This will subsequently allow gss_unwrap_kerberos_v1()
    to compute a slack and align value, instead of computing it in
    gss_unwrap_resp_priv().
    
    Fixes: 35e77d21 ("SUNRPC: Add rpc_auth::au_ralign field")
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    31c9590a
gss_krb5_crypto.c 27.1 KB