Repository navigation
Commit 79dbd1b
committed
libceph: msg signing callouts don't need con argument
We can use msg->con instead - at the point we sign an outgoing message
or check the signature on the incoming one, msg->con is always set. We
wouldn't know how to sign a message without an associated session (i.e.
msg->con == NULL) and being able to sign a message using an explicitly
provided authorizer is of no use.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>1 parent 8a703a3 commit 79dbd1b
4 files changed
Lines changed: 20 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3942 | 3942 | | |
3943 | 3943 | | |
3944 | 3944 | | |
3945 | | - | |
| 3945 | + | |
3946 | 3946 | | |
3947 | | - | |
| 3947 | + | |
3948 | 3948 | | |
| 3949 | + | |
3949 | 3950 | | |
3950 | 3951 | | |
3951 | 3952 | | |
3952 | | - | |
| 3953 | + | |
3953 | 3954 | | |
3954 | | - | |
| 3955 | + | |
3955 | 3956 | | |
| 3957 | + | |
3956 | 3958 | | |
3957 | 3959 | | |
3958 | 3960 | | |
| |||
3965 | 3967 | | |
3966 | 3968 | | |
3967 | 3969 | | |
3968 | | - | |
3969 | | - | |
| 3970 | + | |
| 3971 | + | |
3970 | 3972 | | |
3971 | 3973 | | |
3972 | 3974 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
1208 | | - | |
| 1208 | + | |
1209 | 1209 | | |
1210 | 1210 | | |
1211 | 1211 | | |
| |||
2422 | 2422 | | |
2423 | 2423 | | |
2424 | 2424 | | |
2425 | | - | |
| 2425 | + | |
2426 | 2426 | | |
2427 | 2427 | | |
2428 | 2428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2979 | 2979 | | |
2980 | 2980 | | |
2981 | 2981 | | |
2982 | | - | |
| 2982 | + | |
2983 | 2983 | | |
2984 | | - | |
| 2984 | + | |
2985 | 2985 | | |
| 2986 | + | |
2986 | 2987 | | |
2987 | 2988 | | |
2988 | 2989 | | |
2989 | | - | |
| 2990 | + | |
2990 | 2991 | | |
2991 | | - | |
| 2992 | + | |
2992 | 2993 | | |
| 2994 | + | |
2993 | 2995 | | |
2994 | 2996 | | |
2995 | 2997 | | |
| |||
3001 | 3003 | | |
3002 | 3004 | | |
3003 | 3005 | | |
3004 | | - | |
3005 | | - | |
| 3006 | + | |
| 3007 | + | |
3006 | 3008 | | |
3007 | 3009 | | |
0 commit comments