diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2008-10-25 05:58:13 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2008-10-25 05:58:13 +0000 |
| commit | 887c33561e4731da0238c14420a277f0609680c9 (patch) | |
| tree | f33e40eaaa881e81ead85f7f726d1a7bfa94ec42 /src/include | |
| parent | 105843a4d3123d2ce0a668e4512efc974720f2d3 (diff) | |
| download | krb5-887c33561e4731da0238c14420a277f0609680c9.tar.gz krb5-887c33561e4731da0238c14420a277f0609680c9.tar.xz krb5-887c33561e4731da0238c14420a277f0609680c9.zip | |
More regression tests for ASN.1 encoders
Export encode_krb5_sam_response_2 and encode_krb5_enc_sam_response_enc_2
via accessor. Add encode tests for encode_krb5_sam_key,
_enc_sam_response_enc, _predicted_sam_response, _sam_response_2,
_enc_sam_response_enc_2.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20922 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index cbc810e77..bd038db50 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1941,6 +1941,11 @@ typedef struct _krb5int_access { krb5_error_code (*encode_krb5_authdata_elt) (const krb5_authdata *rep, krb5_data **code); + /* Exported for testing only! */ + krb5_error_code (*encode_krb5_sam_response_2) + (const krb5_sam_response_2 *rep, krb5_data **code); + krb5_error_code (*encode_krb5_enc_sam_response_enc_2) + (const krb5_enc_sam_response_enc_2 *rep, krb5_data **code); } krb5int_access; #define KRB5INT_ACCESS_VERSION \ |
